• Background-image doesn't work

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • which design ist that?

    Locked
    4
    0 Votes
    4 Posts
    27k Views
    maxistinktM

    thanks !!!

  • Freezing while i cut/paste

    Locked
    2
    0 Votes
    2 Posts
    13k Views
    Stefano VenneriS

    Found the problem…
    It was the Clipboard History … just disabled!

  • Strange font in tabs

    Locked
    1
    0 Votes
    1 Posts
    6k Views
    No one has replied
  • R Syntax highlighting for dark themes

    4
    0 Votes
    4 Posts
    34k Views
    dailD

    You are able to add this in on your own. Take a look at this section of the default theme. If you copy and paste this into another theme (for example Monokai.xml) which does not have a LexerType for R yet, you will then be able to highlight R with that style. However this will still have the color/style of whatever the default theme is using which won’t match Monokai. So you can either edit the pasted XML manually to get appropriate colors, or once you paste that into the xml file and start Notepad++ you will be able to edit the style for R using the Style Configurator.

  • Find extended characters

    2
    0 Votes
    2 Posts
    22k Views
  • Save All icon not updating properly

    Locked
    1
    0 Votes
    1 Posts
    6k Views
    No one has replied
  • HTML tag plugin

    Locked
    1
    0 Votes
    1 Posts
    6k Views
    No one has replied
  • 2 navbars using html and CSS

    Locked
    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
    1k 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
    6k 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