• Function List Location

    4
    0 Votes
    4 Posts
    401 Views
    Tracy FeistT

    Never mind. I somehow was able to re-attach vertically.

  • Updated and lost my list of open files

    7
    0 Votes
    7 Posts
    521 Views
    PhilCxP

    @PeterJones said:

    Ah, it appears you updated to a recent version (hopefully v7.7.1) from a really old version (v7.5.9 or earlier), and didn’t realize that the plugins hierarchy was changed.

    Aha! I believe you are correct. Thanks for the tip, Peter. I will do some cleanup.

  • UDL commenting doesn't use 'maximum munch'

    3
    1 Votes
    3 Posts
    308 Views
    darkmxD

    Thank you very much!

  • Find and delete all text after //

    7
    0 Votes
    7 Posts
    2k Views
    Alan KilbornA

    @supasillyass said:

    Try it

    It works; apologies for the mistake.

  • 0 Votes
    2 Posts
    4k Views
    PeterJonesP

    @Mahmoud-Mohammed ,

    Your existing session (ie, already opened files) should have been saved in %AppData%\Notepad++\session.xml, and when you upgraded to v7.7.1, it should have kept the existing session.xml. And the list of recently-used files should have been kept and automatically used from %AppData%\Notepad++\config.xml.

    If that didn’t happen, either you had a non-standard installation of your old version, or did a non-standard installation of the new version (or both). Or maybe you did a complete uninstall without saving the %AppData%…

    Other than that, I’m not sure what could have gone wrong to overwrite your session.xml and/or config.cml

    If both are non-standard, you might be able to recover: if they were both local/portable/zip instead of “installed”, then you just have to browse to the old-unzipped-directory, grab those two files, and paste them into the new-unzipped-directory.

    Unfortunately, if you overwrote the only session.xml and/or config.xml files, then those lists are gone (unless you have backup software that’s running and that backs up your %AppData% hierarchy).

    If you’re talking about “what happened to my files that I had left open-and-unsaved”, those temporary files are stored in %AppData%\Notepad++\backup\ for normal installation, in <unzip-dir>\backup\ for local/portable/zip, and in the directory indicated by Settings > Preferences > Backup > Backup Path if that setting had been changed.

    If none of those help, the files are likely gone. Sorry. There are data-recovery programs out there (I’ve heard tell of recuva, or some such, but cannot vouch for its safety or effectiveness). Unfortunately, as with any application, the onus is on the user to make sure that all files are properly saved in known locations, and that backups happen often enough that no critical data is lost. Applications can help you, but in the end, your data integrity is your own responsibility.

  • Folder as Workspace (Auto Expand)

    3
    0 Votes
    3 Posts
    3k Views
    Pat SinclairP

    Greetings Alan:
    I would prefer not to have a “tweak”. I would rather it be built in. Guess I was just wanting a feature add.

  • Cant select 64-bit version as default text edit program in win 7?

    6
    0 Votes
    6 Posts
    7k Views
    Maksum SaidiM

    This fixed it for me.

    It’s been bugging me for years. Ten minutes with regedit made notepad++ appear as an option in “Open with->Choose default program”.

  • How can I open 2nd window of Notepad++ after restart of windows10

    6
    0 Votes
    6 Posts
    6k Views
    PeterJonesP

    @Syed-Abdul-Zuber ,

    Alan is right. The solution of @gurikbal-singh did not solve my problem.

    Understood. Did you try what @Ekopalypse suggested?

    If you want to use multiple npp instances with different files you need to store each of them as unique sessions.

    In case you are unsure how to do that: in each instance of Notepad++, once you have each set up the way you want, you can do a File > Save Session. When you re-open the multiple Notepad++ instances, in each instance you can go to File > Load Session and load the appropriate session for that instance.

    If you follow the advice in this post, you can actually set up the file extension .nxml to be a Notepad++ Session file, so you can just use Windows Explorer and double-click on the session file, and it will open your session. However, you’ll want to change step 9 to (Default) = "%ProgramFiles%\Notepad++\notepad++.exe" -multiInst -openSession "%1" %* (i.e., add the -multiInst option to the command listed in the other post), so that each .nxml session will open in a separate Notepad++ instance.

  • Find and Replace Iteration...

    16
    0 Votes
    16 Posts
    8k Views
    ganesan govindarajanG

    Thank you so much @guy038

    You Genius!! in this field…

    Thanks
    Ganesan. G

  • Regex in functionList.xml

    4
    0 Votes
    4 Posts
    3k Views
    MAPJe71M

    Some remarks:

    use “proper” double quotes i.e. ASCII \x22 only; rename funcNameExpr to nameExpr (funcNameExpr-node is only used when the function/functionName-node is part of a classRange-node). remove displayMode="$functionName", it isn’t used anyway
  • Cannot install plug-ins in new NPP 7.7.1 64-bit installation

    3
    0 Votes
    3 Posts
    3k Views
    Chris LoschenC

    Thanks @dinkumoil. I hadn’t tried setting NPP into admin mode. When I did, not only would it allow me to set my proxy data, it then allowed me to install all of my plug-ins too. Problem solved – thank you very much!

    Best regards,
    Chris Loschen

  • PHP Styling on Files with Non-PHP Extension

    3
    0 Votes
    3 Posts
    3k Views
    JoeBoxer35J

    Alan,

    Thank you, I didn’t realize it was that easy. I saw the language menu and looked in “P” but that only had Pascal, Perl, etc. I didn’t see PHP at the bottom of that list.

    Thank you for helping me out so quickly !!! Much appreciated.

    Joe

  • Double line break for folding close

    3
    0 Votes
    3 Posts
    701 Views
    boeghB

    Yes it is that code folding, that I would like to use for folding sections in Markdown documents. I have an example screenshot here, that shows This is headine 2 (please ignore the formatting etc.) being folded, while 1 and 3 are not. In this example I am using three dashes ( — ) to mark the close of the folding ((screenshot here)[https://imgur.com/a/NdRTawX]), but what I would like to do, is to use a double linebreak (((EOL))((EOL))) as the closing tag instead. But that doesn’t seem to work :(

  • 0 Votes
    2 Posts
    732 Views
    EkopalypseE

    @Eddie-Ashford-Jr.

    if there is a shortcut conflict, open shortcut mapper from the settings menu and resolve it.

  • Sad Person with an XML file and 500 numbers

    15
    0 Votes
    15 Posts
    2k Views
    Alan KilbornA

    It’s not uneducated nor is it pettiness; it’s simply reading what people take the time to write in responses. If you do that and it still doesn’t work, read it (and try it) again. Of course, sometimes the help is wrong as well, so after a couple of tries and fails it’s probably best to ask. But we’re all about solutions here, and it sounds like you have one, so there we go, another success story. :)

  • -1 Votes
    4 Posts
    654 Views
    PunkN13P

    My apologies… I often forget that my sense of humor is not everyone’s cup of tea. I have been searching for solutions endlessly which I’ve found (after submitting my original post) that I was wrong in thinking that Papyrus Plugin is a Notepad++ plugin. Unfortunately, learning that has not helped me further my quest for solutions. Since I know [now] that it’s not as well-known as I previously thought… I feel silly for not providing the detailed description of the problem. It also doesn’t help that there really is no description to give. I would download the plugin from github & install; but it just simply would not work. N++ wouldn’t even recognize it to show it in the Plugins Tab, but has no problem recognizing all other plugins. I’m not sure if I should delete this original post — since it’s clear to me now that I’ve posted in the wrong forums — or leave/edit it in case somebody else comes across these forums looking for the same answer.

  • Update R language Folding in code keywords

    4
    0 Votes
    4 Posts
    477 Views
    EkopalypseE

    @Allan-R

    not exactly as an export/import action but as copy/paste for keywords.
    The keywords are listed in the langs.xml.

  • Wrong parsing for C function

    5
    0 Votes
    5 Posts
    635 Views
    neacsumN

    Yes, it seems that way. One more thing: if I change the language to C++ the issue goes away. It is probably related to the horrendous regexps used for parsing C function definitions but I’m not smart enough to figure it out.

  • 0 Votes
    9 Posts
    2k Views
    EkopalypseE

    @Alan-Kilborn

    unfortunately I can only upvote once. You are right!!!

  • 0 Votes
    3 Posts
    4k Views
    Michael VincentM

    There is also the PreviewHTML plugin that may work. Not sure how well it renders; it’s based on the installed Internet Explorer versions.