Matt/Steve,
Thank you to both of you for directing me to the Sciboo project for the ScintillaNET.dll and SciLexer.dll.
I've got both of the DLLs added as references in a C# project in SharpDevelop and have added an instance of the editor to a form and am trying to figure out what I need to do at this point to switch to a language mode (specifically SQL in my case). The .Lexer property (which I assume controls the active language) is an int and I'm unsure what value to use for SQL and/or what other resources I need for SQL support ( e.g. *.properties files a la SciTE?)
I looked at the code in CVS that Garret had referenced in a request for documentation that a Willy from Belgium had made ( http://comments.gmane.org/gmane.comp.lib.scintilla.devel/2921) but was unable to find anything that I could make sense of related to switching languages. Matt had also posted a response referencing the original Scintilla C source header SciLexer.h. a look at this revealed the line:
#define SCLEX_SQL 7
In my C# I did a (scite is my ScintillaNET editor object)….
Scite.Lexer = 7;
This didn't seem to have any effect on the editor (in terms of highlighting, coloring) which leads me to believe that there's more I need to be doing.
Any help in this would be greatly appreciated.
Don Smith
Database Engineer
(608)831-7880 x225
CPM Marketing Group Inc.
6720 Frank Lloyd Wright Ave. Ste. 200
Middleton, WI 53562
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest
_______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
