Strip Comments = No disables stripping line and block comments from file content in memory before running the regular expression search(es) for the strings to display in function list since UltraEdit for Windows v24.20.0.35, see Function list ignores block comments.
This macro executed on every load of a file results in inserting a space character after every semicolon if the file has the file extension psc and there is neither a slash character left to the semicolon nor a space or slash right to the semicolon. The file extension psc is interpreted case insensitive by UltraEdit.
#SKYRIM CREATION KIT SCRIPTS CODE#
It would be also possible to save into a macro file a macro with following macro code and configure this macro to be automatically executed on every file load: Of course a block comment starting with / also at column 1 of a line results in getting just this line syntax highlighted as line comment and not as beginning of a line comment and everything else up to / because of UltraEdit does not evaluate / after line comment starting string to find out that this is not a line comment (but a block comment). The definition above adds a second line comment definition for interpreting just as line comment starting string only in first column in a line. UltraEdit supports nearly all languages ever invented by someone, but not all languages and some not in all aspects. There is absolutely no possibility to force UltraEdit to evaluate the first character after a comment starting string to determine if that string really starts a comment and which type of comment as it would be required for LUA and Papyrus (and one more language on remembering correct from more than 650 supported languages). Code: Select all /L20"Papyrus" Nocase Line Comment Num = 2 Line Comment Preceding Chars = Line Comment Alt = Line Comment Valid Columns Alt = Block Comment On = / Block Comment Off = / File Extensions = PSC