• Recent Instability in Notepad++ 7.5.6

    Locked
    2
    0 Votes
    2 Posts
    897 Views
    chcgC

    I didn’t observe such issues with this version of N++. I’m using a similar configuration except of NppExec. Which version of NppExec do you use? 0.6 beta1?

  • Replaceing using wildcard.

    9
    0 Votes
    9 Posts
    6k Views
    Zoltan MeszarosZ

    Howdy folks,

    Thanks guy038 and 古旮 for the info and reference links. I will be chewing on those for a good while, especially considering that the further I edit this thing, the more I want to automate the process thus the more I need to learn how to use expressions.

    Apologies for the response lag, internet was down for 5 days and when it came back up I was swarmed by emails. Sorry 古旮 also for the confusion, I write as I speak, and don’t always pay attention when I am using slang when composing a message. When I said “Strip the Numbers” I meant “remove that data from the file”.

    Folks, thank you all so very much for the guidance, examples, and references. I have a feeling I will be seeing this site again and again. Here’s hoping that Expressions are easier to teach myself than scripting. Peace out to y’all.

    -Z-

  • CTRL+F the "Find" window

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    redorbroderR

    I often think when it comes to computers and software, that if I come across a problem or in this case a “design behavior” as you call it, I’m not alone. :D
    So I think of keeping the “Find” window open as an improvement and more users than me would find it useful.

    Best regards

  • How to restore the all the setting of notepad++(except reinstalling)

    Locked
    2
    0 Votes
    2 Posts
    6k Views
    ITIVII

    Get the answer,inspired and trying.

    In the newest version, it’s not enough to delete all the .xml files in C:\Users\X\AppData\Roaming\Notepad++.
    You must delete files in C:\Users\X\AppData\Roaming\Notepad++\backup as well.
    Then just restart.

  • Shortcut key for File > Reload from Disk

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Patrick CoyneP

    Very useful! Thank you!

  • Notepad++ crashed with NULLs.

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    PeterJonesP

    Unfortunately, you’re not alone. Comptuer crashes can cause unexpected behavior, and so far, no one in the development team has been able to reliably replicate and thus debug how to prevent the problem. This is officially tracked in issue #2381

    Regarding the specifics of your instance: you mentioned checking in %AppData%/Notepad++/plugins/config/NppFTP/Cache… but that’s only used to cache files if you’re using the NppFTP plugin to edit remote files (on your webserver, or similar). The right directory location for Notepad++'s backup (assuming you have Settings > Prefrences > Backup enabled) would be %AppData%\Notepad++\Backup: did you check there? Also, if you used a “local”/portable version (check ? menu > Debug Info, and look for “Local Conf mode:”; if it says ON, then it’s “local”), then the backup directory would be a subdirectory of your whatever directory notepad++.exe is in, rather than in the %AppData% hierarchy.

    Unfortunately, if it’s not there, there’s probably not much we can do to help you recover it. However, you’re luckier than some, if your statement that “whatever data I had saved till yesterday is also fine” means that you did have your own backup somewhere, and that you’ve just lost the most recent edits. (If not, for the future, I highly recommend that you keep a backup of any important data**. This can be done with dedicated backup software, or with storing your files in a service like dropbox or one drive or google drive or similar. Or using version control software, such as git or subversion.)

    History:

    Back in December 2017, @chcg summarized the history of the topic up to that point: https://notepad-plus-plus.org/community/topic/14945/rare-null-write-glitch/2, which @Scott-Sumner updated in January (https://notepad-plus-plus.org/community/topic/15112/attempt-to-recover-files-after-npp-blank-2-files-after-error-missed-the-error-msg/2)

    Since then, there have been at least a few more posts on the issue in this forum (incomplete):

    https://notepad-plus-plus.org/community/topic/15549/help-my-pc-crashed-while-editing-and-deleted-my-whole-document/2 https://notepad-plus-plus.org/community/topic/15531/nul-nul-nul-problem-notpad

    In March, I posted (https://notepad-plus-plus.org/community/topic/13302/fix-corrupted-txt-file-null/19) that I’d tried to force Windows to crash, but no matter what I did, I could not replicate the NUL-file issue. And @Scott-Sumner had tried the same thing some time earlier, as he revealed in the next post, with the same could-not-repeat-it results). This is a difficult issue to debug, and until someone steps forward with a reliable method of repeating it, it’s probably not going to get fixed.

  • Ensure named files saved on exit

    5
    0 Votes
    5 Posts
    2k Views
    Scott SumnerS

    @Greg-Smith

    Well, here’s the way I have mine set, and I get:

    session restore (to pick up with the files I was working with last time) prompted upon exiting to save any red tabs (unsaved files)

    Imgur

  • Previous installation not detected?

    Locked
    1
    0 Votes
    1 Posts
    707 Views
    No one has replied
  • removing whitespace between columns in a .txt data file

    Locked
    8
    0 Votes
    8 Posts
    14k Views
    Too GladT

    @Herb-Martin

    Many thanks Herb-Martin for your suggestion. Much appreciated.

  • Error on version 7.5.6 when exiting

    Locked
    1
    0 Votes
    1 Posts
    573 Views
    No one has replied
  • Need help mass replacing text.

    6
    0 Votes
    6 Posts
    2k Views
    Reece Asquith-JepsonR

    I have 2 versions of the same file one which has all text in Japanese and one has part Japanese and part English. i can upload both versions of my files if that would help with the explanation.

  • Windows 10 - Notepad 7.5.6 - File Associations is for Uninstall!

    Locked
    1
    0 Votes
    1 Posts
    712 Views
    No one has replied
  • Notepad automatic transfer problem

    Locked
    1
    0 Votes
    1 Posts
    880 Views
    No one has replied
  • Is there a way to easily list out (as text) the current key assignments?

    5
    2 Votes
    5 Posts
    2k Views
    Herb MartinH

    @Scott-Sumner “No” to such a question is very useful. If it is wrong then it will prompt someone to correct it, and as the correct answer will save time – we can stop looking and figure a workaround or spend energy elsewhere.

    I don’t do a lot of open source coding – not enough spare time to follow through fully, but this one MIGHT motivate me as it should be easy (the data is obviously there and even obviously in a form that would make it pretty easy since the key mapper shows it.)

  • 0 Votes
    1 Posts
    666 Views
    No one has replied
  • Scripts: Creating & Editing

    7
    0 Votes
    7 Posts
    25k Views
    MAPJe71M

    CS-Script plugin - uses C#-script language and is available for both 32 and 64 bit Notepad++.

  • TWO RESULTS IN A SAME LINE

    Locked
    2
    -1 Votes
    2 Posts
    793 Views
    Herb MartinH

    Can’t figure out what you want to replace exactly (from the description) but based on the title and general idea I 'll give an example that you might modify to achieve your real goal:

    I want to find lines starting with abc and change MISTeak later in the line to CORRECTED without changing anything else, using Replace dialog with Regular expresions:

    Find: ^(abc.*)MISTeak

    Replace: $1CORRECTED

    ^ start of line match only
    ( ) parens “capture” whatever is between them, you must write ( or ) if you need to match a real paren
    abc – match literally abc
    .* any characters, as many as are found including NONE.
    MISteak : those literal characters (can be marked case sensitive or not)

    $1 replace what you found in FIRST paren set, if you had () and () the $2 would be 2nd capture etc.

    Save your doc, try it, use undo if you make a mistake and if you seriously foul it up reload the saved doc from disk.

    Weakness (which can be fixed): What if MISTeak appears more than once in the line – there are ways to fix that too.

  • 0 Votes
    2 Posts
    758 Views
    Herb MartinH

    Two ideas:

    If you have Line numbers enabled then clicking out there selects an entire line and allows you to easily drag mark multiple lines.

    I didn’t know that until trying to answer your question so thanks for helping me learn something.

    When I select in the FIRST column and drag it marks lines – it’s easy to mark just on line that way or a long section, but then thatn’s the way I have been doing it for years, maybe decades (How long has NP++ been around?)
  • Failure in displaying Chinese characters

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • RegExpr search for utf8 chars not working anymore?

    Locked
    9
    0 Votes
    9 Posts
    3k Views
    EsboutiqueE

    @MAPJe71 Hi, you are quite right! Sorry for being such an IT-nitwit. But I will remember this for future questions, so thanks.

    Wasn’t my intention to get anyone to do my job, but I have spend to many days searching how to work with Notepadd++ that I have run out of time (so I put in my time and effort to get it down, but I cannot get aquinted with npp so quickly).

    I am really not good at forums and asking for help. I guess this was just a random panic reaction (also speaking the same language did it for me).
    I just found out that I can delete my messages so I will do so in order not to disturb the topic that I am posting this on. But just for getting this out to you, I quickly put it here.

    Thanks again and sorry for messing this topic up a little!

    Bye