February 21, 2012

mady mady
Lab Rat
61 posts

Is it really possible to add new keywords into QScintilla lexer?

 

I am wondering if we can add new keywords(custom keywords) into QScintilla lexer. I know there are different lexer types available in QScintilla but my file contains cpp and some assembly codes. So I wanted to add some keywords in existing cpp lexer. It is mentioned that by making subclass of lexer class we should be able to add keywords using below function

  1. const char* mySubLexClass::keywords(int set)  

But somehow I am not able to successfully add my keywords into already specified ones.
Could you please guide me to achieve this? Any hint or suggestion will be highly appreciable.

5 replies

February 21, 2012

Volker Volker
Ant Farmer
5428 posts

Did you try to ask at the QScintilla support channels already?

February 22, 2012

mady mady
Lab Rat
61 posts

No because I don’t know how to reach them. Could you please let me know how to do that?
I looked for QScintilla forums but did not find any active forum. So thought of asking here.

February 22, 2012

Volker Volker
Ant Farmer
5428 posts

The QScintilla mailing list at http://www.riverbankcomputing.com/pipermail/qscintilla/ would be a good starting point.

June 17, 2012

dridk dridk
Lab Rat
49 posts

Did you success ? If yes, could you give me the solution !

 Signature 

Nothing in Biology Makes Sense Except in the Light of Evolution

March 14, 2013

doubitchou doubitchou
Lab Rat
30 posts

This subject is still requiring an answer please.

 
  ‹‹ Another OpenCV 2.3.1 Integration Thread....      How to use QuaZIP for zipping a file ››

You must log in to post a reply. Not a member yet? Register here!