• notepad++ crashed, all data in file is lost!

    5
    0 Votes
    5 Posts
    2k Views
    Alan KilbornA

    @PeterJones said in notepad++ crashed, all data in file is lost!:

    the first item in the change list addresses your issue. Good timing: same day fix

    Well, maybe not such good timing, as the data has been lost already. :-(

    But the really great news is that moving forward @User-Name can continue working just like always, without a concern that he should have an independent backup strategy in place for his valuable data. Thank goodness. :-)

  • Clipboard history

    3
    0 Votes
    3 Posts
    2k Views
    Michael VincentM

    @BET_BioBE
    @Alan-Kilborn said in Clipboard history:

    Ditto […] (and certainly don’t know if you can search its entries).

    Ditto, and yes you can search its entries:

    2e37e3b3-a36f-47cf-9368-acb1b041577f-image.png

    There are tons of configurations for it - including a dark mode theme, and I just have a shortcut for “Paste” as CTRL+ALT+V so normal CTRL-V does normal paste, my Ditto shortcut launches the Ditto window you see above to select what to paste and then click or Return on the entry inserts it.

    The greatest advantage of this over Notepad++ built-in or plugin - Ditto is SYSTEM WIDE - it captures all my clipboard (including the image I copied and pasted above) and makes it available to ANY application.

    Cheers.

  • How to find all lines ending with only CR

    9
    0 Votes
    9 Posts
    5k Views
    Bjørn DidriksenB

    @Alan-Kilborn Just trying to be sort of vague to cover my ass here as I am sharing data from a customers SAP system…
    But NEXT time! ;)

    Everything went into the user manual I am writing for the use of that excel sheet, with references back here.

  • Remove any content starting from a and ending at b

    9
    0 Votes
    9 Posts
    1k Views
    Alan KilbornA

    @Neil-Schipper

    It’s inconclusive, unless OP comes back for more help.
    We’ve seen it many times.

  • "OVERWRITE" in column mode

    12
    0 Votes
    12 Posts
    2k Views
    Neil SchipperN

    @jiskapav Good that you have the more general (dimension-neutral) solution.

    If Alan (or someone else) had not provided a pythonscript solution, I would have proposed a pair of macros-with-hotkeys (one to copy, one to paste) for each dimension. Thus, 4 macros might have satisfied 90% of your need.

  • How to search many conditions automatically?

    2
    0 Votes
    2 Posts
    807 Views
    Neil SchipperN

    @Григорий-Новожилов My interpretation of your need as pseudocode:

    For each string in Condition between first occurrence on a line of // and the next occurrence of /

    For each occurrence of that same string in result, also between a leading double slash and single slash on a line

    advance count

    What I’d probably do is:

    Prepare:

    Make safe copies of both files. Obtain a modern Windows “diff” (file & directory compare) tool. You can install the Compare plugin (Plugins, Admin…), but standalone ones are friendlier and more sophisticated and there are good free options.

    Then:

    Clean both files so they contain only the strings of interest, one per line. This can be done with a macro (incorporating a {non-regex} find), or, a regex S&R. (Try learning and fooling around with these on your own. https://npp-user-manual.org/docs/searching/ If you need help, ask.) Sort first cleaned file (menu: Edit, Line operations). Sort second cleaned file. Use diff tool on the cleaned sorted files.

    Now the mismatches in counts will jump out at you, and it will be much easier to count them.

    Note that (a copy of) the cleaned (and maybe sorted, your preference) Condition file can be the start point for your report file.

    If this is still too hard (because very big files, or, many entries, or done frequently) there will be a need for more sophistication.

    Some fancy diff tools might have options to automate the counting.

  • Need to totally remove Notepad++ so I can reinstall

    4
    0 Votes
    4 Posts
    2k Views
    Terry RT

    @Patrick-Kelly said in Need to totally remove Notepad++ so I can reinstall:

    Are any of the instructions just given changed in this case?

    Yes as the portable version contains all customisations within its “installed” folder. So you just need to delete that folder to clear out the installation. That’s the beauty of the portable version, it’s self-contained.

    So your original post was a bit sparse on details, are you having a problem getting Notepad++ to run? If so what sort of problem? Can you provide the Debug Info, use ? menu, then “debug info” which can be copied and pasted here.

    Terry

  • Find And Replace has stopped working

    2
    0 Votes
    2 Posts
    964 Views
    Alan KilbornA

    @John-Colburn said in Find And Replace has stopped working:

    This no longer works

    It works.
    You have to be in Regular Expression mode for the Search mode; probably Extended mode also works.
    BUT… it isn’t a good idea to do what you’re doing, because doing exactly what you say will turn your Windows files into old Mac format files.
    You want to replace with \r\n.

  • Can't open files from local folder mapped as a network drive

    3
    0 Votes
    3 Posts
    2k Views
    SASJediS

    Fascinating! It WAS opening in Admin mode. I fixed that - and it’s working. Thanks SO much for taking the time to explain.

  • How to install webedit plugin? Why is it not visible in the toolbar?

    28
    0 Votes
    28 Posts
    9k Views
    PeterJonesP

    @Tony-Scialdone ,

    Here are the steps I used to get it working with v8.1.4-32bit:

    Use Plugins Admin to install WebEdit plugin. after the restart of Notepad++, the Plugins > WebEdit menu showed up, but there were no available actions in the menu, and nothing on the toolbar:
    274d27e8-0345-4cca-a3a9-1ce7d75f6bd2-image.png if I look in my <npp.install.dir>\Plugins directory, there is a WebEdit subdirectory, with a Config subdirectory (<npp.install.dir>\Plugins\WebEdit\Config\) Exit Notepad++. Copy the *.bmp and WebEdit.ini from <npp.install.dir>\Plugins\WebEdit\Config\ into %AppData%\Notepad++\Plugins\Config\ directory.🛈 Restart Notepad++ Now the WebEdit menu has actions, and the buttons are on the toolbar:
    2a20860e-0f44-4d9a-aec5-6d091a275f1d-image.png

    You might want to see this more recent WebEdit discussion: https://community.notepad-plus-plus.org/topic/21504/webedit-plugin-tooltips-out-of-sync

  • Notepad++ vs LAN resources

    2
    0 Votes
    2 Posts
    214 Views
    dinkumoilD

    @Evgeny-Goncharov

    Try the following: Open Preferences dialog and check this setting:

    9f5be5c0-2de9-4287-83e1-aef0672d29c3-grafik.png

  • List of all assigned keyboard shortcuts

    47
    0 Votes
    47 Posts
    32k Views
    Alan KilbornA

    @PENchanter

    I would certainly go with @Ekopalypse 's script approach in order to obtain the list of keyboard shortcuts, rather than paying any small amount of money to achieve it, but of course you are free to do as you like.

  • 0 Votes
    5 Posts
    413 Views
    SW Tool DesignerS

    @PeterJones , thank you for your help and support. I think the latest Notepad Plus 8.1.5 might have fixed this odd UI behavior.

  • clip board manager

    6
    0 Votes
    6 Posts
    720 Views
    Michael VincentM

    @Robin-Schweitzer said in clip board manager:

    my PC is old and its version of window no longer supported

    I have Ditto working on a Dell circa 2010 with Windows 7 and aside from the laptop itself being awfully slow, Ditto works fine.

    where on the menu is the built in one?

    Edit => Clipboard History

    Note, it’s only history for clips within Notepad++, not external (i.e., Windows clipboard) hence the need (desire) for something more powerful / system-wide.

    Cheers.

  • Update for the Python Plugin?

    2
    0 Votes
    2 Posts
    235 Views
    Michael VincentM

    @Tracy-Saunders said in Update for the Python Plugin?:

    I noticed that there is only support for Python 2.7

    You need to look at the Github repo, not just the Plugin Admin; you’ll see there is v3.0.9 supporting Python 3.9.6. I’ve been using the v3 train for over a year now and currently have v3.0.7 installed - since it’s supporting Python 3.8 - which my system Python is 3.8.10.

    Cheers.

  • Coloured Text Saved?

    31
    0 Votes
    31 Posts
    10k Views
    Neil SchipperN

    @PeterJones said in Coloured Text Saved?:

    @Neil-Schipper ,

    I thought you might dislike my original, so I was working on it in the background.

    I prefer you be less concerned about my likes, and, that we be in agreement that having something out there is a good thing.

    I’ve posted the “FAQ Desk: Formatting Forum Posts

    Your doc is packed with all the info one could want to get initiated into post formatting on this site.

    And from way the doc is formatted and structured it looks like it took a good many hours of serious work, far beyond anything I expected.

    I think it does a good introduction into how to format posts, so hopefully it will be a useful FAQ entry

    Yes, it does, and I hope it’s made use of.

  • How to know what documents change?

    4
    0 Votes
    4 Posts
    525 Views
    Alan KilbornA

    @Viki-Belmont

    Another approach might be to save a copy of all of the candidate files in another place. Then, after N++'s replace-in-files, use a file compare utility to compare the top-level folder of the changed files and the originals.

  • What regex to create a search limit boundary?

    4
    0 Votes
    4 Posts
    282 Views
    AporosaA

    @Terry-R said in What regex to create a search limit boundary?:

    note the inclusion of a ? changes the regex from being greedy to lazy (not-greedy)

    Thank you Terry R, not only was this a very clearly explained and effective solution, but now I understand the idea of a ‘greedy’ regex expression, something I didn’t get from textbook examples that I’d read.

  • Parameter hints on userDefinedLang

    5
    0 Votes
    5 Posts
    436 Views
    Vincent Van HumbeeckV

    @PeterJones

    Thank you very much.
    It worked!

  • 0 Votes
    16 Posts
    1k Views
    Scott NielsonS

    @PeterJones the last RegEx I typed above worked for me. I thank you you for your time, patience, help and support. I was not sure about it and thought I should ask but since you dislike it, I will ask for a solution here only if I can’t figure out what to do on my own next time. Thanks again.