• Feature Request - Textarea search/replace

    16
    1 Votes
    16 Posts
    12k Views
    guy038G

    Hello, @scott-sumner and All,

    Scott, I investigated this “pseudo” bug and here are my ( non exhaustive ) conclusions !

    For an easy reading, click on the button, of the Tools bar, to visualize all the hidden characters

    First, these weird results exist from a very long time ( Probably from adding the Extented search mode ? ) I was able to reproduce it, with the old v5.9.8 version !

    Case A : IF you select any text, WITHOUT including any following End of line character(s) ( No CR nor LF chars ), any immediate search, in NORMAL search mode, clicking on the Find All in Current document OR on the Find All in All Opened Documents, work normally ! No problem :-))

    Case B : IF you select any text, INCLUDING its End of Line character(s), any immediate search, in NORMAL search mode, clicking on the Find All in Current document OR on the Find All in All Opened Documents, does NOT work properly, if the search includes any of the literal following characters, below, and produces NO result :-((

    \t \n \r \0 \\

    Case C : IF you select any text, INCLUDING its End of Line character(s), which contains escaped characters, except for the five above, any immediate search, in NORMAL search mode, clicking on the Find All in Current document OR on the Find All in All Opened Documents, DOES find result(s), if any !

    However, note that a bad side-effect of Case B OR Case C searches, is that the search mode is, wrongly, changed from Normal to Extended

    So, if you, really, need to search for text, containing any of the five literal forms, below, and ending by its End of Line characters :

    \t \n \r \0 \\

    Just follow the few steps, below :

    Open the Find dialog ( Ctrl + F )

    Type the corresponding regexes, below, in the Find what: box

    \\t\R \\n\R \\r\R \\0\R \\\\\R OR \\{2}\R

    Check the Regular expression search mode

    Click on the Find All in Current document OR on the Find All in All Opened Documents button

    You may, as well :

    Select, first, the text, including its End of Line characters

    Open the Find dialog ( Ctrl + F )

    In the Find what: field, simply escape, with an other \, inserted before, each anti-slash character ( \ )

    Check the Regular expression search mode

    Click on the Find All in Current document OR on the Find All in All Opened Documents button

    Best Regards,

    guy038

  • Does NPP have counters?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Have "\r" in translation XML files been fixed?

    3
    0 Votes
    3 Posts
    2k Views
    scootergrisenS

    Because i think the intent is to show a new line not \r in the dialog.
    I think it will be best to write it the correct way in the source language/english so that all translators can see the correct way to do it.

  • Feature Request: Odd/Even/Nth line selection

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Claudia FrankC

    @Mich-Po

    It doesn’t seem like there has ever been a way to select every Nth line in Notepad++ for editing.

    depends what you mean, if it is about automated selection by providing a number, then no
    but manually it can be done (press CTRL while selection with the mouse)

    it would be very useful to have a feature to allow the user to select Every Nth line within a current selection.

    Could you elaborate on this? Afaik scintilla doesn’t allow to have a selection within a selection.

    Cheers
    Claudia

  • bugs with macro and plugins

    Locked
    9
    0 Votes
    9 Posts
    5k Views
    unwantedU

    inscrease line indent 2-4
    split lines
    descrease line indet 2-4
    ^(.?)$\s+?^(?=.^\1$) null
    2017 (\d+:\d+) 17
    subscribe .+$ null
    (^.{1,30}$)\R \1
    \r\r\n \n
    ^ spaces\1
    i create macro and solved more problems

  • Hex sequence bug?

    3
    0 Votes
    3 Posts
    2k Views
    guy038G

    Hello, @alessio-spleen-castello,

    Ah, yes ! You need to type in the initial number, in a decimal form, although counting will be, correctly, generated, with hexadecimal numbers !

    For instance, if your numbers sequence have to begin with the hex number 1CE, you must write the decimal form of 1CE, that is to say the number 462, as the Initial number field of the Column / Multi selection Editor

    Then, choose the Hex format and, possibly, check , or not, the Leading zeros option and click on the OK button !

    Cheers,

    guy038

    P.S. : Hexadecimal number 1CE = 1 * 16^2 + 12 * 16^1 + 14 * 16^0 = 256 + 192 + 14 = 462

  • Feature Rqst: Document Peek preview delay

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Custom font

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Launch in Firefox not working

    4
    0 Votes
    4 Posts
    3k Views
    Piotr TorteckiP

    Claudia - Thank you very much!

    I thought the bug was in Notepad++ and you pointed me in the eye that the problem is in Firefox installation - reinstallation solved the problem.

    Regards.

  • about form feed (page break)

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Search box on the toolbar

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @Godwin-F

    do you know that there is an incremental search available? (search menu)
    Maybe this suits you as well.

    Cheers
    Claudia

  • help wanted to build Notepad++ source code

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @dilki-mahindika

    could it be that you didn’t install the platform sdk?

    Cheers
    Claudia

  • <<Find and Find>> is great. Why not <<Replace and Replace>> also.

    8
    0 Votes
    8 Posts
    5k Views
    ganesh TG

    @ganesh-T this is a test reply !

  • right click after a word

    3
    0 Votes
    3 Posts
    2k Views
    Pouemes44P

    Hello claudia
    thanks for your answer, its very strange, perhaps its just a problem with my mouse (certainly) coz today i havent this problem.

  • Remembering previous files upon start up

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    John ThompsonJ

    @Claudia-Frank said:

    @John-Thompson
    Settings->Preferences->Backup
    untick Remember current session …

    Cheers
    Claudia

    Yes. that’s it! Why can i never remember this?

    Thank you

  • BASIC wanted

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @NoPro-Skills

    may I ask what BASIC languages has which can’t be done using builtin visual basic lexer?

    Cheers
    Claudia

  • word completion/suggestion to include '.' (period character)

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • tab to space as default setting

    Locked
    4
    0 Votes
    4 Posts
    31k Views
    Andy BruntonA

    Thank you so much, I just couldn’t see it!

  • Why not use dark background reducing eye stress?

    Locked
    3
  • Find result panel traduction

    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    @los-amigos

    looks like it is hard coded.

    case WM_CONTEXTMENU : { if (HWND(wParam) == _scintView.getHSelf()) { POINT p; ::GetCursorPos(&p); ContextMenu scintillaContextmenu; vector<MenuItemUnit> tmp; tmp.push_back(MenuItemUnit(NPPM_INTERNAL_FINDINFINDERDLG, TEXT("Find in this finder..."))); if (_canBeVolatiled) tmp.push_back(MenuItemUnit(NPPM_INTERNAL_REMOVEFINDER, TEXT("Close this finder"))); tmp.push_back(MenuItemUnit(0, TEXT("Separator"))); tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERCOLLAPSE, TEXT("Collapse all"))); tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERUNCOLLAPSE, TEXT("Uncollapse all"))); tmp.push_back(MenuItemUnit(0, TEXT("Separator"))); tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERCOPY, TEXT("Copy"))); tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERSELECTALL, TEXT("Select all"))); tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFERCLEARALL, TEXT("Clear all"))); tmp.push_back(MenuItemUnit(0, TEXT("Separator"))); tmp.push_back(MenuItemUnit(NPPM_INTERNAL_SCINTILLAFINFEROPENALL, TEXT("Open all"))); scintillaContextmenu.create(_hSelf, tmp); scintillaContextmenu.display(p); return TRUE; } return ::DefWindowProc(_hSelf, message, wParam, lParam); }

    Maybe you wanna open an issue here if it hasn’t been already addressed.

    Cheers
    Claudia

    Cheers
    Claudia