Neil Hodgson wrote:
Craig Carey:
Also considerations on what happens to programs using syntax parsing
ought be subsequent and secondary.
Most of your points seem based on a complete misunderstanding of the
purpose of Scintilla. Scintilla is an editing component that does
automatic syntax styling. It is possible to use it in other ways but it
is then the responsibility of the user to provide more functionality.
That presumption that restyling can be forced, can be false (the
Lex*.cxx files can be removed and before the compile with Microsoft
Visual C, "LexGen.py" can be double clicked on).
SciLexer.dll includes the lexers but Scintilla.dll contains no
lexers. When there are no lexers built into Scintilla, the container
receives SCN_STYLENEEDED notifications so it can perform styling.
Although I don't fully understand all your points it appears that all
the examples that you refer to as bugs are actually intended behaviour.
I agree with Neil; I read Craig's posting half a dozen times and
it still doesn't make much sense to me. Syntax highlighting is
refreshed as needed when content changes. Having a user style
buffer to override the syntax highlighter is madness. After so
many people have used Scintilla in their apps, surely Scintilla is
behaving the way most people would expect it to behave...
--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest