Community
    • Login

    Python 3 and Python scripts plugin

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    24 Posts 7 Posters 18.7k 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.
    • Bill WinderB
      Bill Winder @Vitaliy Dovgan
      last edited by

      @Vitaliy-Dovgan Thanks! Good work around. There must be somewhere direct access to an unsaved tab, because I can close npp with an unsaved tab and when I reopen, it is there. So the unsaved tab is actually saved somewhere. Curious!

      Scott SumnerS 1 Reply Last reply Reply Quote 0
      • Scott SumnerS
        Scott Sumner @Bill Winder
        last edited by

        @Bill-Winder said:

        So the unsaved tab is actually saved somewhere.

        Yes, saved under a “Backup” folder by default. I just made 5 “new files” and they were created in this folder with the following names:

        new 1@2018-02-19_155611
        new 2@2018-02-19_155613
        new 3@2018-02-19_155613
        new 4@2018-02-19_155615
        new 5@2018-02-19_155618
        
        Bill WinderB 1 Reply Last reply Reply Quote 0
        • Bill WinderB
          Bill Winder @guy038
          last edited by

          @guy038 Very cool! I just chose fonts at random until things looked right. Useful description, which will serve elsewhere also – same issue in Jedit. (Though I use Jedit less and less - npp has everything I need and is very fast.)

          1 Reply Last reply Reply Quote 0
          • Bill WinderB
            Bill Winder @Scott Sumner
            last edited by

            @Scott-Sumner and they are numbered! Perfect. Which essentially solves my problem.

            I hope! There is one further step. I will have to capture the name of the active tab and give it to NPPEXec.

            But that should be possible through the sci_sendmessage function (will look into that), since this is possible:

            sci_sendmsg SCI_GETSELECTIONSTART
            set local selStart = $(MSG_RESULT)

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