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

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

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

      @PeterJones said in How can I pass a search term to Notepad++ via command?:

      I don’t know of any plugins that have implemented a start-search-from–pluginMessage: it might make sense for the custom-search gurus – I was about to suggest @coises’s Columns++ … but as I was typing this reply, he posted about a new Search++, which is probably a better place for it: he might be willing to add -pluginMessage processing to trigger a search from the command-line.

      (If @Coises doesn’t seem interested, I might be willing to try to convert the VB.net script into a PythonScript solution… But some users have found it hard to get PythonScript solutions working, despite our FAQ which is supposed to help.)

      Offhand, it seems like it would make sense. However, my new plugin still has a lot of work to be done to refine its basic features and add major missing ones. This is a good idea; I’m just not likely to get to it anytime soon.

    • W PongW

      Columns++, I'd like to *retain* commas when converting to elastic tabs/spaces

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      1 Votes
      3 Posts
      25 Views
      CoisesC

      @W-Pong said in Columns++, I'd like to *retain* commas when converting to elastic tabs/spaces:

      I should add that my current workaround is to highlight the affected region and do an ‘extended’ find replace, replacing “\t” with “,\t”. This works fine. Was just hoping I could avoid this need…

      If you never have commas within quoted strings in your arrays, just use a slightly modified version of your work-around: without doing any conversion first, replace , with ,\t.

      If you do sometimes have commas in quoted strings, you can either do what you’re doing now or devise a regular expression replacement that will skip commas within quoted strings.

    • JAKJ

      How to compare 2 text files and delete duplicates

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      7
      0 Votes
      7 Posts
      279 Views
      JAKJ

      @CennoxX
      Thank you, that’s a very simple way of achieving what I need, will definitely try this. Only downside is that I want to keep thd Master file as is, to use for comparison with future new music lists. Could make a copy for your procedure, then add the new music to it, for the next new music comparison.
      However today I used this procedure, works well, adapted it from the one posted.

      With new music file
      1-use Edit Sort lines lexicographically Ascending, just for clarity
      2-Highlight all lines then use plugins ‘remove Duplicate lines’, as there are always some duplicates
      3-open original Master file and new music file for comparison
      4-Use compare plus and ‘Compare’
      5-Then use Diff Visual Filters… to hide matches
      6-Use find unique lines
      7-copy all selected visible lines from New Music, paste into a new file, to keep them separate, then copy into the Master file, for comparison with the next New music file.

      Hope that makes sense

      This gives me a new file with all new music without any duplicates that exist in the Master file

    • CoisesC

      Search++: A work in progress

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      0 Votes
      1 Posts
      19 Views
      No one has replied
    • T

      How to Use Notepad++ As a Daily Journal

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      146 Views
      T

      @PeterJones

      Thanks for your reply. I will give your solution a try as a Macro learning experience. Maybe I’ll find other uses for it.

      But, I just came up with a different solution:

      I like Notepad++ so far, so I used the preferences to set Notepad++ as the default for a small number of file types I use occasionally. I renamed the extension of the file I use as my daily journal/log from .txt to my initials .th. I used the file properties to open that file with Windows Notepad.

      It’s working well for me. I can use my journal/log with Windows Notepad, and everything else uses Notepad++.

    • dfs-D

      Dark Mode style for UDL

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      7
      0 Votes
      7 Posts
      301 Views
      Lycan ThropeL

      @dfs ,
      We could go a step further and lament that it would be nice if the entire graphical environment of NP++ could be contained in one dialog setting, and then when we switched between Light or Dark, the environment would change all the UI references:

      Settings->Preferences...->Dark Mode,
      Settings->Style Configurator...->Style:, and the
      Settings->Style Configurator...->Select theme:

      …could be coordinated to make just switching between Dark Mode and Light Mode change them all, accordingly. As it is, I’m glad to have just found out that the Dark and Light language files can automatically change by setting that one switch in the dark mode file @PeterJones mentioned, and that automatically chooses the correct code coloring file for the environment (Dark/Light) chosen.