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
      208
      7 Votes
      208 Posts
      66k Views
      astewart77A
      I also vote for Method 3. Method 2 has too much text changing from use to use. For me, the only advantage to Method 1 is being a bit easier to automate with AutoHotkey.
    • donhoD

      Notepad++ release 8.9.8.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      27
      4 Votes
      27 Posts
      4k Views
      CoisesC
      @Xuân-Thơ-HOÀNG said: @Coises Notepad++ v8.9.8.1 appears to misdetect a valid UTF-8 file without BOM as OEM 855. The file contains valid UTF-8 multibyte characters and can be decoded successfully as UTF-8. When “Autodetect character encoding” is disabled, closing and reopening Notepad++ correctly identifies the file as UTF-8. Re-enabling autodetection causes the same file to be detected as OEM 855 again. For example, string UTF8 Ok but incorrect auto-detection: 🧠 🧠 🧠 🧠 🧠 🧠 🧠 🧠 🧠 🧠 Just my personal opinion, not any sort of “official Notepad++ position”: Autodetect character encoding is an accident waiting to happen. There is no way to consistently and accurately detect character encoding on Windows, because Microsoft, in their infinite wisdom, did not choose to store the character encoding of a file in any sort of metadata. If you really have many files with different legacy character encodings, you will have to intervene manually to get correct results. There is no way around it. Autodetect character encoding might or might not reduce the number of cases where you must manually select the correct encoding, but sometimes it will be wrong. You can use the Encoding | Character sets menu to select the correct encoding before you modify the document in any way. More common is to have just two potentially ambiguous cases: so-called “ANSI,” meaning the system default code page, and UTF-8 with no byte order mark. Outside of contrived examples and files that were supposed to be UTF-8 but contain invalid byte sequences, it is easy to tell those two apart with a very high rate of accuracy. (However, Notepad++ has a bug that can cause UTF-8 files to be mis-detected as ANSI.) That works better if you do not check Autodetect character encoding.
    • Vitalii DovganV

      Improving Find in Files performance

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      14
      1 Votes
      14 Posts
      1k Views
      Thomas KnoefelT
      Thanks a lot @guy038 for running the whole thing again, this time it didn’t finish in seconds ;-) Nice to see the results panel still usable with almost 10 million hits, even the jump to line 690 in that DLL at the very end. Interesting that walking the whole drive for those 130 PDFs takes almost the entire run, 5m45 of 5m48 for MultiReplace, and it’s the same picture with the other tools. The 4 “not decodable” are most likely UTF-16 files with an odd number of bytes. N++ simply drops the last byte there, the next MultiReplace build will do the same in Find in Files (Replace leaves them alone, writing them back would lose that byte). Speed is next on my list.
    • donhoD

      Notepad++ Release Candidate v8.9.8.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      14
      2 Votes
      14 Posts
      2k Views
      S
      @donho Typo: “7 Fix Netork Path Warning dialog usability problem.” --> Network
    • A

      Problem with inactive/unavailable Plugins Admin on v8.9.8

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      0 Votes
      10 Posts
      851 Views
      A
      @peterjones Installed Notepad++ v8.9.8.1, and this problem went away [image: 1790343129511-%D0%B1%D0%B5%D0%B7%D1%8B%D0%BC%D1%8F%D0%BD%D0%BD%D1%8B%D0%B9.png] p.s. And I don’t need to unblock files received from the Internet, because after a clean install of any Windows, I will block this option through the registry.
    • J

      remove the find in files feature

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      -2 Votes
      6 Posts
      369 Views
      J
      @PeterJones i just wont bother using notepad++ again, ill go find a better alternative
    • donhoD

      Notepad++ release 8.9.8

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

      How Do I Get Rid of the Line in the Margin When I Type Something?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      141 Views
      Troglo37T
      @mpheath Okay, I’ll check it out. Thanks.
    • T

      Confirmation or disable the Find All in All Opened Documents

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      510 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
    • Keith CollyerK

      wireloom in markdown viewers

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      8
      0 Votes
      8 Posts
      707 Views
      rdipardoR
      I said: In case anyone else is interested, you can try previewing plain-text wireloom files with this development build of Preview HTML. This feature has now been merged, with additional support for offline Markdown previews that will render wireloom code blocks: [image: 1790348955006-wireloomx898.gif] All rendering is done by client-side JavaScript modules, so MS Edge is still required. @Keith-Collyer said: What would be really good would be if the developers of these re-merged their plugins! Don’t look now, but no fewer than three new Markdown plugins have appeared in the past two weeks — and they all depend on the WebView2 runtime (i.e. Edge).
    • Troglo37T

      Is There A Way To Retrieve My Settings

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      302 Views
      Lycan ThropeL
      @Troglo37 Well, they already have a “auto-backup” feature, it just doesn’t target config files, only files you open in the editor and when you make changes to that file and haven’t closed it. I made my own program to just copy files, but I’m not ready to look at doing something that checks every possible setting for a comparison against original or recently changed config files that may have had only minor changes. I think that’s why something like this hasn’t been done yet. So many settings, AND between versions, the menu and the options may change as well, so if someone wrote such a program/plugin/feature, it would have to be constantly updated for when the Notepad++ program changes, as well.
    • deleeleeD

      Strange behaviour with find all in current document results

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      1
      0 Votes
      4 Posts
      411 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.
    • Carlos SánchezC

      [New plugin] Smart Math

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      10
      1 Votes
      10 Posts
      2k 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
    • P

      Search and Replace for CNC Help Needed

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      1 Votes
      4 Posts
      189 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
    • guy038G

      A little-known plugin of @Coises that's worth checking out !

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      3 Votes
      3 Posts
      266 Views
      guy038G
      Hello, @coises and All, Thank you very much, @coises, for your valuable advice ! As I already used a user definitions file, named Definitions.json5, containing the main examples from the documentation : Before starting N++, I simply included your modified implicit combining rules section to the definitions.json5 file, described below : { // A user definitions file is a JSONC file containing pairs of keys and values // listing what you type after the Compose key and what Compose types in response. // Each pair except the last must be followed by a comma. // Two forward slashes begin a comment: Compose for Notepad++ ignores // the slashes and everything after them on the same line. // You can use the standard escapes \n (new line), \r (return), \t (tab), // \" (quote within a quoted string) and \\ (backslash within a quoted string). // You can also use Unicode escapes, \u followed by four hexadecimal digits, // for example: "\u20ac" for "€", the Euro sign. Escape sequences for characters // outside the basic multilingual plane (code points 0x10000 or greater) // can only be entered as a UTF-16 surrogate pair. // You should save this file with a .jsonc extension. // Compose for Notepad++ reads the file each time you launch Notepad++, // so be sure to save it in a place where it won't be disturbed. "implicit combining rules" : { "'" : ["\u0301", "\u030B", true , "\u0317"], // acute accent | double | same as plain | acute accent below ")" : ["\u0306", false , true , "\u032E"], // breve | - | same as plain | breve below ">" : ["\u030C", false , true , "\u032C"], // caron/hacek | - | same as plain | caron/hacek below "," : ["\u0327", false , "\u0313", "\u0326"], // cedilla | - | comma above | comma below "ç" : ["\u0302", false , true , "\u032D"], // circumflex | - | same as plain | circumflex below "\"": ["\u0308", false , true , "\u0324"], // diaeresis | - | same as plain | diaeresis below "." : ["\u0307", false , true , "\u0323"], // dot above | - | same as plain | dot below "è" : ["\u0300", "\u030F", true , "\u0316"], // grave accent | double | same as plain | grave accent below "?" : ["\u0309", false , true , false ], // hook above | - | same as plain | - "+" : ["\u031B", false , true , false ], // horn | - | same as plain | - "-" : ["\u0304", false , true , "\u0331"], // macron | - | same as plain | macron below ";" : ["\u0328", false , "\u1DCE", true ], // ogonek | - | ogonnek above | same as plain "*" : ["\u030A", false , true , "\u0325"], // ring above | - | same as plain | ring below "é" : ["\u0303", false , true , "\u0330"], // tilde | - | same as plain | tilde below "_" : ["\u0332", "\u0333", "\u0305", true ] // underline | double | overline | same as plain }, "CC" : "\u2102", // double-struck capital C "rx" : "℞", // prescription symbol "dia" : "💎", // diamond symbol "br" : "Best Regards,\r\n\r\nguy038\r\n" // End of Post } Then, I started N++. To be sure that this json file was correct : I ran the Plugins > Compose > User definitions file... option. I clicked on the Select button. => No error occured ;-) And, indeed, no need to use the |Alt Gr] key and the [SP] key anymore, within the implicit combining rules section, on my French keyboard ! So, I also updated the main_Compose.txt file, in my Google drive account, which can be downloaded from the same address as before. Best Regards, guy038
    • Z

      XML Tools plugin is not maintained

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      0 Votes
      3 Posts
      280 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
      173 Views
      Michel ChasseyM
      @PeterJones Thank you now as for my other questions …
    • guy038G

      Some options of the advanced NodeBB search no longer work correctly !

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      1
      2 Votes
      3 Posts
      378 Views
      PeterJonesP
      @guy038 , I have also noticed that, recently, the username filter in the advanced search page doesn’t populate usernames. I had thought it might have just been me. I know that @barisusakli from NodeBB occasionally logs in, and they recently updated the forum software for us… maybe that version had a bug, because the admin panel says there’s another version available since they last updated us. Until then, once you make your search, you can edit the URL to set &by=PeterJones to search for my posts (right now, the URL probably has &by= with no value). It’s not as convenient as the drop-down, but it is a workaround.
    • Roberts RozisR

      Feature Request: Find in Files > In all Subfolders > [nn] levels deep only

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      0 Votes
      6 Posts
      1k Views
      guy038G
      Hello, @Roberts-Rozis, @Peterjones, @dennis-bulgrien, @coises and All, @Coises, I did some tests with my D USB key and with your Search++ plugin and the following generic regexes solve the problem nicely : So, @Roberts-Rozis and @dennis-bulgrien : Select The Plugins > Search++ > Search in Files... option Select your média (C, D, … ) on the left and don’t forget to check the Subfolders option and, possibly, the Hidden files option Select the Reg. exp. option for the Filter : type In the filter box : • For a search of any file, even WITHOUT extension, between level N minimum and M maximum, enter : ^(?:[^\\]+\\){N,M}[^\\]+ • For a search of any file, WITH an extension, between level N minimum and M maximum, enter : ^(?:[^\\]+\\){N,M}[^\\]+\..+ • For a search of any file with the EXACT extension 'txt' or 'log' or 'ini', between level N minimum and M maximum, enter : ^(?:[^\\]+\\){N,M}[^\\]+\.(?:txt|log|ini)$ You may also add a size and/or a date condition Of course, check your desired search options Finally, click on the Find in Files button IMPORTANT : Replace the letters N and M by true digits, with the condition N <= M. The M value may be missing ! The syntax of these regexes are specific to the Search++ These regexes allow any search in an arborescence, from level N minimum to level M maximum. However : You may search from level 0, if necessary You can go through all the structure with the 0, or the N, syntaxes Note that you can simulate the Search++ filtering mode by using one of the regexes below, directly in Notepad++ ^(?:[^\\\r\n]+\\){2,4}[^\\\r\n]+$ ^(?:[^\\\r\n]+\\){2,4}[^\\\r\n]+\..+ ^(?:[^\\\r\n]+\\){2,4}[^\\\r\n]+\.(?:txt|log|ini)$ Against the text below, that you’ll paste in a new tab : 987.txt abc\123.txt abc\def\456.txt abc\def\ghi\789.txt abc\def\ghi\jkl\012.txt abc\def\ghi\jkl\mno\pqr\stu\vwx\yz\999.txt 987.txt abc\123.txt abc\def\456.txt abc\def\ghi\789.ini abc\def\ghi\jkl\012.log abc\def\ghi\jkl\mno\pqr\stu\vwx\yz\999.txt LICENSE abc\LICENSE abc\def\LICENSE abc\def\ghi\LICENSE abc\def\ghi\jkl\LICENSE abc\def\ghi\jkl\mno\pqr\stu\vwx\yz\LICENSE You may also try, for example, the cases {0,3} or {0,} or even {4,}. Enjoy ! Best Regards, guy038
    • Dean-CorsoD

      How to normalize fancy Unicode text back to regular text?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      29
      0 Votes
      29 Posts
      14k Views
      CoisesC
      @Screen-White said: plugin For what it’s worth, I have a plugin called Unicode Normalize that can normalize selected text to any of the four standard Unicode normalization forms. There’s a short discussion of it here. This plugin uses Windows’ NormalizeString function. It could probably be improved by using ICU4C. I haven’t done a lot of work on it; it’s just something I threw together to solve a problem. The search problem is one I hope to solve someday in my work-in-progress called Search++, but it will be a while before I get to that.