Posted 20 years ago
by Jeff Key
I'm using the SyntaxEditor as a textbox in several forms in a MMC-like app. All of the instances use the same syntax, so I'd like to create the SyntaxLanguage once at startup and reuse it. Nothing in the docs state that this isn't possible, so I'd just like to confirm that there aren't any gotchas. (I'm not sure if the SyntaxLanguage maintains any state that may make this undesirable.)
Similarly: Can two instances of an editor share the same SyntaxLanguage? Some of the forms pop up an additional form with a SyntaxEditor and I'd like to reuse it as well.
Thanks!
Similarly: Can two instances of an editor share the same SyntaxLanguage? Some of the forms pop up an additional form with a SyntaxEditor and I'd like to reuse it as well.
Thanks!