Technical Support Forums

Technical Support Forums » Araneae

BUG REPORT: Syntax Highlighter (2 posts)


About this Topic

Tags

  1. veloz
    Member
    Posted 4 years ago

    I found a bug while working on my custom syntax highlighter:

    After making changes to stylevariables, especially color and/or bold options, the changes will not appear until you go into Options>Syntax Highlighters, select the variable that changed, and click the Default Style button.

    It's minor, but kind of annoying when working on a new syntax highlighter. I definitely love the fact that the user can override the settings so easily, it just makes editing and viewing the changes quickly a little clumsy for me...

    My suggestion is either add an option to "Disable User Styles" in the Options dialog, or have a keyword or xml entity settable in the highlighter document that disables the user override feature. For example:

    < allowuserstyles=false />
  2. Mark
    Administrator
    Posted 4 years ago

    Yeah, I understand that the user settings can be annoying for developers who are working on a highlighter. If you're comfortable in the registry, you can delete your overridden settings; Araneae shouldn't write them back unless you go into the options screen again.

    Although I don't really want extensions to disallow user settings, I guess there can be some kind of "debug" mode that could specify these sort of options... I'll look into it.


Reply

(required)