• Anyone can help with this regex?

    6
    0 Votes
    6 Posts
    9k Views
    guy038G

    Hi All,

    I just forgot to give an example of the general S/R, detailed, in my previous post !

    Then, giving the upper-case string ABC, as a start delimiter and the upper-case string XYZ as en end delimiter, which leads to the regex :

    SEARCH = (?-s)^.*ABC(?s).*?(?-s)XYZ.*(\R|\z)

    REPLACE = NOTHING

    The text, below :

    This line, containing ABC, will be deleted This is a BLOCK of text which will be DELETED as well as this line XYZ This piece of text will NOT be DELETED but the BLOCK of the TWO NEXT ONES will ABC XYZ This text, with some blank lines, won't be modified, but the NEXT line will ! ABCXYZ The BLOCK of the TWO NEXT lines, below, will be DELETED 12345ABC 67890 ABC --- XYZ XYZ --- as well as this LAST block, below --- ABC --- XYZ --- ABC --- ABC --- XYZ --- XYZ --- ABC --- ABCXYZ ---

    will be CHANGED into :

    This piece of text will NOT be DELETED but the BLOCK of the TWO NEXT ONES will This text, with some blank lines, won't be modified, but the NEXT line will ! The BLOCK of the TWO NEXT lines, below, will be DELETED as well as this LAST block, below

    Cheers,

    guy038

  • Bug report: 6.8.3 not saving macros

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    dailD

    Sourceforge is no longer used for Notepad++. Issues for Notepad++ can be created here on Github. Also, it looks like this exact issue has already been reported.

  • Unexpected Behaviour in "Replace With" Box

    3
    0 Votes
    3 Posts
    2k Views
    Keith UyenoK

    @tomas-chrastina Thanks very much for your help! This solved my issues! Also, after trying this, I noticed that right-clicking within the text box shows a “right-to-left reading order” toggle.

  • Change macro

    Locked
    2
    0 Votes
    2 Posts
    8k Views
    tomas-chrastinaT

    I’m not aware about simple user friendly way to edit recorded macro. Macro definitions are stored here:

    %APPDATA%\Notepad++\shortcuts.xml

    More info about macros here -> Editing Configuration Files - Notepad++ Wiki.
    File format is described here -> Macros - Notepad++ Wiki.

    Still I assume it would be easier to record new one.

  • Moving/Cloning To Another View Changes Font Size

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Losing User Define Language when switching Notepad++ tab across monitors.

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Silent installation parameter

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • New notepad++ instalation do not store added Profiles

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Thomas MoskeT

    I ve found a solution.

    I deleted the folder User/AppData/Roaming/Notepad++

    Then I started notepad++ again and created new ftp profiles

    This will crate new folder in AppData - and this time it works with the profile …

  • Font change

    2
    0 Votes
    2 Posts
    3k Views
    NicholasN

    Under Global Styles there is Global override and Default Style. The override only takes affect when you enable it with the checkboxes below it. Normally you will want to change the default style so you can also change it at the individual level.
    If you’re trying to change a font and nothing is happening then check that the global override is not enabled.

  • How to mass associate extensions?

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Maybe the simplest answer ever?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Basic vs. Verbose save

    Locked
    2
    0 Votes
    2 Posts
    5k Views
    BlueHat GURUB

    I found 3a in the default backup location, thank goodness. However, that still leaves my remaining queries, please.

  • Multiple Instance mode acting oddly

    Locked
    1
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • nppLocalization folder

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Replace value according to previous line

    Locked
    3
    0 Votes
    3 Posts
    4k Views
    geoslakeG

    Wow, thank you very very much, guy038, you not only almost saved my life :), but you took the time to explain things extensively to me, thanks again !

    Cheers

  • Help, need text editor for mac

    Locked
    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • MySQL Server 5.1

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Escape backslash quotes in string in user defined language

    Locked
    2
    1 Votes
    2 Posts
    6k Views
    Jan SchreiberJ

    In the UDL dialog, click the “Operators and Delimiters” tab. Under the caption “Delimiter 1” add the double quotation mark " as both “Open” and “Close”, the backslash as “Escape”. Same for the single quotation mark under “Delimiter 2”.

  • ‘containing’ line numbers from Find window not copied anymore

    Locked
    4
    0 Votes
    4 Posts
    9k Views
    guy038G

    Hi Ron,

    When the new copy behaviour, was implemented in N++ v6.7.9, as I’m rather curious, by nature, I just tested a way to get the old behaviour too ! And I found, by hazard, the simple CTRL + C shortcut, to simulate it :-)

    An obvious solution would be to get two COPY options, while right-clicking, inside the Search Result Window.

    For instance, their syntaxes could be something like :

    Copy [selected] text , to copy the lines with their line numbers

    Copy [selected] lines, to copy ONLY, the text of the lines

    Cheers,

    guy038

  • Load config.xml failed!

    3
    0 Votes
    3 Posts
    7k Views
    Serge LamarcheS

    I uninstalled and reinstalled the program and the problem seems solved. Other issues were also solved.