Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How and where to find Qt syntax highlights and Advanced Editor options
Forum Updated to NodeBB v4.3 + New Features

How and where to find Qt syntax highlights and Advanced Editor options

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 4 Posters 1.1k Views 3 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.
  • mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi
    Have a look at this example
    https://doc.qt.io/qt-5/qtwidgets-richtext-syntaxhighlighter-example.html#
    it is using https://doc.qt.io/qt-5/qsyntaxhighlighter.html
    You can add in a
    https://doc.qt.io/qt-5/qcompleter.html
    fo9r some completion.

    U 1 Reply Last reply
    2
    • mrjjM mrjj

      Hi
      Have a look at this example
      https://doc.qt.io/qt-5/qtwidgets-richtext-syntaxhighlighter-example.html#
      it is using https://doc.qt.io/qt-5/qsyntaxhighlighter.html
      You can add in a
      https://doc.qt.io/qt-5/qcompleter.html
      fo9r some completion.

      U Offline
      U Offline
      umen242
      wrote on last edited by
      #3

      @mrjj
      Thanks !
      Do you know any advance open source text editor which are open source ?
      except Qt creator

      mrjjM jsulmJ 2 Replies Last reply
      0
      • U umen242

        @mrjj
        Thanks !
        Do you know any advance open source text editor which are open source ?
        except Qt creator

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #4

        @umen242
        Hi
        What would make it advanced?
        There is notepad++
        Its a super nice editor with tons of plugins.

        U 1 Reply Last reply
        2
        • U umen242

          @mrjj
          Thanks !
          Do you know any advance open source text editor which are open source ?
          except Qt creator

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #5

          @umen242 Take a look at https://www.scintilla.org/ and https://www.scintilla.org/SciTE.html

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2
          • U Offline
            U Offline
            umen242
            wrote on last edited by
            #6

            what about this ?
            https://riverbankcomputing.com/software/qscintilla/intro

            1 Reply Last reply
            0
            • mrjjM mrjj

              @umen242
              Hi
              What would make it advanced?
              There is notepad++
              Its a super nice editor with tons of plugins.

              U Offline
              U Offline
              umen242
              wrote on last edited by
              #7

              @mrjj
              i need build in my app

              mrjjM 1 Reply Last reply
              0
              • U umen242

                @mrjj
                i need build in my app

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @umen242
                HI
                Yes i understood that.
                Notepad++ IS open source
                https://github.com/notepad-plus-plus/notepad-plus-plus
                and also using scintilla

                QScintilla is fine but do note that
                "QScintilla is available under the GNU GPL v3 and under a commercial license."

                U 1 Reply Last reply
                2
                • mrjjM mrjj

                  @umen242
                  HI
                  Yes i understood that.
                  Notepad++ IS open source
                  https://github.com/notepad-plus-plus/notepad-plus-plus
                  and also using scintilla

                  QScintilla is fine but do note that
                  "QScintilla is available under the GNU GPL v3 and under a commercial license."

                  U Offline
                  U Offline
                  umen242
                  wrote on last edited by
                  #9

                  @mrjj
                  Thanks for notice the license ... not good for me .
                  Is there any other Qt scintilla wrapper ?

                  Gojir4G 1 Reply Last reply
                  0
                  • U umen242

                    @mrjj
                    Thanks for notice the license ... not good for me .
                    Is there any other Qt scintilla wrapper ?

                    Gojir4G Offline
                    Gojir4G Offline
                    Gojir4
                    wrote on last edited by
                    #10

                    @umen242 Hi,

                    You may be interested by KTextEditor:
                    https://api.kde.org/frameworks/ktexteditor/html/

                    1 Reply Last reply
                    3
                    • U Offline
                      U Offline
                      umen242
                      wrote on last edited by
                      #11

                      what about performance if i use the Qt build in text features ?
                      i downloaded some open source editors which using Scintilla
                      and the performance are slow but then again maybe they have been programed wrong .
                      example :
                      https://github.com/martinrotter/textosaurus/releases

                      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