PDA

View Full Version : Notepad++ Class Reference Tag



SailorLovins
April 28th, 2018, 10:51
I know that different rulesets have different tags to some degree. When I come across the <class> </class> tag what is the list of tags (if I am saying that correctly) that can go in between? For example reference_manualtextwide or reference_class.

Trenloe
April 28th, 2018, 11:09
reference_manualtextwide and reference_class are window classes. See the info on <windowclass> here: https://www.fantasygrounds.com/refdoc/windowclass.xcp

If you want to find out how each of those window classes is defined, do a "find in file" within the ruleset you're interested in (the definition may be in that ruleset or in CoreRPG - which most rulesets are layered on top of).

More info on window classes here: https://www.fantasygrounds.com/wiki/index.php/Developer_Guide_-_Rulesets_-_Interface

Talyn
April 28th, 2018, 15:00
Because I still find it incredibly difficult to tell which definition is the actual window class, and which ones are the parts of that class, rather than poking through the ruleset files I usually just create a Note for myself and fill it with links to every window type in any given ruleset so that I can go look at the note markup and get the names of each window class for that ruleset as well as the official datapaths so I can replicate that in my project.