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

    17
    0 Votes
    17 Posts
    4k 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
  • Live list of all commands

    1
    0 Votes
    1 Posts
    619 Views
    No one has replied
  • Delete lines in multiple text/DAT files that contain specific characters

    3
    0 Votes
    3 Posts
    519 Views
    Adam BowskyA
    @Alan-Kilborn Apologies… I am not experienced with this.
  • Need help with editor.rereplace in the pythonscript plugin

    1
    0 Votes
    1 Posts
    538 Views
    No one has replied
  • 0 Votes
    3 Posts
    1k Views
    Bob ThebuilderB
    @Alan-Kilborn Thanks! This is exactly what I needed!
  • 0 Votes
    2 Posts
    405 Views
    Robert SR
    I fixed the issues, The dll needs to go as follows; Notepad++ install directory\plugins\ComparePlugin And now it works!
  • How to: Recording (Macro) and execute 5 regex formula (can this be done?)

    4
    0 Votes
    4 Posts
    600 Views
    Vasile CarausV
    Got it ! thanks, WORKS !
  • Need Spellchecker

    2
    0 Votes
    2 Posts
    413 Views
    dailD
    @Sylvester-Bullitt Sounds like Notepad++ is not the tool for the job.
  • UDL for fortune

    udl fortune
    3
    0 Votes
    3 Posts
    489 Views
    Alessandro-Barbieri 0A
    @PeterJones Thanks for the clarification!
  • How do I sort the listing of items in the Doc Switcher panel?

    1
    0 Votes
    1 Posts
    293 Views
    No one has replied
  • Using \\ as the start to a comment line

    2
    0 Votes
    2 Posts
    536 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: [image: 1579299154962-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
  • Configure the styler to hightlight text

    2
    0 Votes
    2 Posts
    592 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: [image: 1579298351581-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
  • Automate shortcut configuration

    shortcut shortcut mapper
    10
    0 Votes
    10 Posts
    1k 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.
  • Selecting, Leaving, Returning, then Copying from Find-Result window

    9
    0 Votes
    9 Posts
    950 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
  • Combining character fonts don't work

    2
    0 Votes
    2 Posts
    465 Views
    EkopalypseE
    @superluig164 https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2287#issuecomment-256638098
  • I have a problem

    5
    0 Votes
    5 Posts
    2k Views
    Marko JelićM
    @PeterJones tnx, you gave me more info than 2 days of searching on the internet, have a nice day :).
  • unattended installation with progress bar

    2
    0 Votes
    2 Posts
    627 Views
    andrecool-68A
    @aristosv Not! Installation from the command line hides the entire installation process)))
  • How to save all new files automatically with .txt extension?

    3
    0 Votes
    3 Posts
    638 Views
    andrecool-68A
    Change these settings (clear this flag) [image: imm754a.png]
  • Can User Defined Command Save Current File First?

    6
    0 Votes
    6 Posts
    2k 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>
  • I need help to run the code on notepad++

    2
    0 Votes
    2 Posts
    374 Views
    Alan KilbornA
    @Jeff-Gordon SEE HERE!