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
      11
      4 Votes
      11 Posts
      306 Views
      CoisesC

      @guy038 said in Search++: A work in progress:

      I do appreciate to temporarily reverse the search direction, with native N++ search, by hitting or releasing the Shift key ! Would it be possible to add this functionality to Search++ plugin ?

      Yes, that makes sense for the step-wise Find and Replace buttons in the plain text search. I don’t think there’s any reason I can’t make it work.

    • Claudia SvensonC

      How to set "UTF-8 WITH BOM" as default Encoding even for old but changed textfiles?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      79 Views
      CoisesC

      @Claudia-Svenson said in How to set "UTF-8 WITH BOM" as default Encoding even for old but changed textfiles?:

      When I load an existing old file (with UTF-8 only), then change something and save it, the old encoding remains.

      How can I tell NP++ to apply the new default encoding to changed old files too?

      I think you mean you want this to be automatic; but just in case you missed it, you can change the encoding of the file while you are editing it using Encoding | Convert to UTF-8-BOM. You just have to think to do it for every file you want to change.

    • JAKJ

      How to compare 2 text files and delete duplicates

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      11
      0 Votes
      11 Posts
      498 Views
      guy038G

      Hi, @jak, @peterjones, @pnedev, @phil-pascal and All,

      Ah…, OK :! But it’s quite funny, @jak, because it’s exactly what I proposed in my last two posts !!!

      Giving the initial contents of your two files :

      The Original Music Collection which contains : Coldplay yellow Elton John Rocket man Beatles abbey road Beatles Love me do Beatles hey Jude Monkees daydream believer The New Music file which contains : Beatles abbey road Beatles Love me do Beatles hey Jude Monkees daydream believer The move blackberry way (1) By running a search/ replacement with regular expressions :

      I append, at the very end of the New music file, the contents of the Original Music Collection file, after a line of, at least, 3 equal signs, giving this temporary New music file :

      Beatles abbey road Beatles Love me do Beatles hey Jude Monkees daydream believer The move blackberry way ========== Coldplay yellow Elton John Rocket man Beatles abbey road Beatles Love me do Beatles hey Jude Monkees daydream believer

      Now :

      Switch to the New Music file

      Open the Replace dialog ( Ctrl + H )

      Uncheck all box options

      SEARCH (?x-is) ^ (.+\R) (?= (?s) .+? ^===+ .+ ^ \1) | (?s) ^ ===.+

      REPLACE Leave EMPTY

      Tick the Wrap around option

      Select the Regular expression search mode ( IMPORTANT )

      Click on the Replace All button

      => You should get your expected New Music file, below :

      The move blackberry way Save the modification of the New Music file (2) By using the ComparePlus plugin :

      First, use the Plugins > ComparePlus > Diff Visual Filters... option

      Check the Hide added/removed lines option and valid this choice with the OK button

      Then, use the specific option Plugins > ComparePlus > Find Unique lines

      Now, select the New Music file ( IMPORTANT )

      Run the Plugins > ComparePlus > Delete all/selected visible lines option

      Run the Plugins > ComparePlus > Clear Active Compare option

      Finally, save the modifications of the New Music file ( IMPORTANT )

      Best Regards,

      guy038

    • chris swinsonC

      Open file vanishing after reboot ?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      1
      0 Votes
      1 Posts
      49 Views
      No one has replied
    • N

      How can I pass a search term to Notepad++ via command?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      16
      0 Votes
      16 Posts
      258 Views
      N

      Hello,

      I wanted to show you the purpose of this function.

      Background:

      Highlight a term in the browser Search for it in files using Everything via a button (Content) Right-click the found file to open it in Notepad++ and jump to the searched term.

      See the video off it on Imgur

      I’ve actually been using the editor since I started using computers privately (2008), but I’ve never really explored its inner workings and capabilities. It was never necessary so far—it has everything needed for everyday use.

      I also wanted to sincerely thank you again for the prompt help—it was definitely a positive experience.

      Best regards,
      Björn