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
    • CoisesC

      Search++: A work in progress

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      193
      7 Votes
      193 Posts
      59k Views
      CoisesC
      @guy038 said: OR the options : Clear all marks, then mark all text and EOLs of the bookmarked lines Clear all marks, then mark all text of the bookmarked lines, excluding EOLs From my suggested Synchronize marks and bookmarks sub-menu ! Previously you suggested: So, most of the time, taking the line-breaks in account is not necessary ! However, adding the line-breaks characters is useful as it also includes the true empty lines ! Thus, this would simplify the Synchronize marks and bookmarks sub-menu to the following one : Bookmark only lines containing marked text Clear all bookmarks, then bookmark only lines containing marked text Bookmark visible lines Mark all text and EOLs of the bookmarked lines Clear all marks, then mark all text and EOLs of the bookmarked lines But then, just a moment ago, you wrote: Personally, after an Invert bookmarks action, I would expect a Mark only text in bookmarked lines action OR a Mark only text in bookmarked lines, excluding line endings action,as I explained in my last post ! so it sounds like you have changed your mind (unless I misunderstood your first suggestion) and believe users do need the ability to control whether line endings are included. The ideas at the front of my mind now are: Make Invert marked text a single command (no Invert sub-menu) which does only and exactly that one thing: mark every unmarked character and unmark every marked character. No bookmark changes, and no special treatment for line ending characters. Eliminate the “Bookmark first line of marked text” options. If you’re manipulating bookmarks based on marked text, trying to keep track of what is the “first line” is probably useless, confusing or both. (I still might remove that whole section of the Configure bookmarks dialog, too.) For the Synchronize commands which Bookmark lines containing marked text, apply these rules: Lines containing only a line ending (empty lines) are bookmarked if the line ending is marked. Lines containing characters other than the line ending character(s) are bookmarked if any character other than the line ending character(s) is marked; the line ending is ignored. That third point is clumsy to explain (and certainly won’t fit in a menu item), but I think it makes synchronizing bookmarks to marks behave sensibly without introducing variants in either Invert marked text or [Clear bookmarks and] Bookmark lines containing marked text. I’m curious if you can think of situations where that would not behave as a user would expect. So, back to the situation where it’s the bookmarks that are primary, and you want update marks to follow bookmarks. I gather you do think it’s important to give the user control of whether line endings are included or not. Do you have specific cases or workflows in mind where each of these is useful? (I know, I’m the one that included the distinction in the first place, and now I’m trying to get rid of it if I can.) And/or perhaps there should be a separate option to expand marks to full lines (that is, if there is any marked text on a line, mark the entire line), with a choice to include or exclude line endings. There is also the possibility of turning Synchronize into a dialog instead of a sub-menu. That would allow for more options that could work separately or together without a huge menu of hard-to-read items, at the expense of slowing users’ workflow a bit more than a sub-menu. I’m still undecided; all observations and ideas are welcome.
    • Z

      XML Tools plugin is not maintained

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      60 Views
      PeterJonesP
      @zdenko-s , I see pending pull request from 2022. Yep. It appears the owner @morbac hasn’t touched that repo since 2022. But the @epilogic-ch group at GitHub, which seems to be affiliated with @morbac, has made a couple of commits about a year ago, so it’s not completely abandoned. If repo is not maintained someone should take over maintenance. “take over maintenance” is not something that should be arbitrarily done. The code is GPL-3, which means anyone can use the code as long as giving credit to @morbac. But names of software projects are technically not part of the GPL-3. Names can be trademarked – registered or just effectively – and you cannot use the name without specific permission. (If you can show years of consistent use of a name as a “trademark”, even without using ™, then you can get and protect the “effective” trademark [IANAL, and I don’t know the legal term for a non-registered trademark]; XMLTools probably has enough history that the name is effectively trademarked to @morbac, but your interpretation and mileage may vary.) So, if you reach out and get permission from the current owner, you can definitely take over the code and name. (That’s been done with some plugins – sometimes, they even just give you commit-permission in the original repo, like was done for PythonScript). If they don’t respond or give permission, then another option is to fork the project, give it a new name, and publish it starting from the same codebase but under the new name (making sure to give proper attribution of where it was forked from). That’s happened, with a lot of the Markdown plugins in Notepad++. If you think you have the skills and the willingness to support the plugin under a new name, then great, go ahead and do that. But to just fork a repo, and then take over publishing under the original name is on legal/moral/ethical shaky ground, and I wouldn’t recommend it.
    • donhoD

      Notepad++ release 8.9.8.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      19
      3 Votes
      19 Posts
      2k Views
      donhoD
      @rdipardo said: As a scoop user myself, I can confirm that it will configure Notepad++ for portable usage by default.¹ Thank you for the confirmation. Are you saying that scoop changed their way to install Notepad++ due to the Regression of failure to open files via Notepad++ symlink paths in v8.9.8?