Neil, Thanks for the reply.
> Properties used by a particular lexer/folder should begin > with lexer. or fold. so this should be fold.tex.cascaded. > Running the scintilla/src/LexGen.py script will then update the list > of properties sent from SciTE to Scintilla. I've found the solution: adding the relavent information in SciTEProps.cxx *propertiesToForward did the job. But running LexGen.py is far better a solution. Thanks. Changed the property to fold.tex.cascaded. > Keywords are not designed to carry arbitrary extra information. > Create a new setting, say fold.tex.levels that contains the level > information for particular header types. Something like > fold.tex.levels=chapter:1 section:2 para:3 Yes this is the structure I am having in mind. But then how would Scintilla read this setting? Searching in the whole Scintilla source tree I got only "styler.GerPropertyInt", and I don't know how would Scintilla get non-integer properties from the property files. That's why I resorted to WordList *keywordlists: there are plenty of examples using *keywordlists in existing Lexer files. > BTW, I never understood the Dutch, English, German, Czech, Italian, > and Romanian lists: that is only a subset of the world's languages so > it would be better with a way to set a couple of sets of keywords and > for the users to worry about which languages these map to. I suppose those languages are the first few supported languages by ConTeXt. I don't use ConTeXt myself and don't undersdand the use of them either. Maybe someone in this list who use ConTeXt can make some explanations on that? instanton _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
