Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Is it really possible to add new keywords into QScintilla lexer?
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved 3rd Party Software
6 Posts 4 Posters 3.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mady
    wrote on last edited by
    #1

    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
    @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.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

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

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mady
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

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

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dridk
            wrote on last edited by
            #5

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

            Nothing in Biology Makes Sense Except in the Light of Evolution

            1 Reply Last reply
            0
            • D Offline
              D Offline
              doubitchou
              wrote on last edited by
              #6

              This subject is still requiring an answer please.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved