• Pagebreaks in Notepad++

    19
    0 Votes
    19 Posts
    7k Views
    Charles W BillowC

    OK guys. Thanks.

  • Notepad++ crashes unexpectedly

    4
    0 Votes
    4 Posts
    1k Views
    EkopalypseE

    @Aj-Anning said:

    Is there a way to be email notified when this post is updated?

    Not that I’m aware but maybe someone else knows.

  • Change middle-click behavior in Notepad++?

    4
    1 Votes
    4 Posts
    2k Views
    PeterJonesP

    @Alan-Kilborn said:

    Since I have NEVER in almost 30 years of computing used a 3-button mouse (or a touchpad with that)…do you have to be pointing at the tab to close it, or will it close if your mouse cursor is anywhere within the editing area of a tab’s window?

    I believe I had one at one point, but could be wrong. I currently have a two-button-plus-scroll-wheel, and the wheel is clickable. If I middle-click (ie, click the scroll wheel) in the main editor, nothing happens, so that’s good. If I middle click anywhere on that file’s tab in the tabbar, it will close that tab – it does, however, ask me to save any changes first, and I can cancel at that point; if the file was already saved, then it will close without a prompt, so I can confirm similar behavior to the OP.

    If @Brian-Bowers has a saved file that accidentally gets closed, he can re-open it quite quickly using File > Restore Recent Closed File (which either has a keyboard shortcut, or can be assigned one in the Shortcut Mapper)

  • Folding block is missing with back-tick quotes

    1
    0 Votes
    1 Posts
    587 Views
    No one has replied
  • Alternatives to Notepad++?

    4
    0 Votes
    4 Posts
    1k Views
    Alan KilbornA

    @Steven-Haymes said:

    much bigger plugin community

    I think N++ offers a decently-sized choice of plugins, but as I’m not familiar with vim, maybe I’m miscalibrated. :-~

  • RegEx Search and replace setup

    10
    0 Votes
    10 Posts
    2k Views
    Alan KilbornA

    Tweak to template due to editing error and not completely checking before posting (did I get it completely right this time? hmmmm):

    Bring up the **Find** window (ctrl+f). Bring up the **Replace** window (ctrl+h). Bring up the **Find in Files** window (ctrl+shift+f). Bring up the **Mark** window (*Search* menu > *Mark...*). **Find what** box: `` **Replace with** box: `` **Replace with** box: ***make sure this box is empty!*** **Search mode**: Normal Extended Regular expression **Backward direction**: unticked **Match whole word only**: unticked **Match case**: unticked **Wrap around**: unticked **. matches newline**: unticked **In selection**: unticked **Bookmark line**: unticked **Purge for each search**: unticked Press the **Find Next** button. Press the **Count** button. Press the **Find All in All Opened Documents** button. Press the **Find All in Current Document** button. Press the **Replace** button. Press the **Replace All** button. Press the **Replace All in All Opened Documents** button. Press the **Find All** button. Press the **Replace in Files** button. Press the **Mark All** button. Press the **Clear all marks** button.```
  • MAX size limit - Folder as workspace

    1
    0 Votes
    1 Posts
    372 Views
    No one has replied
  • 0 Votes
    2 Posts
    494 Views
    andrecool-68A

    @Lennart-Ingemann-Nielsen
    If I am not mistaken, then all settings are stored in the config.xml file which is located in the Notepad++ directory.

  • Malformed Link on Homepage for Downloads

    1
    0 Votes
    1 Posts
    349 Views
    No one has replied
  • https://notepad-plus-plus.org/ - Is the website down right now??

    2
  • how to change all these file names quickly

    7
    0 Votes
    7 Posts
    18k Views
    Prahlad-Makwana4145P

    To rename multiple files, use this command syntax and press Enter:

    ren .ext1 ???-new_filename_part.

    Command syntax example:

    ren .jpg ???-hikingTrip.

  • Plugins Admin: add plugin release date to sort plugins

    18
    6 Votes
    18 Posts
    4k Views
    cmeriauxC

    Thanks Alan for the clarification. My English is not so good.

  • Adding leading zeros or additional leading space for line numbers

    7
    1 Votes
    7 Posts
    2k Views
    Alan KilbornA

    @guy038 said:

    …zoom…

    But if it is really a factor for you, you could put it in a zoom-notify :

    try: zoom_notify_installed except NameError: def callback_sci_ZOOM(_): editor.setMarginWidthN(0, editor.textWidth(33, "12345678")) editor.callback(callback_sci_ZOOM, [SCINTILLANOTIFICATION.ZOOM]) zoom_notify_installed = True editor.setMarginWidthN(0, editor.textWidth(33, "12345678"))

    (for Pythonscript; I don’t know the Luascript way of doing that)

  • File length is too large and lines number can not show completly.

    3
    0 Votes
    3 Posts
    640 Views
    PeterJonesP

    @Terry-R said:

    Do you have the Notepad++ view narrow?

    I ran a quick experiment: yes, if you shrink the window width too far, you can cut off part of the “lines: ####” display.

    That’s likely the OP’s problem

  • could I change CR LF symbol and color? like eclipse style?

    3
    0 Votes
    3 Posts
    666 Views
    Eric WangE

    @Ekopalypse

    like the link below, but I jest wang the CR LF not so conspicuous.

    link

  • Basic line number replacement

    3
    0 Votes
    3 Posts
    753 Views
    rossjparkerR

    Can you post same sample text showing the original and what you would like it to be?

  • RECUPERATION OPTIONS ET LISTE FICHIERS OUVERTS de V 6.8.6 vers 7.7.1

    1
    0 Votes
    1 Posts
    402 Views
    No one has replied
  • Code folding; files going between Linux and Windows

    8
    0 Votes
    8 Posts
    4k Views
    Rahul JhaR

    With reference to previous post, please see screenshot here:

    https://imgur.com/a/aaky5Rx

  • 7.7.1 not responding

    1
    0 Votes
    1 Posts
    522 Views
    No one has replied
  • Find/Replace & deleting

    8
    0 Votes
    8 Posts
    2k Views
    guy038G

    Hello, @dave-dyet, @terry-r, @peterjones and All,

    Here is a 3rd possible solution :

    SEARCH (?s-i).+?(\u.+?)(?=<)|(?s).+

    REPLACE ?1\1\r\n ( OR ?1\1\n for Unix files )

    Notes :

    The remainder of text, near the very end of file, is just wiped out. Indeed, when the second alternative (?s).+ is used, the group 1 does not exist. So, no replacement is done, because of the conditional replacement ?1....

    I used the \u syntax which matches, when sensitive search is processed, any uppercase letter of any occidental Unicode script ( Latin, Greek, Cyrillic,… ). It’s probably useless, as in English/American language, no country begins with an accentuated character, anyway ! However, regarding this specific case, writing (?-i)\u is as easy as writing (?-i)[A-Z] ! Refer to the list of sovereign states, below :

    https://en.wikipedia.org/wiki/List_of_sovereign_states

    And we get the text, below :

    Africa Angola Argentina Armenia Asia Australia Australia > New South Wales Australia > Northern Territory

    Peter, from your solutiion, I built a new version, which can do all the job, in one go ;-)) So, here is the 4th version :

    SEARCH (?-s)<.+?>|^\h*\R?|(.+?)(?=<)

    REPLACE ?1\1\r\n ( OR ?1\1\n for Unix files )

    Notes :

    This regex allows the pertinent items to begin with an lowercase letter, either !

    If group 1 does not exist, then the <.....> blocks OR possible leading blank chars, followed with a possible line-break, are deleted

    If group1 does exist, then the different items of the drop-down list, are listed, as usual, one per line

    Best Regards,

    guy038