Hi Neil,
I understand from your answer, that if I want to implement a DLL lexer in C++, the most straight forward way is to use the Scintilla helper classes. If I do so I need to link some Scintilla objects (WindowAccessor.obj PropSet.obj PlatWin.obj XPM.obj UniConversion.obj) in the DLL. > The intention was to not require any direct linkage to Scintilla, > hence isolating external lexers from changes in internal classes. Each > of the 4 functions receives flattened 'C' compatible arguments rather > than pointers to classes. You may use Scintilla classes in your > implementation but it should also be possible to implement a lexer in > C or Delphi. Now I understand the interface better. Cheers, Jörg PS The lexer that I've implemented is quite specialized and also trivial, so that other people probably couldn't make use of it. It simply highlights all characters in a predefined "alphabet". This is useful in CrypTool, because the cassical crypto algorithms typically operated on limited set of chars, e.g. Caesar by default on A-Z. _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
