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
      198
      7 Votes
      198 Posts
      60k Views
      guy038G
      Hi, @coises, I’ve just tested your new v.0.7.1 release ! Let’s suppose that we marked the occurrences of the word test in the text below, that you’ll paste in a new tab : bla blah This is the test to do bla blah test bla blah And that we checked the Bookmark lines when marking text (Shift: configure option, in the Tools menu => The line 4 and 7 are bookmarked and the two occurrences of the word test are marked In an old post, I said that, in order to get the complementary regex, we had to use the ^((?!test).)*$ regex as below : [image: 1791107802156-47217b17-e9ac-499b-9779-b14417deb58c-image.jpeg] Luckily, there’s no need to find out this complementary regex, anymore : First, mark all the occurrences of the word test. [image: 1791107259932-d77b5da7-0dfe-4d8f-a5a4-d8650672eb92-image.jpeg] Right-click within the bookmark margin of N++ and choose the Inverse bookmarks option. [image: 1791107420417-022b778b-1455-4dd8-85be-3938d80c0dcf-image.jpeg] Then, go to the Synchronize marks and bookmarks option of the Tools menu and choose the Mark all text in bookmarked lines and clear other marks option => You should get this snapshot : [image: 1791107447162-b7c6ec3a-3e72-4e1a-b229-52ee2bc7a638-image.jpeg] Which correctly bookmarked all the lines not containing the word test and then marked all contents of the bookmarked lines, including the EOLs, as well ! I tested, both : The Bookmark lines with marked text, and clear other bookmarks option VS the Add bookmarks to lines with marked text option The Mark all text in bookmarked lines, and clear other marks option VS the Add marks to all text in bookmarked lines option And, if I understand you correctly, you mean that the Synchronize marks and bookmarks sub-menu, in your future release, will look as below : Bookmark lines with marked text, and clear other bookmarks Bookmark visible lines, and clear other bookmarks Mark all text in bookmarked lines, and clear other marks Add bookmarks to lines with marked text Add bookmarks to visible lines Add marks to all text in bookmarked lines Yes, that’s totally coherent : The first three items do a clear operation whereas the last three items simply add bookmarks / marks to the existing layout ! Best Regards guy038 P.S. : Just a random question about regex. In the sample of text above : If I try to mark the \z regex with your plugin, I do get the bookmarkred line 10, which is the final empty line of the text If I mark all the occurrences of the (?-s)^((?!test).)*\R regex => All lines, but lines 4, 7, 10, are bookmarked and text with EOLs, in lines 1, 2, 3, 5, 6, 8, 9 is marked However, marking all occurrences of the ^(?-s)((?!test).)*\R|\z regex do not bookmark the final line 10, nor the (?-s)^((?!test).)*$\R? regex and nor the (?-s)^((?!test).)*(\R|\z) regex ! Not important, though. Do you have an explanation ?
    • donhoD

      Notepad++ release 8.9.8.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      21
      4 Votes
      21 Posts
      3k Views
      donhoD
      FYI: the auto-update is triggered for this release.
    • deleeleeD

      Strange behaviour with find all in current document results

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      1
      0 Votes
      4 Posts
      318 Views
      deleeleeD
      @Alan-Kilborn said: @deleelee 9 is single digit and 12/14/22 are each two digits. Thank you, that’s exactly what it was.
    • P

      Search and Replace for CNC Help Needed

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      1 Votes
      4 Posts
      130 Views
      PeterJonesP
      @Paul-Adamczyk said: Still much to learn. Useful References: Notepad++ Online User Manual: Searching/Regex FAQ: Where to find other regular expressions (regex) documentation
    • Z

      XML Tools plugin is not maintained

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      0 Votes
      3 Posts
      199 Views
      Lycan ThropeL
      @PeterJones said: [IANAL, and I don’t know the legal term for a non-registered trademark] An unregistered trademark, sometimes informally called a common law trademark, is an enforceable mark created by a business or individual to signify or distinguish a product or service. –For future reference. The stronger case needs to be made as you mention to differentiate what could be called a trademark name versus a generically descriptive name. Such as the difference between Borax as a chemical and Borax as a trademarked product name. I am not a lawyer [IANAL], either, but I have done legal research from time to time, on these types of subjects as well, in the past.
    • Michel ChasseyM

      email address not recognized

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      1 Votes
      3 Posts
      123 Views
      Michel ChasseyM
      @PeterJones Thank you now as for my other questions …
    • rdipardoR

      LLM contribution policy for Notepad++?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      1 Votes
      2 Posts
      268 Views
      PeterJonesP
      @rdipardo , I got a statement of sorts in regard to this request, specifically, this comment: Using AI to create a PR for an open source project - is it a good thing or a bad thing? I have no judgement on that. For me, the only criterion that matters is whether the merged code will be maintainable in the future. On this point, I have to say that AI-generated PRs (I can usually tell during code review), often do not meet the critera in their current state - but many human devs don’t either.
    • Carlos SánchezC

      [New plugin] Smart Math

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      10
      1 Votes
      10 Posts
      1k Views
      Vitalii DovganV
      Here are the latest binaries of SmartMath. This is a fully-working unofficial build that is going to be added to the official git repository… unless more improvements are suggested :) What’s new: the archive structure corresponds to the expectations of the Plugins Admin; the plugin searches for its documentation file near the SmartMath.dll, as well as in the “plugins\doc” folder; the plugin shows a warning when it does not find its syntax files in the expected locations under the “userDefineLangs” and “autoCompletion” folders of Notepad++. 64-bit version: https://drive.google.com/file/d/1pTS_cBdU_Q0vkG03cubqWZ9TDdYiSsXW/view?usp=drive_link 32-bit version: https://drive.google.com/file/d/1qsI5Hsx4XmyRlhVeGsplAoTX391WEnOv/view?usp=drive_link
    • T

      Confirmation or disable the Find All in All Opened Documents

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      445 Views
      T
      Feature request created: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/18429 Put the several possibilities given my lack of knowing how the backend works and the feedback I’d gotten on this thread of possible feasibilities. I do stuff on both a Work computer using IT’s selected version of Notepad++ as well as home use, so even if I could get AutoIt working on my personal computer, I probably can’t get it running on my Work computer (permissions) I’ll try to train myself to alt+d
    • donhoD

      Notepad++ release 8.9.8

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      26
      6 Votes
      26 Posts
      8k Views
      R
      @PeterJones Oh!! Understood!! thank you!!!
    • Vitalii DovganV

      XBrackets Lite v2.0 has been released!

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      3 Votes
      5 Posts
      3k Views
      Vitalii DovganV
      XBrackets Lite v2.0.4 Glory to Ukraine! Glory to the heroes! improved: a manually typed closing bracket steps over an auto-completed one, even after typing text inside the pair. For example, typing ( automatically inserts ), producing (|), where | indicates the caret position. Typing abc places the characters inside the pair, resulting in (abc|). Typing the final ) then steps over the existing ), resulting in (abc)| instead of adding a duplicate closing bracket (abc)). changed: while searching for “XBrackets.txt”, the plugin first checks the “plugins\XBrackets” folder, and only then checks the “plugins\doc” folder. a few internal corrections. https://github.com/d0vgan/npp-XBracketsLite/releases/tag/XBrackets_v204