UltraEdit 13.20+2, Windows XP Pro SP2
I have added a language definition to wordfile.txt (for PowerShell) with these lines:
Code folding is enabled for #Region/#Endregion lines and for functions. What I want is for code folding to only be enabled for the comment line strings (#Region/#Endregion) and not for functions. But if I remove the /Open Fold Strings and /Close Fold Strings lines, then the other type of folding fails to work.
Is this a bug or is there a workaround for this?
Thanks,
Chuck
I have added a language definition to wordfile.txt (for PowerShell) with these lines:
Code: Select all
/L14"PowerShell" Nocase DisableMLS Line Comment = # String Chars = "' Escape Character = ` File Extensions = PS1
/Delimiters = :;(){}[] ,#
/Indent Strings = "{" "if" "else" ":"
/Unindent Strings = "}"
/Open Brace Strings = "{"
/Close Brace Strings = "}"
/Open Fold Strings = "{"
/Close Fold Strings = "}"
/Open Comment Fold Strings = "Region"
/Close Comment Fold Strings = "Endregion"
Is this a bug or is there a workaround for this?
Thanks,
Chuck