Community
    • Login

    How to get all lines of the current document

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    5 Posts 3 Posters 348 Views
    Loading More Posts
    • 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.
    • Zhixun QuZ
      Zhixun Qu
      last edited by

      Check all message handles, there is no such handle。How to get all lines of the current document?

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Zhixun Qu
        last edited by

        @Zhixun-Qu

        see herefor more information. You must iterate over the lines yourself.

        Zhixun QuZ 1 Reply Last reply Reply Quote 2
        • Alan KilbornA
          Alan Kilborn
          last edited by

          get all lines

          And perhaps very specifically: https://www.scintilla.org/ScintillaDoc.html#SCI_GETTEXT
          And then break apart the individual lines from the complete text…

          Zhixun QuZ 1 Reply Last reply Reply Quote 2
          • Zhixun QuZ
            Zhixun Qu @Ekopalypse
            last edited by

            @Ekopalypse Thanks.

            1 Reply Last reply Reply Quote 0
            • Zhixun QuZ
              Zhixun Qu @Alan Kilborn
              last edited by

              @Alan-Kilborn Thanks.solved。

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors