Community
    • Login

    Python 3 and Python scripts plugin

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    24 Posts 7 Posters 22.7k Views 4 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors