• 2 navbars using html and CSS

    Locked navigation css html
    1
    0 Votes
    1 Posts
    9k Views
    No one has replied
  • Cannot edit profile cache maps

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Source Code Pro font not appearing in font lists

    5
    0 Votes
    5 Posts
    6k Views
    Chema Ramos RemesalC
    Thanks for the detailed information guy038!
  • Save all opened files to change date ?

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    guy038G
    Hello Panteror, I’ve got a solution which implies a virtual search/replacement on all the opened files of a N++ session ! Open the replace dialog ( CTRL + H ) Check the Regular expression option ( IMPORTANT ) Find what : .\Z Replace with : $0 Click on the Replace All in All Opened Documents button => At once, all the opened tabs will turn “red” Hit the ALT + F4 shortcut or the menu option File - Exit Press the Enter key, repeatedly, to valid the different save dialogs ( Save file C:\...... ? ) Notes : In the search regex .\Z : The part . is a standard character, different from an End of Line character ( \r ) and ( \n ) and the Form Feed character ( \f ) The zero-width assertion \Z represents the very end of the file, possibly preceded by any range of End of Line character(s) ( \r and/or \n ) In replacement, this last standard character is just rewritten, as the regex $0 represents the entire matched regex, that is to say the last character itself ! This method should not use much time to process : only one character per file X the amount of opened files, in N++ :-) Best regards, guy038 P.S. : By the way, in a DOS console windows, you can change the modification and access date of a file or a set of them, without changing their contents, with the simple DOS command, below : copy name.txt + or copy *.txt + or, even, copy *.* + ( Tested on a Windows XP machine ) The space, before the plus sign is not mandatory !
  • Find in Files

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Discogs Search

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Execute macro automatically at start-up

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    3 Posts
    6k Views
    John SparkJ
    It’s not nice to ignore me on purpose. Maybe I’m dumbfu*k, but I know my ideas are not bad. All I have posted over this forum. You all just don’t listen or use notepad++ just for writing cooking recipes ? Please guys … Make at least that damn feature to remove auto-inserted part of all kind of parentheses or personally set autocompleted stuff > when you delete it’s first half, automatically would be deleted inserted part too. Thanks and don’t hate me. (Where is Claudia btw ?)
  • Weird behavior with editor.rereplace function

    12
    1 Votes
    12 Posts
    7k Views
    dailD
    I turned on that option and it still gave me the correct results. Tried it on v6.8.3, v6.9, and v6.9.1. But at least it is working correctly for you now.
  • Closed Snippets Window and Can't Get it Back

    2
    0 Votes
    2 Posts
    2k Views
    kawingaK
    Plugins - Snippets - Snippets
  • Select to End of Paragraph

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Organizing data

    4
    0 Votes
    4 Posts
    4k Views
    guy038G
    Hi Kim, From your reply, it happens that one SPACE should be present, in the search regex, between the opening round bracket and the block [+-] ! Well, I just realized that your numbers could be separated by more than one space characters ! Moreover, your file may, also, contain some tabulation characters. In that case, prefer the search regex below ( The replacement regex is unchanged ): (\h+[+-]?\d+(\.(\d+)?)?[Ee][+-]\d\d){3} Notes : The \h regex syntax matches one horizontal blank character, that is to say : The normal space character ( \x20 ) The tabulation character ( \x09 ) The No-Break space ( abbreviated NBSP ) ( \xA0 ) As usual, the + quantifier means one or more times the previous character So given the test example below, where I put, between numbers, several spaces, in the first line, several tabulations in the second line and a mix of these two, in the third line : ospht421 4.52E-02 -1.20E-02 2.98E-03 3.19E-02 -1.93E-02 -6.87E-02 4.16E-02 1.71E-02 -2082.95E-02 ospht000 +9.9999998E+03 +1.23e-07 -5.4625e+04 -6.258E-00 5.789E+02 1.008E-06 +9.E+03 +1.E-07 -5.e+04 ospht999 -6.E-00 5.E+02 1.e-06 +9E+03 +1e-07 -5E+04 -6e-00 5E+02 1E-06 After clicking on the Replace All button, we get the following text : ospht421 4.52E-02 -1.20E-02 2.98E-03 3.19E-02 -1.93E-02 -6.87E-02 4.16E-02 1.71E-02 -2082.95E-02 ospht000 +9.9999998E+03 +1.23e-07 -5.4625e+04 -6.258E-00 5.789E+02 1.008E-06 +9.E+03 +1.E-07 -5.e+04 ospht999 -6.E-00 5.E+02 1.e-06 +9E+03 +1e-07 -5E+04 -6e-00 5E+02 1E-06 Now, we have to get rid of all the possible blanks characters, at the beginning of the lines and just keep one space character between the different numbers. The following S/R will achieve it, nicely : Find what : ^\h+|(\h+) Replace with : (?1 ) , with a space after the digit 1 Notes : Due to the alternative regex symbol |, this search regex looks : for any non null range of blank characters, that begins the line ( the ^ symbol represents the zero length assertion beginning of line ) for any subsequent range of these blank characters, between the numbers The second part (\h+), ( the subsequent blanks ), is enclosed in round brackets, and represents the group 1 In replacement, we use the conditional form (?n....) : which replace the searched regex with the string located after digit n , till the ending round bracket, if the group n exists which does NO replacement if the group n does NOT exist So : When the first part, of the search regex, matches possible blank characters, at beginning of a line, group 1, does not exist. Therefore, there’s NO replacement When the second part, of the search regex, matches blank characters, before the numbers, group 1 exists. Then they are replaced with the single space, located between the digit 1 and the ending round bracket, of the replacement regex This time, after performing this second S/R, we obtain the final text below : ospht421 4.52E-02 -1.20E-02 2.98E-03 3.19E-02 -1.93E-02 -6.87E-02 4.16E-02 1.71E-02 -2082.95E-02 ospht000 +9.9999998E+03 +1.23e-07 -5.4625e+04 -6.258E-00 5.789E+02 1.008E-06 +9.E+03 +1.E-07 -5.e+04 ospht999 -6.E-00 5.E+02 1.e-06 +9E+03 +1e-07 -5E+04 -6e-00 5E+02 1E-06 Cheers, guy038
  • How to create UDL with folding similar to INI file?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Group changing

    2
    0 Votes
    2 Posts
    2k Views
    gerdb42G
    This is related to Winscp, not to NPP. Please refer to Support pages on https://winscp.net
  • 0 Votes
    4 Posts
    5k Views
    gerdb42G
    This is nothing specific to NPP. In Windows, elevated Processes (running “As Administrator”) belong to a different Logon-Session and some settings may not be shared across Sessions, Drive Mappings being one of these. This is also the reason why Drag & Drop between elevated and non-elevated Processes doesn’t work.
  • 0 Votes
    3 Posts
    4k Views
    John SparkJ
    2, solved 3, it’s not possible to do it this way to have accurate numbers. i have to embedd code for it into my script let me ask new thing. NP++ new folder view feature does not support Shit or Ctrl selecting more than one file to open. when i need open 5 files from one folder, where is 20 files lets say, i would pick every with Ctrl and press Enter. why it has not this feature ? it’s good to have it !
  • Search and replace Selection (between Begin & End) in multiple files

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Jan SchreiberJ
    Ah, fortunately the RegEx cavalry (a.k.a. @guy038) noticed this thread. I consider the problem solved. ;-)
  • Syntax colors

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Stefan TravisS
    Go to Language>Define Your Language. This will take you to N++'s “User Defined Language” window, for defining rules of syntax highlighting.
  • how can I add Launch in Edge to the Run/Launch Menu?

    launch browser menu edge
    3
    1 Votes
    3 Posts
    5k Views
    Putrid Carcass75P
    I been trying to do this as well. It took me a bit because edge doesn’t run from its exe file, but here’s how I did mine.–Launch to Edge Instructions–
  • 0 Votes
    3 Posts
    7k Views
    Pete NorrisP
    gerdb42; Thanks for responding to my question. I appreciate the information. PN