• How can I restore my old backup files?

    Locked
    2
    0 Votes
    2 Posts
    19k Views
    glennfromiowaG

    The simple solution is to open the files in the backup folder with Notepad++, possibly doing a Save As or Rename to put them in a different location after opening.

    Ideally, if you had also backed up the session.xml file in AppData\Roaming\Notepad++, you could theoretically restore that file also and have it restore your session. However, it’s very finicky, and if any small detail has changed (path, for example) for any file, it will simply not open that file in the session. So the more reliable solution is the simple one above.

  • 0 Votes
    5 Posts
    6k Views
    glennfromiowaG

    You can find the link under Resources on the Notepad++ home page. To get Plugin Manager, navigate to http://www.brotherstone.co.uk/npp/pm/ There are installation instructions there also, but basically, you unzip the file and copy both the plugins and updater sub-folders from the zip file to your %ProgramFiles%\Notepad++ folder.

    Also, I believe the most current version is v1.4.9. :) No, I don’t know why the most current version of the Plugin Manager is not included with the install. :( I’m on 1.4.9 and it seems to work well.

  • How to return multiple lines before and after the search term

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Scott SumnerS

    @Matthew-Hinkle

    Not natively, but you could give the LineFilter2 plugin a try. It has options to show lines before and after matches:

    Not sure if this is a downside for you or not, but it puts the results in a new editor tab window…

    If this (or ANY posting on the Notepad++ Community site) is useful, don’t reply with a “thanks”, simply up-vote ( click the ^ in the ^ 0 v area on the right ).

  • How to put word between the symbols?

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    glennfromiowaG

    @abolfazl-yaasi Thanks so much for posting a screen shot! That really helped to tell what was happening. You need to have the Regular expression selected at the bottom left of the dialog, instead of Extended.

  • Removing everything but the content of certain HTML tags

    3
    1 Votes
    3 Posts
    5k Views
    Eugene FishgalovE

    This worked well! Thank you!

  • Regular search between symbol.

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Victor FatalV

    It’s just wonderful, thanks for the detailed response. Thank you very much!

  • save file name with parameter

    Locked
    1
    0 Votes
    1 Posts
    964 Views
    No one has replied
  • Regex to match file and version number

    2
    0 Votes
    2 Posts
    2k Views
    CyBrianC

    Hey Pat

    The regex \w+.*? seems quite wide - it will match “any set of one or more word characters (equal to [a-zA-Z0-9_]”

    Are you using a global switch? e.g. /\w+.*?/g (as a javascript regex object)
    Without it, it will only run the match once, stopping after matching bubba

    Also, the ? makes the + lazy, so it will only match as little as needed - remove the ?
    e.g. /\w+.*/g
    (it should be returning the file name and version now and, depending on the text being matched, a lot of other stuff)

    A white space character (e.g. /\w+\s./g ) or space (/\w+\x20./g) character after \w would also limit the matches.

    An end anchor $ does not require CRLF. In fact /\w+\x20.$/g would only match the last line with the file name and version.
    Add a multi-line switch (e.g. /\w+\x20.$/gm) if there is only one match per line

    Finally, we probably need to limit .* to match only numbers and periods
    e.g. /\w+\x20[0-9.]+$/gm

    When I run document.body.innerText.match(/\w+\x20[0-9.]+$/gm) against this page in the console I get
    (2) [“bubba 1.2.11”, “POSTS 66”]

    Check out [Filename and Version on RegEx101.com - a great resource] (https://regex101.com/r/a0fnej/5)

  • Notepad++ Want to keep all files on next open

    Locked
    3
    0 Votes
    3 Posts
    8k Views
    sherriekubisS

    “No cloud” is picked. I can save a file to that directory from WordPad. Under Backup Remember current session, and Enable session are both picked.

    The backup path gets set somehow that I can’t figure out, on the Win 10 PC it’s different. But in either case, it can’t be modified. Maybe I’ll try to uninstall, but it’s really just an unzip to a folder, so I’m not sure where it’s getting it’s path from.

  • Real Help wanted!

    4
    0 Votes
    4 Posts
    6k Views
    glennfromiowaG

    Hi all, just a note that, as of version 7.4.2 at least, @guy038 's final tip to reference the documentation from within Notepad++ no longer works. Shortcut Mapper\Main menu line 227 is now OEM 863 : French. Also be aware that some links in the 6.6.4 documentation still point to SourceForge, which Notepad++ moved off of at least a couple of years ago.

    I haven’t done any research, but does anyone know why we stopped updating the wiki? There’s some good information in there, but it’s obviously not being updated. I’d be willing to help with documentation/help files if there’s a project to update it.

  • function to replace ASCII CR & LF chars eg by spaces

    6
    0 Votes
    6 Posts
    4k Views
    glennfromiowaG

    @ElectrONICs-And-SYStems There is somewhat of a help for characters and codes in ASCII included with Notepad++. In the Edit menu, select Character Panel, and it will display the ASCII characters and codes.

    @MaDill The Find/Replace dialog box does save some number of recent searches; however, it does not allow you to save favorites like the program you used appears to. I know there’s been some discussion on how many searches can be saved, and how to possibly increase that.

    It’s not a bad suggestion, but some users posting here claim that each RegEx is generally unique. However, I for one, do like to have someplace to start when I create a RegEx. Currently, I use a text file with significant RegEx strings and descriptions of them. A limited number of “favourites” would be helpful.

  • Disable Ctrl+mousewheel zooming

    9
    0 Votes
    9 Posts
    6k Views
    gstaviG

    If you want to interact with NPP (few) developers go to its issues board.
    And you should definitely work on your tone if you want some cooperation to actually make a difference.
    You better actually build it and observe the code before you make suggestions.

    NPP is far from perfect but it is still better than the alternatives.
    Do your homework before you start your aggressive approach. This forum is filled with smarter people but most contributions to NPP user base are via suggestions, workarounds and plugins. Actual changes in the core product come in slower rate and this forum has little to do with them.

  • Selection moving everything

    2
    1 Votes
    2 Posts
    1k Views
    Andrés ZsögönA

    You mean, to prevent horizontal scrolling while selecting text? That would be great.

  • ForcePureLC behaving oddly

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Ctrl + D stop working

    2
    0 Votes
    2 Posts
    2k Views
    StanDogS

    I tried it with the current version of Notepad++ 7.4.2 and it works as it should.

    Does the shortcut mapper still show in the tab “Scintilla commands” for line 16 (SCI_SLECTIONDUBLICATE) the shortcut Ctrl+D? Also, did you installed new plugins recently? I would recommend to disable all plugins temporarily. Maybe one of them is overriding the shortcut.

  • bulk-edition of more than 8000 files

    Locked
    3
    1 Votes
    3 Posts
    2k Views
    Eric ForceE

    Hi Holger. I might be able to help . Just go to my contact form below and send me a sample file. Best regards, Eric Force

    http://ericsbanners.com/contact.htm

  • Notepad++ HTML Attribute Value suggestions, how to?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Margins - formatting for printing

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    MAPJe71M

    Yes there is.

  • JavaScript Function List not working

    4
    0 Votes
    4 Posts
    7k Views
    t12122013 FinkT

    Hi
    I found that javascript function list does not work when there is a comment between the function (parameter list) and the opening curly bracket { of the function body.
    My solution is to remove the search for curly bracket {.
    In addition I added the construct d = new Function(“parameter1”,“parameter2”,“function body”).
    I tried a lot of things, changing the commentExpr did not help. I frequently do have comments between the function header and the opening curly bracket of the function body.

    It concerns the mainExpr

    mainExpr=“((^|\s+|[;}.])([A-Za-z_]\w*.)[A-Za-z_]\w\s*[=:]|^|[\s;}]+)\s*(?:new\s*)?function(\s+[A-Za-z_]?\w*\s*([^)(])|([^)(]))”

    (please excuse my formatting, and for tail-posting. I want to post my findings but I’m not fluent).

  • lost session for the nth time. Change from notepad++?

    Locked
    5
    1 Votes
    5 Posts
    3k Views
    Andrés ZsögönA

    I’ve just suddenly ended the N++ process and my session (with all changes) was correctly restored later. Anyway, a forced shutdown is not an elegant way to close Windows, it seems the problem lies at some point between the keyboard and the chair in this case.