Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • H

      Notes repeated, repeated...

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      86 Views
      PeterJonesP
      Notepad++ should update the session when you close the file inside Notepad++, so that when Notepad++ exits, it should remember to not have the file in the session the next time. I’ve never personally seen that fail, in 15+ years of using Notepad++. If Notepad++ is in multi-instance mode, the instance that saves the session might not be the one you think. I see you have it default to mono-instance mode, based on your Debug Info. But do you ever use the “move to new instance” or “clone to new instance” commands, to have multiple Notepad++ windows open at once? If you do, then only one of them gets to save the session, so files you close in a second instance would not be removed from the session. If you only ever have one Notepad++ window open, then that’s not the culprit. My other guess is somehow you have a permissions issue on session.xml. As an experiment: Exit all open Notepad++ windows. Look at %AppData%\Notepad++\session.xml properties (Right Click in Explorer, then Properties), and look at the last-modified time, as well as the Security tab’s permissions section for your user (or for USERS in general, if your user isn’t listed in the choice box): make note of the last-modified time , and make sure “read only” is not checkmarked. [image: 1795190652610-effba03f-4f20-4de5-a4bb-ccc550f75edb-image.jpeg] Make sure your user has write-permission to the file [image: 1795190669034-3702b1ed-44d7-46d6-b6fe-b92ba7655ecb-image.jpeg] Run Notepad++ Close one of the tabs in Notepad++, so it should remove it from the session. Exit Notepad++ Look at %AppData%\Notepad++\session.xml properties again, and see if the last-modified time has updated. If it’s not been updated, then Notepad++ is, for some reason, not writing to the session file. Run Notepad++ again, and see whether the closed file is still closed, or whether Notepad++ re-opened it. If that works, then the system as a whole should be working, so maybe it will work from now on. If it doesn’t work, then tell us where in the process it diverged from expected behavior (screenshots of the properties, similar to mine, would be nice)
    • O

      Search and replace window: tab (to navigate) doesn't work as it used to

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      1
      0 Votes
      2 Posts
      70 Views
      PeterJonesP
      @Olli-B. said: When using the S+R popup, nowadays the second navigation item when using Tab (as we all do, I think), is the checkbox - at least for me it seems new Lots of people have already complained about this, including multiple in the 8.9.9.1 announcement, here, here, and here; as well as two issues, #18639 and #18662 . The code has been updated, so the order will be changed in the next version, so that one TAB from FIND is REPLACE, as it used to be.
    • R

      [Fork] MarkdownViewer++ (WebView2)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      1
      0 Votes
      1 Posts
      50 Views
      No one has replied
    • F

      [New Plugin] XML Tree – FOXE-style XML tree panel

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      2 Votes
      4 Posts
      192 Views
      Mark OlsonM
      @falconefasto Haven’t had a chance to play around with it yet, but I’m the maintainer for JsonTools so I’ve spent a lot of time thinking about and dealing with the various pitfalls that can occur with a tree view of the sort you’re describing. Some thoughts: Does the treenode position work properly when the document contains multi-byte characters? JsonTools parses the document as a UTF-16 string but Notepad++ buffer positions generally assume the document is UTF-8 encoded, so the parser has to take this into account when assigning positions to JSON nodes. Lazy loading is a great idea, but how do you handle a treenode with a lot of direct children? In JsonTools I have a configurable setting for how many direct children a tree node can have, which I arbitrarily defaulted to 10,000. Otherwise the tree can cause NPP to hang even with lazy loading. A context menu that appears when you right-click a tree node seems like a good idea. Off the top of my head, maybe have the options be: select the start tag snap to end tag select the inner XML copy attributes to clipboard recursively expand/collapse all subtrees I can’t give any advice on implementation, since I’ve written all my plugins in C#.
    • donhoD

      You've a lot of reasons to hate Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      93
      5 Votes
      93 Posts
      196k Views
      M
      How would you like a shortcut definition UI to be designed then?