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

      Localization problem

      Watching Ignoring Scheduled Pinned Locked Moved Translation
      9
      1 Votes
      9 Posts
      324 Views
      U

      @xomx
      Thank you very much for the work you have done, which will lead to improvements in Notepad++ in the future.
      I am very grateful to you.

    • A

      File type associations not working

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      104 Views
      PeterJonesP

      @PeterJones said in File type associations not working:

      it’s at the mercy of the OS as to whether the OS will propagate such settings to the user, or completely bypass them

      It worked reasonably for me. I ran my installed Notepad++ v8.9.1 As Administrator, then went to the File Association setting, picked customize, typed .pcj (which is a file extension that didn’t have any associated app or filetype), then clicked -> to move it to the Registered extensions column. If I then exit Notepad++ (to get out of Admin mode), and double-click on blah.pcj in Windows Explorer, it opened it in Notepad++. (And looking at the registry, I can confirm it added HKCR\.pcj to point to Notepad++_file, and HKCR\Notepad++_file sets the shell\open\command as expected. (But maybe you didn’t think it “worked” at this point, because it doesn’t necessarily change the text of the “file type” column in Explorer. Even if it doesn’t, the double-click did what I expected.)

      When I tried with the preferences dialog misc > .nfo, it edited the existing HJCR\.nfo to point to Notepad++_file (with a Notepad++_backup entry pointing to the original MSInfoFile. When i double-click on an NFO file, Windows actually pops up a Select an App to open this .nfo file, which includes the “Notepad++ (New)” entry (because Windows has been trained to not fully allow applications to hijack extensions, because users hate it when an app does that without their permission) – and from there, you can choose whether you really want to.

      But by doing it through the Windows OS Open With interface to begin with, you make sure Windows knows it’s you who wants the change, not the app, and so lets you do it more easily there.

      IOW: it works for me on Windows 11 as Notepad++ tries it, with the caveats that Windows 11 is trying to protect me from nefarious apps, so might require a confirmation; and when I do things the way Windows OS wants, it works as expected rather than having to do the extra steps.

    • Kjell RilbeK

      Regex not found in large file, known limitation or bug?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      167 Views
      guy038G

      Hello, @kjell-rilbe, @peterjones, @Coises and All,

      I was curious and I tried to reproduce exactly the @peterjones’s test on my laptop, with the two different lines 358660 and 382650 !

      Like Peter said, the @kjell-rilbe syntax worked correctly, even from the first line of the test file. However, this syntax also detect zero-length matches. Thus, I suppose that the combination of the regexes :

      ^[^;\r\n]*(?:(?:;[^;\r\n]*){1,11}|(?:;[^;\r\n]*){13,})$

      and

      ^[^;\r\n]+$

      would be a better solution.

      Now, as @peterjones mentioned, if the file contains only valid lines, oddly you get the error message The complexity of matching... ! And that’s why the @Coises syntax, using backtracking control verbs, is very useful.

      Indeed, this special syntax :

      Does return 0 match if current file contains correct lines ONLY

      Does return N matches if current file contains N incorrect lines

      I did not need to use the atomic forms *+ and I simply changed the * with a +, right before the $ sign, in order to avoid possible true empty lines.

      ^[^;\r\n]*(?:;[^;\r\n]*){12}$(*SKIP)(*F)|^.+$

      Best Regards,

      guy038

    • M Andre Z EckenrodeM

      Regex matching anomaly

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · regex regex matching
      3
      0 Votes
      3 Posts
      135 Views
      M Andre Z EckenrodeM

      @Coises said in Regex matching anomaly:

      If the line endings in the file aren’t consistent, it could mismatch.

      Huh. Right you are. Ironically, that possibility had actually occurred to me, and I even thought I’d checked for it adequately by enabling View > Show Symbol > Show EOL, but apparently I failed to pick the single LF out of all the CRLF. Thanks.

    • cmeriauxC

      survey: Incremental search usefulness

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      82
      1 Votes
      82 Posts
      47k Views
      William4565W

      @PeterJones sure.

    • Linen GrayL

      Adblock360Updater Batch File Keeps Appearing

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      145 Views
      Terry RT

      @Linen-Gray said in Adblock360Updater Batch File Keeps Appearing:

      but wanted to know if anyone else had experienced this happening and if so how they took care of it.

      Well if you are certain your system isn’t infected then that is a step in the right direction. Just understand that according to the bat file’s contents the “malware” had been apparently residing in the location referenced in almost every line. I would still take a look at that location to be absolutely sure it is gone.

      I am re-reading your initial post and trying to understand what is occurring. You say this “bat” file is opening regularly. What is the app that is opening this file? If it is Notepad++ (the “bat” file shows within a Notepad++ tab), then try to identify the location of that file. It should show the location if you move the mouse pointer over the tab’s title line. Then open that location to have a better look around, you should be able to right click on the tab’s title line and select Open into… and select the Explorer line. Once you are happy that you can delete the file, just close it in Notepad++ and then remove it from the location.

      So in terms of the question has any one else experienced this issue, the answer is no, no one else has mentioned this on this forum. You could easily do a forum search on the string “adblock” but you won’t find this specific one, just mentions of “real” adblock apps.

      Terry

    • Rob PintoR

      Alternative for Notepad++ on Mac

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      38
      0 Votes
      38 Posts
      1m Views
      Alan KilbornA

      @Chris-Richardson said:

      TextPad++

      I see that there is a fee for this app on the appstore.
      I’d think for that reason alone you won’t get too many users trying this app out.

    • Pawan SharmaP

      Real-time search results

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      59 Views
      Mark OlsonM

      @Pawan-Sharma
      If I had to guess, two words: race conditions (and an opposite-ish problem, deadlocks).
      Iteratively updating the results while searching seems like a great way to introduce endless difficult-to-reproduce bugs.

    • Joc BedenčičJ

      need to edit text

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      92 Views
      PeterJonesP

      @Joc-Bedenčič ,

      Based on my guess as to what you meant,
      FIND = (^#EXTINF:0,).*$
      REPLACE = $1
      SEARCH MODE = Regular Expression

      That gives the result,

      #EXTINF:0, #EXTTV:Mpeg2;slv; udp://@232.2.1.1:5002 #EXTINF:0, #EXTTV:Mpeg2;slv; udp://@232.2.1.2:5002

      Because that’s my guess as to what you meant by “remove everything behind #EXTINFO:0,”

      If that isn’t what you wanted, you will want to give both “before” and “after” data (“only channel names” has no meaning to someone who doesn’t know the format)

      ----

      Useful References Please Read Before Posting Template for Search/Replace Questions Formatting Forum Posts Notepad++ Online User Manual: Searching/Regex FAQ: Where to find other regular expressions (regex) documentation
    • Vitalii DovganV

      NppExec Manual: CHM vs. HTML version [poll]

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      0 Votes
      4 Posts
      224 Views
      Vitalii DovganV

      Just 6 votes… Not many.

      Anyway, I’m continuing to improve the HTML version of the Manual, this time with close help of Gemini.
      I still don’t understand the HTML/JS/CSS things good enough, but with the trials and re-trials guided by the AI, I think I’ve already achieved such level of flexibility and complexity that rdipardo and Joseph Samuel (who originally significantly helped with bringing the Manual online) may be proud of the result :)
      I seemed to achieve the same behavior between the offline (local) and online (web) version of the HTML Manual today, so you may try it.
      The most important changes have been made around the “Search Topics” logic:

      Now the search results (left frame) and the document content (right frame) both listen to the ‘mouseenter’ event. Once this event happens, the corresponding frame becomes focused, allowing e.g. scrolling by the arrow keys. While working with the search results list (such as changing the selected item via the mouse or the keyboard), the focus remains in the results list, thus allowing to navigate through different documents. Pressing Enter or double-clicking the search results list brings the focus to the document content (right frame). The search results list can be closed by Esc. The http and https links in the documents are blocked for the CHM version of the manual and allowed otherwise.
    • Vasile CarausV

      How come I have two types of fonts in my sentences?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      9
      0 Votes
      9 Posts
      2k Views
      William4565W

      You can use sites that can transform text, simply put you text and then transform it and place in your sentence, that is how you have two types of fonts

    • ThosRTannerT

      [New plugin] Linter++ - Linter plugin with message navigation.

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      3 Votes
      4 Posts
      5k Views
      ThosRTannerT

      Updated linter++ to v1.0.3

      Two changes of significance here:

      Deal properly with raw UTF8 characters in checkstyle output (mainly from jshint) Added two items to the plugin menu Help which opens the Readme on github pages About which produces a small modal dialogue with the version and a clickable link to the project github repo.
    • Zaflis_npZ

      How do i configure markdown (.md) display style?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      18
      0 Votes
      18 Posts
      18k Views
      O

      For future users, you need to make your own variation of the pre-installed Markdown laguage.

      Go to Languages>User Defined Languages->Define Your Language.

      Then click on a Styler button. I’m using dark mode and just prefer white text for formatting italics bold etc. So I set foreground to transparent, this means no colour override and uses the dark mode settings.

      d7869850-e1bc-4ebe-ac09-75f35e022ade-image.png

      Then go to Save As and give it a name.
      You’ll need to activate the new language variant which will be available in the Languages menu.

    • H

      Harmandeep Singh Kandhari - Enhancing Plugin Security and Preventing Malicious Code Execution

      Watching Ignoring Scheduled Pinned Locked Moved Security
      3
      0 Votes
      3 Posts
      244 Views
      H

      @Coises

      Thank you, Coises, for your helpful reply. I truly appreciate your support and guidance.

      Regards,
      Harmandeep Singh Kandhari

    • PeterJonesP

      Poll: How Long Have You Used Notepad++?

      Watching Ignoring Scheduled Pinned Locked Moved Blogs
      7
      8 Votes
      7 Posts
      7k Views
      William4565W

      Its been 5 years I’m using notepad ++ and for me it was and it is very useful tool.