• NPP not saving my notes & can't install plugins

    16
    0 Votes
    16 Posts
    1k Views
    PeterJonesP

    @ILoveSkilledCoders said in NPP not saving my notes & can't install plugins:

    @PeterJones said in NPP not saving my notes & can't install plugins:

    @ILoveSkilledCoders ,

    If you have Settings > Prefences > Backup > Simple Backup , it will

    6ea37346-9362-44d9-a26d-b6387337403b-image.png

    So if you don’t want .bak files, turn it to None

    Ok, that’s where it comes from. Do you have a link that details the differences between simple & verbose?

    The link to the specifics was found in the FAQ I already linked you to you that you claimed you would read.

    d04198bc-35e3-4054-96ad-91476dc7afbf-image.png

    The auto save isn’t working for me.

    Then you didn’t have it set up correctly. Are you sure you understood what you read in the FAQ?

    I had to redo my HD twice (this is the 2nd time it’s happened) & the auto save which is set to 5 mins., isn’t saving.

    Could you show us a screenshot of the setting that you believe is setting the auto-save to 5 minutes?

    Once I skimmed that link you gave me, I realized I had already gone into those settings ages ago. I just didn’t remember.

    You only skimmed the FAQ, rather than reading it? No wonder you’ve given yourself a false impression.

    I lost a whole days worth of updates to not just one note, but several.

    If your data is important enough that you complain when it’s lost, it’s important enough to invest a few minutes to read and understand the FAQ and the sections of the user manual that you have been linked to.

    And even in the backup folder (once I finally got access to that folder on the old HD b/c it was locking me out) there was no more recent note.

    That’s not very specific. There are three separate “backup” folders possible, one for the Notepad++ session-snapshot-and-periodic-backup and one for the Notepad++ backup-on-save and one for the AutoSave plugin.

    And I just checked C on the new HD b/c I had this for like 3 days before having to redo Win, & there was only one note there, but I’m not sure if I had gone into the backups area, but then why is there one note there?

    Where “there” is one of three places that you apparently haven’t disambiguated in your mind. If you give us specifics, including what all your notepad++ backup and auto-save backup settings are, we might be able to tell you what went wrong. If you just complain at us without giving us anything useful, then the best we can do is tell you to read the documentation that we’ve already linked and to give us specifics if you want more help.

    If it was set & I assume it’s the default for simple, right? Than all of the notes should be in there.

    The default is not set to Simple Backup, except for one or two versions (the developers tried setting Simple Backup as default for a version, but the number of complaints of “.bak files are cluttering up my hard drive” dwarfed the number of complaints from people who couldn’t figure out how to turn on simple backup despite all the documentation, so the developers switched it back off by default).

    I just don’t understand why it’s not working.

    Oddly enough, I would suggest reading the documentation when trying to figure out settings. And providing details rather than nebulous, unsupported assertions when asking for help.

    Good luck.

  • Find and copy a specific line from a file

    3
    0 Votes
    3 Posts
    605 Views
    Mobil MeisterM

    @Terry-R oh my god,
    actually completely logical, i just didn’t have the idea. thank you. notepad++ is really a super tool.

  • No Compare function box in tool bar!

    7
    0 Votes
    7 Posts
    1k Views
    XianglanAnX

    @Alan-Kilborn Thank you for your reply.

  • in a list, remove all text before character

    6
    0 Votes
    6 Posts
    7k Views
    Alan KilbornA

    @datatraveller1

    Terry is right, but the shorter version is that it saves me from having to write my response this way:

    Find: ^.*?-
    Replace: nothing
    Search mode: Regular expression
    . matches newline checkbox: Unchecked

    As you can see, many less characters to type for me to simply use (?-s)

    BTW, for those that don’t know, if the . matches newline box is checked, it effectively puts a (?s) at the start of whatever regular expression you supply in the Find what. So if your regular expression supplied is (?-s)^.*?- it becomes (?s)(?-s)^.*?- which is really just (?-s)^.*?- because the (?-s) part “undoes” what the leading (?s) does.

  • Special characters not showing on some file on some computer

    17
    0 Votes
    17 Posts
    6k Views
    Paul WormerP

    @Alan-Kilborn said in Special characters not showing on some file on some computer:

    @Paul-Wormer

    I presume you are taking screenshots using Win+Shift+s keycombo?

    Yes.

  • simple UDL highlighting Apostrophes & Quotation Marks

    3
    0 Votes
    3 Posts
    491 Views
    Christoph De WolfC

    Hello,

    This does exactly what I want, thank you very much.

    greetings,

    Christoph

  • Need Notepad++ to install on Windows 2000

    2
    0 Votes
    2 Posts
    1k Views
  • BUG with characters in extended character set

    12
    0 Votes
    12 Posts
    2k Views
    Andrew McPA

    @Alan-Kilborn ah!!! Cool, well let me rephrase…your short term memory is great :)

  • Apply macro to a selected characters in a file

    2
    0 Votes
    2 Posts
    379 Views
    PeterJonesP

    @Rom-Ortiz-Toro ,

    Any operation that works on the active selection that can be macro recorded will already work as you describe. Any operation that does not take into account the active selection is not likely to be able to work in the way you describe.

    As a first level of improvement, you could automate the copy/new/paste/actions/copy/paste sequence into one macro, rather than doing the preliminary and cleanup copy/pastes outside the macro.

    Then, depending on what the actions are, you might be able to limit them to only be in the selection, rather than the whole document. But since you’ve given us no hints as to what it might be doing, we cannot comment on whether that’s feasible for your particular macro.

    Finally, there are actions that are too complicated to turn into macros. For such actions, we often suggest switching to one of the scripting plugins for Notepad++, like PythonScript; those plugins allow you to use a programming language to automate Notepad++ to your heart’s content: they have full access to the contents of the open files as well as being able to trigger any of the actions you can take from the GUI.

  • Issues with Menus in Notepad++ and Windows 11 (OS Build : 22621.819)

    2
    0 Votes
    2 Posts
    236 Views
    PeterJonesP

    @Chuck-Rheault-0 ,

    I’m not sure I fully understand what you mean by “boxes around every menu item”: a screenshot might be helpful for us to understand the problem. I have never seen a problem with menus being to narrow or not appearing…

    If you have other programs displaying similar symptoms, then I’d hazard a guess that it’s something with the particular update of Windows 11, and not anything that Notepad++ can do anything about. (My home PC, which is Windows 11, has been prompting me to get the next update; I had been planning on doing it during Thanksgiving break next week, but maybe I’ll continue to hold off on doing that, if it’s breaking things like Notepad++.)

  • intune update

    2
    0 Votes
    2 Posts
    1k Views
    PeterJonesP

    @Karolina-Sikorska ,

    There is no official Notepad++ distribution using MSI technology. All official distributions are either self-extracting exe files or .zip/.7z

    I have seen that there are some people on the net who re-package Notepad++ into an MSI, but they are not officially distributed, and the Notepad++ developers make no guarantee or warrantee that what gets installed from any MSI is actually the official Notepad++ product: the developers have no control over whether the re-packagers have modified Notepad++ in some nefarious or other manner.

    Notepad++ developers do not support the unofficial MSI distributions.

    Official Download Sites https://notepad-plus-plus.org/downloads/ and any pages on that site https://community.notepad-plus-plus.org/category/1/announcements and the http://download.notepad-plus-plus.org/repository/ links that they reference https://github.com/notepad-plus-plus/notepad-plus-plus/releases/

    No place else is sanctioned or supported

  • Auto Complete - List only specified keywords?

    7
    0 Votes
    7 Posts
    874 Views
    J

    @Lycan-Thrope

    Ah hah. Thanks for that tip. I’m fairly sure that I don’t have the proper order then. I’ll have to take a closer look at that.

  • How to find webpages where a particular link was not added

    11
    0 Votes
    11 Posts
    1k Views
    dr ramaanandD

    @PeterJones I could do it in one step with ${0}\r\n<li><a href=otitis.html">Otitis</a></li> in the Replace All field using the Regular expression mode

  • How to change the keyword for block start?

    3
    0 Votes
    3 Posts
    263 Views
    Rory WastR

    @PeterJones I use the standard Pascal syntax, but this little thing is like a splinter) It’s a pity that you can’t change it. Thanks for the answer.

  • 0 Votes
    2 Posts
    1k Views
    PeterJonesP

    @Apple-Ono ,

    You already asked that question in your reply in this thread. And I had answered you there already. Don’t repeat yourself.

    [admin is locking the thread; replies go in the other thread.]

  • Changelog of notepad++ releases?

    2
    0 Votes
    2 Posts
    335 Views
    PeterJonesP

    @Vanshika-Warathe ,

    I don’t think I have ever noticed Notepad++ publish a change as a result of a “CVE”.

    There is definitely not an API for accessing changes. Each version comes with its own change.log. And those are all amalgamated into https://github.com/notepad-plus-plus/notepad-plus-plus/wiki/Changes . I don’t find CVE mentioned on that page anywhere, though “security” is mentioned a few times.

  • A single UDL.xml for both theme types (light and dark)?

    17
    0 Votes
    17 Posts
    4k Views
    Lycan ThropeL

    @PeterJones ,
    Interesting, but my environment is so custom done, overriding the system defaults that it’s a mess either way. :) But it seems to work.

  • Copy and paste sections with RegEx or macro?

    7
    0 Votes
    7 Posts
    2k Views
    guy038G

    Hi, @venus642, @neil-schipper and All,

    Oh… yes, totally exact and clever iniiative Neil, indeed !

    Of course, as the " character and the string ";" seemed to be separators, I presumed that they were not used within the content of the questions. But I agree that this new formulation is safer !

    So, @venus642, the second regex S/R to use is, preferably :

    SEARCH ☑(?=(?s:(?!"\R).)+";"\R)

    REPLACE

    Cheers,

    guy038

  • How do I replace a particular sentence across multiple files?

    24
    0 Votes
    24 Posts
    4k Views
    guy038G

    Hi, @terry-r,

    Of course, in absolute terms, you’re quite right about it ! But I would say that people are responsable of what they write !

    My regex finds a word Please, followed later with the nearest word E-mail, followed later with the nearest word treatment

    If, because of some typos, one or several of these 3 words are truncated or modified in any way, due to the initial (?s) modifier, the regex engine will always try to find out, by all means, a match, if any !

    Note that I suppose a possible variation by telling, in my previous post : " Check the Mach case option, if necessary "

    Thus :

    Any malformed word is just considered as stuff, part of the regex part .+?

    And for the smallest range of characters containing these 3 words in that order ( Please ... E-mail .... treatment ) :

    A <b> string is inserted before the first word Please

    A </b> string is inserted after the final word treatment

    No more, no less !

    BR

    guy038

  • Regex: How do I search for My_String [any characters] [quotation mark] ?

    18
    0 Votes
    18 Posts
    6k Views
    IanSunlunI

    @PeterJones Ah, thats good to know, thanks !