• Control-Shift-S "save all file" repeats dialogue again and again

    19
    -4 Votes
    19 Posts
    868 Views
    artie-finkelsteinA

    What about a hybrid between @Alan-Kilborn & @mere-human earlier selection?

    (please excuse the ugly artwork example:
    idea.jpg

    additions/changes/tweaks:
    “new 9” updates to the next file for each single press of ‘Yes’ or ‘No’
    ‘Yes’ saves the file in question, ‘No’ doesn’t and both skip to the next file
    ‘N’ counts down as Yes or No are pressed
    add a balloon hint to ‘Yes to all’ to show the ‘Can be changed in preferences’ hint.

    The part I’m not sure about is: What to do when the list of N+1 files has been presented and there are still unsaved files. My first thought is that’s the job of the ‘Close’ dialog as the ‘Save All’ dialog has completed it’s job. My second thought is to ask for ideas.

    BTW: I’d rather see ‘Yes to all’ be rewritten as ‘Yes, save all’

  • NUL - I try to recover an html/txt file. But how can I read this?

    3
    0 Votes
    3 Posts
    263 Views
    Neculai I. FantanaruN
    Notepad++ v7.9.5 (64-bit) Build time : Mar 21 2021 - 02:13:17 Path : D:\Program Files (x86)\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : ON OS Name : Windows 10 Home (64-bit) OS Version : 2009 OS Build : 19043.1165 Current ANSI codepage : 1252 Plugins : AutoSave.dll ComparePlugin.dll mimeTools.dll NppConverter.dll NppExport.dll NppTextFX.dll SessionMgr.dll

    yes, by mistake I delete+shift some html files. I manage to recover them with Recuva (or File Recovery), but both version of recovered html files have the same NULNULNUL, as you can see in the print screen

  • 0 Votes
    5 Posts
    285 Views
    mere-humanM

    Anyway, this looks like a similar problem: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8045

  • text string to column

    10
    0 Votes
    10 Posts
    2k Views
    Terry RT

    @John-Connor-0 said in text string to column:

    So far it’s working Thanks so much!

    I’ve just noticed that my solution doesn’t do one of the example lines (sorry missed that on the first look).

    Not to worry as these lines weren’t affected by the first regex (regular expression) as there was no pseudo arrow character in these lines. So to edit these lines and have the resulting fields line up with the other altered fields I have the following. Same as before, use Replace and set the search mode to regular rexpression.
    Find What:(?-s)^(.:)(.+?) - (Skipped.+)
    Replace With:"\1\2","","\3"

    Important, use the first solution first, then this afterwards otherwise erroneous results will occur. This one places an empty field where the destination drive letter would otherwise be, thus keeping the success or failure result as the third output field.

    Terry

  • 0 Votes
    8 Posts
    3k Views
    Alan KilbornA

    @Neculai-I-Fantanaru

    I wish I know how to use my Python code as to make multiple replacement with Boost regex engine.

    PythonScript plugin doesn’t like my Python code…

    Doesn’t like your code… Hmm, well the PythonScript plugin that is officially downloadable via Plugins Admin is version 2.x – that one uses Python2 syntax. There’s a beta release of the P.S. plugin that is version 3.x – it uses Python3 syntax.

    So you could change your code to use Python2, or you could use the beta plugin.

    It is about some parsings and other things for optimize. Anyway, if I have more then 2.000 html files, I cannot wait for each of regex to finnish the job. I must work with some other things in the meantime.

    But it will be easier for me, if the such a “Batch Processor” (with multiple search and replace) will work in background, this way I can do other things in the meantime.

    Yes, this would be a problem with Notepad++, as it is a single-threaded, one-thing-at-a-time situation.

    So, you’re right, for your situation, doing it with a Notepad++ solution is not going to be for the best.

  • Consolas font issue

    9
    1 Votes
    9 Posts
    1k Views
    artie-finkelsteinA

    @Alan-Kilborn
    You could always dig up an ASR-33 and use ed or vi. <grin> I realize that’s close to heresy in this forum, but once glass teletypes became a thing, variable width characters weren’t far behind.

    IIRC: I tried Fira and other ligature supporting fonts a few years back, and decided that I’d spent TOO many years in the 80 column world where everything was always lined up, and I couldn’t handle the “improvements”.

  • Adding Ruler below tab bar

    5
    0 Votes
    5 Posts
    8k Views
    Michael VincentM

    @Alan-Kilborn said in Adding Ruler below tab bar:

    (Disclaimer: But I really don’t know, it’s just a guess).

    Having lifted that code from someone else and incorporated my vertical “highlight” all into that plugin - I can safely say “I really don’t know, it’s just a guess” as well :-) !!!

    Cheers.

  • Notepad++ v8.1.2 license strange symbols

    5
    0 Votes
    5 Posts
    332 Views
    Программист НуллаП

    OK, I started issue on GitHub here

  • Dark mode icons with custom styles

    5
    0 Votes
    5 Posts
    1k Views
    PeterJonesP

    @mladenandonov said in Dark mode icons with custom styles:

    Question is where are the icons stored and can I open them in an image editing software such as Photoshop, in order to invert them?

    They are compiled into the notepad++.exe binary.

  • 0 Votes
    4 Posts
    255 Views
    PeterJonesP

    @Adam-Beutler ,

    What about portable 8.1.3-RC3?

    Because if the portable works but the installed version doesn’t, it’s most likely one of your settings or plugins that’s been corrupted.

    For the installed version,

    you can disable plugins by running with -noPlugin command-line option you can try to reset your settings (temporarily) by exiting Notepad++ completely, going to %AppData% folder and renaming Notepad++ folder to something else (maybe Notepad++.bak; the next time you run Notepad++, it should generate “fresh” settings in a new %AppData%\Notepad++ folder. If the fresh settings work but the old settings don’t, you might have to compare the settings, or slowly regenerate the settings manually.


    PS: before updating, or before trying any of these experiments, make sure you save any open files

  • Are there hidden dangers in ignoring some auxiliary files in Npp updates?

    4
    0 Votes
    4 Posts
    247 Views
    mere-humanM

    Both plugins and GUP are almost independent of the main Notepad++ application.
    They usually are updated separately.
    For example, if you take a look at this GUP page, you can see the last update was in May:
    https://github.com/notepad-plus-plus/wingup
    The same for plugins (if you’ll look to their corresponding pages).

    So, if it’s crucial for you, you can ignore plugin updates if you don’t use them.
    If you don’t use the auto update as well, you can ignore GUP too.
    Usually, updates to these parts of Notepad++ are mentioned in release notes.

  • Last Update of NPP left toolbars colorless, minimalistic and messed up

    3
    1 Votes
    3 Posts
    2k Views
    franzea123F

    Thank you very much. I really love this software is on top of any other editor, because of many reasons, low resource usage, many plugins, and CUSTOMIZATION! . they didn’t dissapointed me, indeed there is the option to restore the colorful icons. Just go to settings / general settings and choose the “default icons” option. I had a deja vu with MS office products which change their icons and don’t care about users at all. I really can’t stand these modern minimalist icons but fortunatelly NPP enables you to switch back to colorful icons.enable colorful icons again.png

  • How to disable the save file confirmation popup?

    2
    0 Votes
    2 Posts
    266 Views
  • Small File - File is Too Big to Be Opened

    3
    0 Votes
    3 Posts
    427 Views
    mere-humanM

    It would be interesting to try opening the file in another instance of Notepad++. Or in a portable version.
    Also, if that doesn’t help, maybe attach the file here so others can try too.

  • Page up an page down buttons

    2
    0 Votes
    2 Posts
    173 Views
    Alan KilbornA

    @Tiberio-Pictor

    To scroll down by one “page”, click where I show the red dot in the scrollbar:

    6ba922ec-aff9-4a65-bda0-5133ee40dda1-image.png

  • 0 Votes
    8 Posts
    444 Views
    Alan KilbornA

    @Robert-Or-Janet-Diebel said in RegEx to look for XX in a list of lines. if found print the line before, and the line with XX:

    When I post, the number of back-slashes I enter is cut in half

    Yep, use this to avoid that situation:

    a72b9940-5f8f-4884-96e0-ee0caca434c7-image.png

  • How to: Convert Roman numerals to Arabic numbers ?

    4
    0 Votes
    4 Posts
    926 Views
    vmars vernonV

    Whoa!
    Thank you very much Peter .
    Here is the .html :
    [https://vmars.us/ShowMe/A.Little.Book-On-the-Christian-Life-John-Calvin-Direct-Edit.html](link url)
    …Vernon

  • Grouping of file tabs ?

    3
    0 Votes
    3 Posts
    440 Views
    PeterJonesP

    @Sashank999 ,

    I am looking forward to this feature being added to Notepad++.

    see FAQ: Feature Request for how to make feature requests (hint, this forum is not the place)

    if there is anyway to reopen a closed session with same state and order of files, I would like to follow if it works.

    If you manually save the session, then you can later load that specific session at any time you want.

  • changing new edit line color

    12
    0 Votes
    12 Posts
    8k Views
    Michael VincentM

    @William-L-Wolcott
    @Alan-Kilborn said in changing new edit line color:

    @William-L-Wolcott said in changing new edit line color:

    I do not find ChangedLines in PluginsAdmin

    Michael can answer that one. Michael? ;)

    Changed Lines is ported from Location Navigate because I could not get Location Navigate to not crash on me in 32-bit version and there was no 64-bit version. That has been fixed now, but I prefer my plugin so use that. If you have Location Navigate working to you liking now, stick with it!

    Cheers.

  • Notepad++ does not remember last used directory

    13
    0 Votes
    13 Posts
    2k Views
    Alan KilbornA

    @Randall-Spychalla said in Notepad++ does not remember last used directory:

    It makes me wonder if the programmers have that much experience. As a professional Windows programmer…

    So the primary developer of Notepad++ has been programming on it basically non-stop since, what 2003 or so? Does 18 years equate to “not much experience”?

    I know that if I were a “Windows programmer” for that long, I’d probably be discouraged (Windows programming mostly sucks, IMO, and that means comparatively to programming for other OSes).

    Anyway, probably that long ago, the concept of a user folder was in its infancy. And…it is a non-issue, because the default setting for Notepad++ is to follow the last used folder, despite the other postings in this thread.

    So again, I repeat: Non-issue, nothing’s wrong.