• What is the Setting for automatic saving of new files in notepad++?

    2
    0 評價
    2 貼文
    152 瀏覽
    Haleymiranda79H

    I think you save it with the extension .py. Your problem might be more complex than that. Do you mean “auto” as in that it saves without you having to click “save as”? Kinda like your emails save drafts periodically? I probably should not have gotten involved. Sorry if I confused you more.

  • paste time stamp to each word of a line

    10
    0 評價
    10 貼文
    1k 瀏覽
    params16P

    @PeterJones Got the result as expected. Thank you!

  • Hilfe bei Korrektur der Groß / Kleinschreibung benötigt

    15
    0 評價
    15 貼文
    970 瀏覽
    PeterJonesP

    @Atlan1000 said in Hilfe bei Korrektur der Groß / Kleinschreibung benötigt:

    Through your solution I have learned a lot - especially how a positive lockbehind works!

    Glad to help.

    Other References:

    This Community Forum’s Regular Expression FAQ The official NPP Searching / Regex docs
  • Auto highlight folding close in a UDL

    2
    0 評價
    2 貼文
    330 瀏覽
    PeterJonesP

    @Phred-Doolittle said in Auto highlight folding close in a UDL:

    I want to know if there’s a way to highlight the corresponding End when I click on the Begin.

    Unfortunately, I do not think there is a way to do that. That behavior is controlled by the Settings > Preferences > Highlight Matching Tags feature in combination with the HTML or XML lexer being selected; there isn’t a similar feature in the UDL.

    It’s more subtle, but the code-folding does show some highlighting:
    inner block: 15789a45-a42e-4912-b3cb-132ee32dfede-image.png
    outer block: 102984f4-91d9-4d1f-a1a3-d17a7d907dbe-image.png
    Notice that the red fold lines are red for the active section, and are grey for the inactive section

  • Notepad++ How to find and select all words between select words and copy the selected

    5
    0 評價
    5 貼文
    1k 瀏覽
    Kari LabermoK

    Hi guy038

    It worked like a dream

    Many thanks

    Kari Labermo

  • V8 always using 14% CPU even with one empty tab

    3
    0 評價
    3 貼文
    327 瀏覽
    Murilo RibeiroM

    @Ekopalypse Thanks for the info! I did see a bunch of things related to notepad++ with this monitor tool, but nothing out of the ordinary, then again, I don’t really know how to use it.

    The solution I’ve found so far was to install the latest 32 bit version. It simply works without the funny CPU behavior.

  • Replace specific part of the line AFTER the match

    6
    0 評價
    6 貼文
    2k 瀏覽
    EkopalypseE

    @Hynek-Kalhous - no problem, happy to help. :-)

  • How to convert IDL User Defined Language into Dark Mode?

    2
    0 評價
    2 貼文
    902 瀏覽
    PeterJonesP

    @Amit ,

    UDL colors don’t inherit much from the chosen theme. If you want a UDL to match the colors of your theme, you have to edit the colors in the UDL. This is documented behavior.

    Also, see my answer about 6 hours ago from a similar thread.

  • Status line is bad when changing the encoding with shortcut.

    3
    0 評價
    3 貼文
    242 瀏覽
  • Dark Mode inverts texts after saving.

    5
    0 評價
    5 貼文
    2k 瀏覽
    Johan DeGreyzeJ

    @PeterJones
    Hi Peter, thank you very much for all this effort to help me. You succeeded, I found why it looked like that.
    I use this program for years as a better replacement for the Microsoft Windows Notepad. In the past I did some HTML work with the BBC code and it was set to that language. I never noticed the normal text setting until now.
    So I set it to normal text and everything looks like it should.
    Problem solved, so again thank you for the effort.
    Best regards.

    Jan

  • Help needed with Search and Replace

    2
    1 評價
    2 貼文
    197 瀏覽
    astrosofistaA

    @Sandra-Treffers, All

    You were close. One way to solve it is the following regex:

    Search: (<Document) number="[\d]+"> Replace: $1>

    Put the caret at the very beginning of the document, select the Regular Expression mode and click on Replace or Replace All.

    Hope this helps.

  • Removing unwanted menu entries from n++ main menu bar

    7
    0 評價
    7 貼文
    2k 瀏覽
    TroshinDVT

    Move *.js files from the “Includes” folder to the “Includes\disabled” folder

    Screenshot_169.png

    Результат.
    Screenshot_170.png

  • Access Violation Error Code 5

    1
    0 評價
    1 貼文
    342 瀏覽
    尚無回覆
  • Please Help!!

    3
    0 評價
    3 貼文
    2k 瀏覽
    plutoisaplanetP

    I can elaborate as I just ran into the same issue. When uploading a profile picture, it only lets you choose *.jpeg files and not also *.jpg files. I worked around this by renaming my file, but it appears to be a bug as almost nothing saves to *.jpeg file extension nowadays.

    d1e19cf1-99d6-4faa-bc69-2cf2ce76bf02-image.png

    Ironically, when uploading a cover photo, only the opposite is allowed:

    c51d3693-6199-4214-ba5b-e3e6dbc50c2e-image.png

  • Macro to add symbol before and after text

    13
    2 評價
    13 貼文
    1k 瀏覽
    TroshinDVT

    @mathlete2 said in Macro to add symbol before and after text:

    @PeterJones thanks for putting that together! Unfortunately, I’m not familiar with how to work such scripts into NP++. Where is this documented?

    https://github.com/sieukrem/jn-npp-plugin
    My developments are based on this plugin.

  • 0 評價
    2 貼文
    297 瀏覽
    PeterJonesP

    @Complete-Coder ,

    You don’t need to post it twice. I have asked a moderator to lock or delete the other copy of this post. Let’s all try to keep the conversation in this one, until that happens.

    To be able to implement a “save on cloud” option without using a cloud folder on your harddrive, someone would have to write a plugin to do that. The developers of the main application aren’t likely to implement something like that, because that would require them to become experts on all the various cloud providers, each of which handle syncing slightly differently – it’s a task much better suited to a plugin.

    Autosave is easy to get using the AutoSave plugin, as long as you remember to change the default configuration of that plugin (because it strangely doesn’t enabled any of the autosave features by default).

  • Function List not working

    6
    0 評價
    6 貼文
    960 瀏覽
    artie-finkelsteinA

    @PeterJones - Thank you for the correction and historical links. I pretty much ignored UDLs and FunctionList until @dinkumoil published UDL and FunctionList XMLs for NppExec, and I have not pursued the intricacies much further.

    It looks like I can also use the updated manual for timeline resolution. Cool. I’ll go RTFM some more now.

  • How to restore previous Ctrl+W behavior?

    2
    0 評價
    2 貼文
    512 瀏覽
    PeterJonesP

    @Artem-Romanko ,

    Can you tell us what version “several versions ago” was?

    I just tried v8.1.1 (most recent), v7.9.5 (3 versions ago), and v7.9 (5 versions before that) – and all of those have the behavior you describe: if I had a session with several files open (say 5), and had last activated tab3 then tab5, then closed with tab5 active; if I reopen Notepad++ with that session (so that tab5 is open), if I Ctrl+W, it switches back to tab1.

    So I cannot replicate the behavior you seem to be expecting from an old copy; and without that, I cannot look into the “why” of the change (and I doubt there will be a workaround to activation order from one session to the next … but I have been proven wrong on such things before).

  • 0 評價
    2 貼文
    328 瀏覽
    PeterJonesP

    @athenatheta

    A way to jump between marks would do as well.

    If in the Mark dialog you toggle on the ☑ Bookmark Line checkmark then do the Marking of the text, then it will Bookmark as well as Mark, and then you can use the Search > Bookmark menu entries, including the Next Bookmark and Previous Bookmark to allow you to jump between bookmarks (F2 and Shift+F2 are the default keyboard shortcuts for those, though Shortcut Mapper can change those shortcuts).

  • Multi-level data sorting

    5
    0 評價
    5 貼文
    4k 瀏覽
    guy038G

    Hello, @elise-baribault,

    Could you provide us with a sample of your Excel table ? I mean : a block of 15-30 rows to get a general idea of your data ?

    Please, copy your text as raw text. When replying :

    Click on the option, mentioned in the image below

    20f5d2f4-8071-4233-b6f6-c661e2393159-image.png

    Delete the single line code_text

    Paste your data

    Thanks for your cooperation ! See you later,

    Best Regards,

    guy038