• Notepad++ help for fast formatting date of births

    5
    0 Votes
    5 Posts
    249 Views
    PeterJonesP

    @Laura-Harrison ,

    Don’t post essentially the same thing twice. The posting form reminds you that until you have enough upvotes, you have to wait for the posting queue for the post to show up.

    If all of your badly-quoted dates have the quotes in exactly the same places (3 digits, quote, digit, hyphen, quote, digit, quote, digit, hyphen, quote, two digits), then you can use a similar idea to above, but put each into capture groups using the (...) notation: FIND = (\d{3})"(\d)-"(\d)"(\d)-"(\d{2}) . Each capture group gets numbered 1-5 for each set of parens, and is $1 - $5 in the REPLACE WITH field. So REPLACE WITH = "$1$2-$3$4-$5"
    This will take

    199"0-"0"8-"28 199"2-"1"1-"12

    and make it

    "1990-08-28" "1992-11-12"

    But I have a feeling you are going to tell me in the next post that what you really have is quotes in different places each time, like

    1"99"0-"0"8-"28 199"2-"1"1-"12 "2"0"2"6"0"1"0"6"

    In which case, I’d say, look for “possible quote, digit, possible quote, digit, possible quote, …etc”, where “possible quote” is in regex as "? (which means "0 or 1 quote mark)
    FIND = "?(\d)"?(\d)"?(\d)"?(\d)"?-"?(\d)"?(\d)"?-"?(\d)"?(\d)"?
    REPLACE = "$1$2$3$4-$5$6-$7$8"
    REPLACE ALL
    would give

    "1990-08-28" "1992-11-12" "2026-01-06"

    (Note that if you had more digits than that, like if you also had hh:mm:ss, so it would be up to 14, the replacements for 10-14 would be ${10} - ${14})

  • Simple Question: Can I View HTML Tags?

    2
    0 Votes
    2 Posts
    217 Views
    CoisesC

    @Eugene-Brennan said in Simple Question: Can I View HTML Tags?:

    Surprisingly, it appears difficult to find an answer to this from Googling. I want to migrate articles from a website to Blogger. I’m using Reader View in Firefox which strips a lot of the superfluous stuff on the source website and then I paste to Notepad. From there I copy and paste to Blogger. Now this strips all HTML tags and when I post from Notepad to Blogger, all the content is enclosed by a single <p> tag and multiple <br /> tags within the text. I can’t paste directly from the source website to Blogger because it brings in a lot of unwanted HTML stuff from the previous website. This causes multiple problems that I won’t detail here, mostly as regards inserting images into the text. So my question is, does Notepad++ strip all HTML (I can’t find any way of changing to HTML view mode like I can in the Blogger Designer) and if so, is there a way I could retain at least <p> and <br /> tags?

    Try selecting and copying what you want from reader view, then use Edit | Paste Special | Paste HTML Content in Notepad++. It will still require some cleanup, but it will probably come closer to what you want.

    There is no native HTML view in Notepad++. There is a plugin, but it just shows the HTML as a sidebar; you can’t edit within the formatted text. Personally, I find it easier and more reliable to view the file in Firefox to see how the HTML renders. (I set F5 as a shortcut for View | View Current File in | Firefox.)

  • Page with the license fixed in front of the text

    2
    0 Votes
    2 Posts
    211 Views
    PeterJonesP

    @Arí-Ricardo-Ody ,

    v8.8.2, like every other version of Notepad++, shows the license when you use ?-menu’s About Notepad++ entry, or click the F1 key on your keyboard (default shortcut).

    1e29ea25-95d1-4882-a90e-35b5122c61ce-image.png

    But it’s super-simple to get rid of. You can click OK or hit the ESC key on your keyboard, and it goes away. (The ESC key won’t work if you’ve clicked in the main Notepad++ window after the About dialog appears, because the ESC key needs the dialog to have focus to work. You can give the dialog focus by clicking anywhere in that dialog.)

    The problems that I can only guess you might be having:

    You clicked somewhere else, so ESC doesn’t work for you. Possible fixes: clicking the OK button clicking anywhere in the dialog’s window then typing ESC The OK button isn’t visible. Possible fixes: clicking on the About window somewhere, then typing ESC clicking on the About window somewhere, then use Alt+SPACEBAR to bring up the System Menu for the dialog. From there, you can select Move (or your language’s equivalent); if you cannot see the System Menu, it might be hidden somewhere, so you can type M (or whatever your language’s normal letter is for the “move this window” action from any application’s Alt+Spacebar System Menu). Either way, once it’s in move mode, you should be able to move the window around until you can see the OK button
    9a5c9577-11dd-42ab-81c1-6efb2986a824-image.png You see and click the OK button, but the window doesn’t go away, or comes back Not sure what could be causing this. My best guess would be that the F1 key on your keyboard is stuck (or some other application or malware is constantly sending the F1 keystroke command), so it is repeatedly opening the About dialog, even after you close it. There’s nothing Notepad++ can do about this, but a reboot might help, or trying a different keyboard on that computer. If F1 is really a problem that you cannot solve through keyboard or reboot, go to Settings > Shortcut Mapper (you can do that even when the About menu is showing), type F1 into the Filter, click on About Notepad++ in the grid, click the Clear button – this will remove the F1 shortcut from About Notepad++, so F1 will no longer launch that dialog. So then if you close it, even pressing F1 shouldn’t launch the dialog anymore.
    b67fd922-5af6-48ac-8c17-399711af3351-image.png

    But, in General, Notepad++ (v8.8.2 or any other version) only shows that dialog when you access it through the menu or through using F1, and can easily be closed using the OK button or typing the ESC key while the dialog is in focus.

    If nothing in this works, you will have to give us more information (maybe a screenshot of the dialog, in case I’ve misinterpreted what you meant by the “page with the license”)

  • Fluent close/x on tab bar

    Moved
    5
    0 Votes
    5 Posts
    371 Views
    MarkusBodenseeM

    Chill, Peter :-) Breath in, breath out. Everything is fine. (This is meant in a very positive way. I feel that you are very busy right now.)

    Of course, yes, this is definitly no big deal. But it is nothing wrong in talking about it. Or just bringing up a question about it. Or an idea.

    IMO, Thomas is not wrong with his observation/question/request. The red x icon is the only colorized icon while using light mode and fluent UI. So a more consistant behaviour would be, to have the x icon appearance coupled on the icon choice rather than the light/dark mode choice. (Means red x icon coupled to standard icons, a fluent x icon to the fluent UI.)

    Yes sure, this issue is nothing important compared to the more urgent topics in the issue tracker.

  • Notepad for android

    2
    0 Votes
    2 Posts
    214 Views
    Terry RT

    @ErickNet
    Short answer is no.

    There are some posts on this forum over the years on the same subject, just do a search with the word android to see them. One of the later (relevant) ones is here.

    Terry

  • Add current file to Workspace?

    2
    0 Votes
    2 Posts
    181 Views
    PeterJonesP

    @Glenn-M said in Add current file to Workspace?:

    Hi, first time posting here…
    I have a Workspace setup with a folder called Favorites that contains files I use frequently.
    Is there an easy way to add a currently open file/tab to the Favorites folder?

    Not via a single click.

    The only way I have found to add a new file to the folder is to use “Add Files…” which opens a file browser, so I have to browse to select the file that is already open in the editor. Unnecessary extra effort.

    You could right click on the tab of the file, then Copy to Clipboard > Copy Full File Path, then paste that into the Add Files… dialog, which would avoid having to browse.

    But you are right, it would be nice to be able to choose “Add active tab to project” in the same Project Panel menu as “Add Files…”

    If there is not currently a way to add an open file/tab to a Workspace,
    can that be added as a Suggested Feature?

    Look through the existing official issues, searching for either project panel or workspace (people sometimes use one term or the other for this same feature) and make sure the request doesn’t exist already. If not, click on the New Issue button and create the request.

    However, Project Panel features haven’t been updated much in the last few years, so I don’t know how likely it is. You might want to try the Explorer plugin (you can install it through Plugins > Plugins Admin, checkmark Explorer, then Install), which has a Favorites feature, and that might work better for you than a Project Panel anyway. I recommend trying that plugin out to see if it meets your needs – either instead of putting in the feature request, or to give you something similar to tide you over while you are waiting to see if the feature request is implemented.

  • 9 Votes
    50 Posts
    20k Views
    Lycan ThropeL

    @PeterJones said in Config Files Need Updating, Too:

    But, unfortunately, there were a few growing pains in transferring from the plugin to the builtin that I was really hoping wouldn’t happen, because I had ironed out so many problems in the plugin version already.

    That IS why it’s called ‘developing’. and maintainers are ‘developers’. :-)

    If I ever saw a first version of anything that worked unscathed on the first try, I’d be digging through the code looking for the bomb that went undetected. :-)

  • Notepad++ 8.8.8: 2 issues detected

    7
    0 Votes
    7 Posts
    862 Views
    deleeleeD

    @xomx said in Notepad++ 8.8.8: 2 issues detected:

    or the 3rd option - as I said, create new MenuIcons plugin GitHub issue and its author most likely fixes it and publishes a new compatible version

    Oh yes, of course, sorry. The third option is to create a GitHub issue which I’ve done. Here’s the link if anyone else should mention experiencing similar behaviour:

    https://github.com/francostellari/NppPlugins/issues/73

  • 0 Votes
    10 Posts
    650 Views
    Ryan CartmillR

    @xomx After restarting our Samba instance, the issues appear to be resolved. Apologies for the false alarm, but thank you for the responses!

  • Always open a new document in addition at startup?

    7
    1 Votes
    7 Posts
    273 Views
  • config.model.xml change the localization to german

    4
    1 Votes
    4 Posts
    229 Views
    M

    It works! Thank you very much!
    Greets Eddie

  • Notepad+++ workflow for Bookkeeping.

    7
    0 Votes
    7 Posts
    317 Views
    CoisesC

    @Charles-Fraichot

    Glad you found a good solution. Thanks for letting us know.

  • Theme busted!

    2
    0 Votes
    2 Posts
    554 Views
    PeterJonesP

    @Jayson-Allen ,

    See details in https://community.notepad-plus-plus.org/post/104192

    update: I have versions of the theme files which won’t have the ugly white backgrounds temporarily at .../themesPost889/PowerEditor/installer/themes ⇒ they will hopefully eventually be put into the main codebase, for distribution with v8.9 and future. But until then, you can

    Exit Notepad++ Go to that URL and download the raw version of your theme(s) For a normal Notepad++ installation, use Explorer to go to %AppData%\Notepad++ if there’s not a themes subdirectory, create it move the downloaded theme(s) into %AppData%\Notepad++\themes When you run Notepad++ next time, it will use the updated theme.

    If you have customized your theme with user-keywords or user-extensions, this would overwrite those… I will eventually be writing a FAQ which explains a way to work around those customizations (once I don’t have to link to a branch in my fork of the code to share the theme files).

    update 2: The installer themes in the source code have been updated to have all the styles needed (to be able to fix the problems from v8.8.9). You can go here to grab the theme file(s) you want: https://github.com/notepad-plus-plus/notepad-plus-plus/tree/master/PowerEditor/installer/themes

    New FAQ: https://community.notepad-plus-plus.org/topic/27306/faq-themes-in-v8-8-9

  • Updated Notepad++ VPAT?

    3
    0 Votes
    3 Posts
    185 Views
    C

    @PeterJones

    Thank you, that’s very helpful. I’ll do that.

  • Paste Special - Paste RTF Content not working

    1
    0 Votes
    1 Posts
    130 Views
    No one has replied
  • Jumping between matching brackets is not idempotent

    6
    0 Votes
    6 Posts
    281 Views
    fml2F

    OK, if it’s the intended behaviour then I’ll just live with it. It’s not a very big deal.

    Thank you all who answered!

  • Bug in sorting lines, staying there for years

    5
    0 Votes
    5 Posts
    226 Views
    CoisesC

    @Eric-Wiseman said in Bug in sorting lines, staying there for years:

    Line Operations -> Sort lines works ONLY if you convert Edit -> EOL Conversion ->Unix.

    Unless I am missing something this looks like a bug…

    As others have already explained, this is not a bug but rather a known and documented limitation, that all line endings must be the same.

    If Sort Lines In Locale Order Ascending and Descending do what you want, those sorts implemented differently and are not dependent on consistent line endings. The ending for each line will remain with the text of the line it follows.

    The Locale sorts can also sort using a rectangular selection for the keys even if there are tabs or characters of differing byte widths (such as can happen with non-ASCII characters in UTF-8) to the left of the selection, which does not work with the other sorts.

  • The update deletes the macro file.

    2
    0 Votes
    2 Posts
    142 Views
    Terry RT

    @Pierrick-ram

    I think you will need to provide more information. Such as copying the “Debug Info” from your Notepad++ installation and pasting it here. It’s under the ? menu.

    Terry

  • Can't resize Mark pop-up

    7
    0 Votes
    7 Posts
    242 Views
    James BlueJ

    @Alan-Kilborn
    Yes, you are right. Thanks for the transparency tip.

  • **Title: Proposal to Add `Ctrl + ]` Shortcut for Matching Braces**

    5
    -2 Votes
    5 Posts
    337 Views
    PeterJonesP

    @Todd-Marshall ,

    Some comments, based on your two most recent posts:

    We had no way to know how exactly you used the AI – it could have been either of the following: you prompted it to “take a common problem found in Notepad++ and propose a solution” This version was why I suggested it might have been hallucination Since you didn’t say earlier, I had no way to know this wasn’t what had happened. you prompted it with "brace matching is not working for me in Notepad++, with details X, Y, Z. could you re-write this as a “proposal for improvement” This version was why I suggested that it was bad data fed into the prompt (ie, that you were wrong) This turned out to be closer to the truth, as you described. Both in regards to what you actually asked the AI to do, and with regard to the fact that you were wrong or incomplete in your description to the AI This was a lot of extra effort on your part. Instead of explaining to the AI what you wanted to say, and then have it re-write your text in its own words, you could have just explained it to us in your own words. And it would have been better, because it wouldn’t have introduced the AI-garbage uncertainty. And you wouldn’t have been violating the forums rules for posting. So it would have been better all around. Your posts don’t even match the AI text you posted. In your two most-recent posts, you claim you suggested Ctrl+D, but your AI text actually suggested Ctrl+] … that’s two different keystrokes. So by going through the AI intermediary, you didn’t even know what you posted. Re: Documentation: I have no idea what you mean by “mired in COIK” As the primary maintainer of the Notepad++ documentation, if you have concrete examples of how the Online User Manual is “poorly organized”, feel free to create an issue in the user manual repo with concrete descriptions… but understand that the basic structure is pretty set-in-stone at this point. But if you really meant, “I have been burned by other documentation before, so I don’t bother reading any documentation”, the onus is still on you to give each new application’s documentation a chance before rejecting it out-of-hand. I really don’t care about how good or bad the documentation for a major corporation’s huge flagship product is, and you basing your decision on whether or not to read any documentation based on a bad experience with a huge, gigantic application like that is rather unfair of you to any other documentation Re: the root cause being mismatched braces: you cannot really expect a feature that says “go to matching brace” to work as you described you wanted when the braces aren’t matching. And, in fact, the way that Notepad++ does work helps to indicate that the braces are mismatched, now that you know what that symptom means.

    To sum up: don’t post AI-generated content in a Community of human Users of Notepad++; it’s not allowed, and it didn’t work well for you when you did.