Community
    • Login

    Moving a tab to another monitor doesn't work corectly.

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 292 Views 2 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.
    • Maik CM Offline
      Maik C
      last edited by

      If you open a new tab and try to move it from the main window to a second monitor, it doesn’t work.

      However, you can move tabs containing open files to a second monitor.

      That doesn’t really make much sense to me.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Maik C
        last edited by PeterJones

        @Maik-C ,

        When you pull a tab out of the current instance/window and create a new instance/window, Notepad++ actually closes the file’s buffer from the first instance, then launches a new instance of the executable, telling the new instance to open that file from disk. For a new 1 tab, there is no underlying file for Notepad++ to re-open, so it cannot do that. (The same is true if there are unsaved changes, because Notepad++ would close the file, lose the changes, then reopen the older version of the file; it disables that action to avoid people accidentally losing data.)

        If what you’re trying to accomplish is “create a new file in a new instance” anyway, you could create a Run menu entry that does that: Run > Run…: "$(NPP_FULL_FILE_PATH)" -multiInst -nosession – you can save this as New N++ Instance or similar name, and even assign a keyboard shortcut to the action, if you desire.

        Maik CM 1 Reply Last reply Reply Quote 1
        • Maik CM Offline
          Maik C @PeterJones
          last edited by

          @PeterJones Thanks for the explanation, that makes now sense to me.

          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