Community
    • Login

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

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 22 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.
    • Maik CM
      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
        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.

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