• Replace all words that start with the letter F

    2
  • Auto-Insert Unicode characters does not work

    4
    0 Votes
    4 Posts
    483 Views
  • Need help for CNC code.

    6
    0 Votes
    6 Posts
    606 Views
    Terry RT

    @Radomir-Stojanović said in Need help for CNC code.:

    I have a recurring issue with the beginning and end of my code. I always have to replace the generic text with ‘%’ and manually add an ‘E’ at the end of the program whenever I rewrite it. Is there a way to automate this process?
    Whenever I get a new program, I have to correct F400. F200. (or any Fxxx. not to have a period at the end of Fxxx). Can I automate that as well?

    This can easily be done with 3 regular expressions (regex), however the 3rd one won’t be completely sorted, I will speak to that later.

    So using the Replace function we have the first one which deals with the “generic text issue”.
    Search mode must be regular expression for all 3 regex I’m showing.
    Find What:(?-s)\A(\([^)]+\)(\R))+
    Replace With:N0 %${2}
    Click on Replace All

    Now we deal with all the Fxxx. sequences.
    Find What:(F\d+)\.
    Replace With:${1}
    Again click on Replace All

    Finally the end line for the code. The primary problem here is that regex cannot count. So there isn’t an easy way for the regex to add 1 to the last line and write a new line with the incremented number and and E. So what my regex does is to write it with xx as the line number. So you would still need to change the xx for the real line number. Although I have provided this regex, I think it would be of limited value as you would still need to edit that last line.
    Find What:(?-s)(\R).+\K\z
    Replace With:${1}Nxx E

    These 2 (or 3) regex can be combined into a macro which is essentially the keystrokes recorded as you type them and once saved (with a name) can be re-run whenever you wish.

    Terry

  • Feature Request: Toggle Search Results Pane

    3
    0 Votes
    3 Posts
    243 Views
    Michael VincentM

    @Barry-Seymour said in Feature Request: Toggle Search Results Pane:

    If the search results pane has focus

    Press ESC = hide the panel

    Not a “toggle”, but a single simple keypress.

    Cheers.

  • 0 Votes
    3 Posts
    1k Views
    mr blintM

    Thank you for those tips. They are very useful.

  • How to change the Vertical Cursor (caret) color

    3
    0 Votes
    3 Posts
    539 Views
    James RichtersJ

    @PeterJones Thank you very much for the quick response and for the instructions on how to get the multi-edit carets color! Indeed I have a custom theme, and I did not realize it would not be updated automatically, or even that it was the theme that created the options in the style configurator.

    I added the line you suggested, as well as some others I noticed I was missing and it’s working GREAT now!

  • Search & F3

    4
    1 Votes
    4 Posts
    2k Views
    Alan KilbornA

    Notepad++ 8.6.6 will allow F3 and Shift+F3 to work while the Find or Replace windows have input focus.
    See point #6 here: https://community.notepad-plus-plus.org/topic/25742/notepad-v8-6-6-release-candidate

  • F3/Shift-F3 as aliases for Find Next/Previous while find dialog is active

    3
    3 Votes
    3 Posts
    2k Views
    Alan KilbornA

    Notepad++ 8.6.6 will allow F3 and Shift+F3 to work while the Find or Replace windows have input focus.
    See point #6 here: https://community.notepad-plus-plus.org/topic/25742/notepad-v8-6-6-release-candidate

  • Big files cannot opened in v8.6.4 (x64)

    26
    0 Votes
    26 Posts
    4k Views
    Klaus LehmannK

    @mkupper
    sorry, I’m an idiot. Of course I do use an 64bit-version.
    as I was beginning this discussion on march 23th 2024, I have used a very wrong “title” or “RE”: “Big files cannot opened in v8.6.4 (x84)”. This is wrong!
    every time I have installed and I’m using this “npp.8...Installer.x64.exe”. really.
    Does there exist an admin, who can change the titel? It would be lovely. thanks a lot. Yours Klaus

  • 0 Votes
    3 Posts
    496 Views
    PeterJonesP

    @Daniel-Essin ,

    Since you came back and created a new Topic (which I locked) about the same thing, you apparently forgot about this one. Please don’t create duplicate Topics.

    As Alan said, “it works for me”.

    However, looking at your list of plugins, there are a few there that I’ve never heard of… and when there is strange behavior in Notepad++, especially for something as core as double-clicking a word, the first place to look is in trying to disable plugins. This FAQ gives the procedure for how to check by turning off all plugins and one-at-a-time. (Yes, I know, you aren’t crashing; but the FAQ even admits that it’s useful for other situations where the plugin might be to blame.)

  • Going nuts on Windows

    Locked
    2
    0 Votes
    2 Posts
    234 Views
    PeterJonesP

    @Daniel-Essin ,

    No need to create a new Topic. You already complained about this here, and then never came back to that existing Topic.

    This topic is locked as duplicate.

  • Exporting pages from Hits?

    35
    0 Votes
    35 Posts
    3k Views
    Mark OlsonM

    @rjm5959 said in Exporting pages from Hits?:

    1S####-##C CENTRAL LOAN ADMINISTRATION YY/MM/DD
    LETTER LOG HISTORY FILE FOR NATIONSTAR MORTGAGE LLC1 PAGE ####

    I know nothing about the context in which you’re using this data, but are you sure that you’re not leaking confidential data to the internet by posting this here? Because if you are, consider anonymizing it.

  • Artifact?

    9
    0 Votes
    9 Posts
    465 Views
    Alan KilbornA

    It appears that an official issue has been created here:
    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/15080

  • Merging two tags into one in XML

    4
    1 Votes
    4 Posts
    322 Views
    Дмитрий ПрокопьевД

    Thank you very much, it helped a lot!

  • 0 Votes
    3 Posts
    287 Views
    CletosC

    OK, very sorry for the wrong code, just habit. Many thanks for correcting!

    That is how it works, as long as you have clicked on the Document List panel.

    OK, yes, just clicking an item in the list and pressing any key does not work (that’s what I tried).

    But if you click on the Document List title, it will change to a highlighted title bar, like:
    Maybe such a mouse over hover field, don’t know the name, saying this would be good. Is there a shortcut which could do what that mouse click does?

    Many thanks, also for updating the help.

  • Space bug

    6
    1 Votes
    6 Posts
    546 Views
    M

    I’ve tried to differents options (global styles, directwrite, update plugins,…) but it does not work. Finally I have had a clean install and work it!

    I don’t know why, because other than plugins, I don’t remember touching any option

    Thank you all

  • Everything is underlined

    2
    0 Votes
    2 Posts
    181 Views
    Charles BillowC

    I just uninstalled and started over, and all seems OK now…

  • Multiple save as - how to?

    2
    0 Votes
    2 Posts
    205 Views
    Mark OlsonM

    @Steve-Carlsson
    I could recommend how to do this with plugins, but I won’t, because this is fundamentally not a task for Notepad++.

    I would recommend learning PowerShell or Python, to name just two of the many tools that can accomplish this for you. Of course, if you only need to rename 10-20 files once, you could probably do this by hand in less time than it would take you to write a script.

    If you choose to go that route, StackOverflow and Google would be your best friends, not this forum, because this forum is really only for discussing how to do things with Notepad++.

  • Notepad++ cannot open SRT

    7
    0 Votes
    7 Posts
    982 Views
    lon from appletonL

    @PeterJones

    Thanks for the reply. All things to consider.

  • Bug regport - Style all of token

    2
    0 Votes
    2 Posts
    151 Views
    Alan KilbornA

    @Lin-Pepsi

    Maybe try this setup:

    ec91d739-9d0c-4a47-8fbf-d996cd2ee823-image.png