Community
    • Login
    1. Home
    2. Help wanted · · · – – – · · ·
    Log in to post
    Load new posts
    • Recently Replied
    • Recently Created
    • Most Posts
    • Most Votes
    • Most Views
    • Adam BowskyA

      Delete lines in multiple text/DAT files that contain specific characters

      Watching Ignoring Scheduled Pinned Locked Moved
      17
      0 Votes
      17 Posts
      2k Views
      guy038G

      Hello, @adam-bowsky, @michael-vincent, @supasillyass and All,

      Personally, I would use the following regex S/R, which should work in all the discussed cases !

      I simply assume that the N90- string, with this exact case, is preceded with, at least, one digit !

      SEARCH (?-si)^\h*\d+N90-.*\R?

      REPLACE Leave EMPTY

      Of course, the Regular expression search mode is selected and the Wrap around option is ticked

      Give a try !

      I’ll give you some explanations when everything is right ;-))

      Best Regards

      guy038

    • GubithG

      Live list of all commands

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      449 Views
      No one has replied
    • Adam BowskyA

      Delete lines in multiple text/DAT files that contain specific characters

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      264 Views
      Adam BowskyA

      @Alan-Kilborn Apologies… I am not experienced with this.

    • Bob ThebuilderB

      Need help with editor.rereplace in the pythonscript plugin

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      341 Views
      No one has replied
    • Bob ThebuilderB

      How to select a line of text, then copy that selected line of text using the pythonscript plugin?

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      835 Views
      Bob ThebuilderB

      @Alan-Kilborn Thanks! This is exactly what I needed!

    • Robert SR

      Can't get Compare plugin V2 64bit to be recognised or work

      Watching Ignoring Scheduled Pinned Locked Moved compare plugin compare plugin
      2
      0 Votes
      2 Posts
      224 Views
      Robert SR

      I fixed the issues, The dll needs to go as follows;

      Notepad++ install directory\plugins\ComparePlugin

      And now it works!

    • Vasile CarausV

      How to: Recording (Macro) and execute 5 regex formula (can this be done?)

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      370 Views
      Vasile CarausV

      Got it ! thanks, WORKS !

    • Sylvester BullittS

      Need Spellchecker

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      240 Views
      dailD

      @Sylvester-Bullitt Sounds like Notepad++ is not the tool for the job.

    • Alessandro-Barbieri 0A

      UDL for fortune

      Watching Ignoring Scheduled Pinned Locked Moved udl fortune
      3
      0 Votes
      3 Posts
      290 Views
      Alessandro-Barbieri 0A

      @PeterJones Thanks for the clarification!

    • Virginia ChapmanV

      How do I sort the listing of items in the Doc Switcher panel?

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      172 Views
      No one has replied
    • Tom BrownT

      Using \\ as the start to a comment line

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      288 Views
      PeterJonesP

      Expanding a builtin language for anything other than a keyword is not something you can do without access to the source code.

      You could use a User Defined Language, but you’d probably feel it didn’t meet all your needs. If that was enough, a UDL will allow \\ to mark a comment line, like so:
      f71846ac-63a9-4a88-b670-384ca07fe399-image.png

      However, you can add extra highlighting to a builtin lexer (like the SQL lexer) using regexes via the script EnhanceAnyBuiltinLexer.py that @Ekopalypse shares in this linked post

    • The gods' almighty willT

      Configure the styler to hightlight text

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      313 Views
      PeterJonesP

      “Until EOL” is easy: DELIMITERn open = :, close = ((EOL))
      Unfortunately, stop-on-other-whitespace is harder; not sure how it could be done natively in a Notepad++ UDL.

      There are two alternatives that I can think of:

      just define it as a delimiter with ((EOL)) closing it, but set the STYLE for that delimiter to allow nesting of anything else (that you have defined). For example, if = was defined in Operators 2 as magenta, Number defined with blue foreground and cyan background, Keywords 1 defined as Green/Bold with Area as the keyword, and DELIMITER1 defined with open = :, close = ((EOL)) and foreground=red, bg=yellow, nesting=operators2+numbers, I see:
      7f97a779-14f3-4046-b719-3abb641fdf54-image.png
      which might be enough for you. Otherwise, you can add extra highlighting to a UDL language using regexes via the script EnhanceUDLLexer.py that @Ekopalypse shares in this linked post
    • Adnan HaddadA

      Automate shortcut configuration

      Watching Ignoring Scheduled Pinned Locked Moved shortcut shortcut mapper
      10
      0 Votes
      10 Posts
      593 Views
      EkopalypseE

      @Adnan-Haddad

      install procmon, set a filter for shortcuts.xml and run it.
      Start npp and see where it is loading the file from.
      Make your changes and close npp.
      Check if procmon informs about any error or whether npp
      was able to save it correctly.

    • Alan KilbornA

      Selecting, Leaving, Returning, then Copying from Find-Result window

      Watching Ignoring Scheduled Pinned Locked Moved
      9
      0 Votes
      9 Posts
      451 Views
      EkopalypseE

      @Alan-Kilborn said in Selecting, Leaving, Returning, then Copying from Find-Result window:

      Maybe you can now that 7.8.3 offers …

      To be honest, I barely use the find window. In my workflow
      there is no need to do this often.

      I’ve never understood the “full keyboarding” approach, … occasionally grabbing the mouse gives the wrist a rest from constantly the same activity.

      :-) I don’t have this problem because the coding represents maybe 10% of my working time.
      At home, when I program for fun, I constantly have to take my hand off the keyboard,
      because I have to take the board off my head all the time, because of the stupid mistakes I make all the time. :-D

      Not sure this board off my head translated correctly.
      Blockhead seems to be the translation for Brett vorm Kopf

    • superluig164S

      Combining character fonts don't work

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      231 Views
      EkopalypseE

      @superluig164
      https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2287#issuecomment-256638098

    • Marko JelićM

      I have a problem

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      0 Votes
      5 Posts
      843 Views
      Marko JelićM

      @PeterJones tnx, you gave me more info than 2 days of searching on the internet, have a nice day :).

    • aristosvA

      unattended installation with progress bar

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      402 Views
      andrecool-68A

      @aristosv Not!
      Installation from the command line hides the entire installation process)))

    • alph osA

      How to save all new files automatically with .txt extension?

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      379 Views
      andrecool-68A

      Change these settings (clear this flag)

      Imgur

    • Sylvester BullittS

      Can User Defined Command Save Current File First?

      Watching Ignoring Scheduled Pinned Locked Moved
      6
      0 Votes
      6 Posts
      1k Views
      Sylvester BullittS

      @PeterJones Yay! Got it work without having to mess with NppExec interface. For the benefit of anyone who wants to do this with Firefox & Windows 10, the macro below is what I finally settled on. I used a keyboard shortcut of Ctrl-Shift-Enter (your mileage may vary on other systems, especially the virtual key number).

      Thanks for help and patience, Peter. If you’d like to see the the Web site I’m using it for, it’s at http://www.hymntime.com/tch. I’m editing several hundred files, so this will be a tremendous help!

      <Macro name="Save File and Launch in Firefox" Ctrl="yes" Alt="no" Shift="yes" Key="13"> <Action type="2" message="0" wParam="41006" lParam="0" sParam="" /> <Action type="2" message="0" wParam="44100" lParam="0" sParam="" /> </Macro>
    • Jeff GordonJ

      I need help to run the code on notepad++

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      208 Views
      Alan KilbornA

      @Jeff-Gordon

      SEE HERE!

    The Community of users of the Notepad++ text editor.
    Powered by NodeBB | Contributors