• What is the correct way to update NPP?

    4
    0 Votes
    4 Posts
    798 Views
    Alan KilbornA

    @Fade-To-Gray said:

    can you tell me why I don’t receive any notifications of replies?

    If you mean like email notification, well, this site just doesn’t work that way. You have to check back to see replies. If you want to just do a quick check, the little bell icon in the upper right will have a white-on-red number in it if any threads you create have replies, or you are “@ mentioned” in any other threads…or if any of your postings are “upvoted”.

  • NPP Erasing all or part of a file changed while open

    12
    0 Votes
    12 Posts
    2k Views
    Steve ValliereS

    I can share it, but it is NOT being called in the scenario I have described. I have a breakpoint in the Visual Studio debugger when any call to WriteProfileString is made and it is not being hit. I am NOT activating the configuration tool, which is the only thing that even CONTAINS calls to WritePrivateProfile string. What my program IS doing, is monitoring the directory for changes and calling GetPrivateProfileString (many times) after the file was changed with NPP.

    The issue seems to occur if I make ANOTHER change with NPP and try to save within a few minutes of my program re-reading the INI file. That is RE-READING.

    If I look at the directory when NPP reports that the file NPP just tried to modify was locked, the file size shows as ZERO and trying to use ‘type’ to view the content at a CMD prompt shows the file is empty. The content will be “magically” restored if I tell NPP to give up writing to the file, and NOT to save with a new name and then tell NPP NOT to reload the file after NPP (erroneously, IMHO) reports that the content changed.

    If the file content changed, NPP did it. I’m afraid I am not likely to believe that Windows File Explorer is changing the file content, and I can prove my program isn’t writing to it, both by using procmon to see that the only write operations come from NPP, and by using the debugger to catch any attempt to call the write functions.

  • Search - end of file

    6
    0 Votes
    6 Posts
    1k Views
    PeterJonesP

    @Alan-Kilborn said:

    editor I used for a long time previously used similar verbage for the feature.

    I just pulled up the IDE for the proprietary programming environment I use, circa 2005, and it uses “wrap” for the search as well. Maybe it’s an English (or American English) idiom which has worked its way into the official Computer-ese jargon.

    @Ekopalypse :

    Thinking about wraps, the things to eat, I thought what should be wrapped?

    The food gets its name from the verb “to wrap”, which in the Peter Standard Dictionary might be defined as “to surround (often snugly) with something”. In the food, you are “wrapping” the tortilla around the innards of the sandwich; for the search, you are “wrapping” the search position snugly around the whole document.

    The wiktionary entry’s item#7 in the verb definition is probably more where the search-wrap came from: “To (cause to) reset to an original value after passing a maximum.”.

  • malwarebytes found a Trojan.FakeNPP

    Locked
    10
    1 Votes
    10 Posts
    7k Views
    donhoD

    AFAIK, except the bad quality of anti-spyware, a lot of anti-spyware are the spyware in disguise.
    Choose your anti-spyware carefully.
    I use my common sense as anti-spyware.

  • Will the Old Obsolete Icon ever come back?

    5
    0 Votes
    5 Posts
    1k Views
    John Smith52J

    @Alan-Kilborn said:

    @Andrei-Mincov said:

    I’m sure that some good stuff has been added since 7.0

    Surely.

    And I’m not using it because of the icon

    Truly one of the dumbest things I’ve ever heard on this forum.

    I have to agree with Alan.

  • From IP list to IPTables blacklist

    4
    0 Votes
    4 Posts
    828 Views
    Fabio grossiF

    Thanks!

  • Links are borken on community page

    3
    0 Votes
    3 Posts
    536 Views
    PeterJonesP

    to save the image click for future readers, embedding the above linked-image:

  • Always on top as default

    2
    0 Votes
    2 Posts
    666 Views
    Alan KilbornA

    @amirrammari

    You could likely script it to run on N++ startup with a scripting plugin, or perhaps NppExec…

  • Highlighting matched single and double quotes.

    7
    0 Votes
    7 Posts
    3k Views
    Alan KilbornA

    @Frank-Hutterer said:

    I don’t see the nesting in your examples

    Seriously?

    "did you hear, John asked 'why did you say "the end is nigh"?'"

    Seems pretty clear to me the the end is nigh 's quoting is nested inside the quoting of the whole thing.

    The rest of your posting doesn’t make much sense to me either; guess I just don’t “get it”.

  • 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
    607 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
    386 Views
    No one has replied
  • 0 Votes
    2 Posts
    499 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
    362 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.