• duble space like tabulate add/delete

    2
    0 Votes
    2 Posts
    106 Views
    dr ramaanandD

    @kuzduk-kuzduk one of us can help you do that with a regular expression (add or delete anything with one click) if you mention the beginning of these paragraphs and if they are unique.

  • ANSI X12/EDIFACT document viewing

    10
    0 Votes
    10 Posts
    13k Views
    PeterJonesP

    @mkupper ,

    The image has inexplicably disappeared off the server: I don’t know why. (And if you refresh your browser on the full URL, I think it will be 404 as well) I might have to try to regenerate it…

  • Notepad++ Adding Strange text after pasting

    10
    0 Votes
    10 Posts
    3k Views
    Testing TesterT

    @Dee-Neely Thank you Dee, for pointing to this plugin. Most likely it was activated unintentionally by pressing Ctrl+Shift+C.
    Cheers, Ronnie

  • UDL: Number groups with negatives

    3
    1 Votes
    3 Posts
    138 Views
    P

    @PeterJones Looks like that solved the issue, thank you!

  • 1 Votes
    12 Posts
    357 Views
    gamophyteG

    @Terry-R Excellent!! Thank you!

  • How to add a missing line, based on part of the previous line

    13
    -1 Votes
    13 Posts
    383 Views
    dr ramaanandD

    @guy038 Oui, merci beaucoup!

  • Question about programming language

    2
    1 Votes
    2 Posts
    119 Views
    PeterJonesP

    @IronWalkers ,

    Language > I > INI file

    a97dc2ec-7270-424f-9454-73c8ae1f75c8-image.png

    Though if you have any = in the “textlines under the [name]”, the = will be red and the text to the left will be blue italics (in the default styerls.xml theme; your selected/customized theme may use different colors):
    335c9aac-8799-4504-9152-0d64750c4dc9-image.png

    If you don’t like the = behavior , then you could define a simple UDL instead of using the built-in INI language: in Language > User Defined Language > Define your language, create a new language (named AI Music or something); leave most as the default settings, but on the Operators & Delimiters page, for Delimiter 1 style, set Open = [ and Close = ], and set the Styler to your preferred color (bold and purple to match INI, or whatever you want).

  • Copy MS Word endnote text to Notepad++

    4
    0 Votes
    4 Posts
    179 Views
    Terry RT

    @Joel-Bridgham said in Copy MS Word endnote text to Notepad++:

    Is there a way to do this?

    You need to understand that the endnote function in MS Word has no parallel in Notepad++. It acts in a similar fashion to a hyperlink. So as the endnote text doesn’t actually appear alongside the words you are copying you will not be able to copy in a single step all that you want.

    I did a few basic tests with endnotes including saving the Word file as “plain text”. Unfortunately it still didn’t place the reference alongside the text that referred to it. So you will need to identify yourself what might work as obviously what you have currently tried will not work. You might even consider creating a Word macro to find each reference link, then copy that endnote and pasting alongside the text that referenced it. Essentially you will be removing the endnotes by moving that endnote to it’s rightful place. As this would be a destructive process I’d say work on a copy of the file.

    Notepad++ is a text editor so obviously works in a completely different way to Word which is a word processor.

    Terry

    PS a quick Google search found this website (a MSoffice forum no less). See here. I will leave it up to you to read, decipher and consider if it is what you want to try. As it’s not about Notepad++, further discussions on this Word function isn’t permitted here. Good luck.

  • Since updat strong flickering

    7
    0 Votes
    7 Posts
    1k Views
    rdipardoR

    @CptTwinkie, @rwblues

    The flickering probably means that DirectWrite rendering is not enabled:

    385552490-cef0cac0-2a39-4b33-8cc7-5360f501c3f3.png

    SciTE is another Scintilla editor with the same issue when DirectWrite is off (meaning, the technology option is 0).

    scite-553-no-D2D.gif

  • 0 Votes
    14 Posts
    467 Views
    Terry RT

    @Atheriol

    Sorry you feel that way. I said my response was intended as constructive. Notepad++ is full of lots of options and as I said, in order to understand and use them you need to have the basics sorted. You admit to not realising the difference between overtype and insert options. That is a basic premise of computer work.

    I wish you well.

    Terry

  • Add space after specific character at the beginning of sentence.

    8
    0 Votes
    8 Posts
    378 Views
    J

    @PeterJones said in Add space after specific character at the beginning of sentence.:

    @JajinderK said in Add space after specific character at the beginning of sentence.:

    The Template for Search/Replace FAQ, and the Formatting Forum Posts FAQ (linked below) explain more about how to format your posts for asking these kinds of questions.

    And the URL for the User Manual’s regex section will be indispensable for someone trying to actually learn how Notepad++ regex work.

    Thank you so much for the links. (I hope I won’t give up.)

  • Moveable multi-line carets

    25
    0 Votes
    25 Posts
    2k Views
    Alan KilbornA

    @Coises said :

    Since you apparently use that plugin,

    Actually… I only use it because I forgot I had it hanging around! :-)
    I’ve now disabled it and I will see if my workflow is impacted at all…

  • Search results filtering

    2
    0 Votes
    2 Posts
    123 Views
    Terry RT

    @SJW-SJW-SJW said in Search results filtering:

    How can I filter the search to ignore /vendor and /.git or any other directory which is irrelevant?

    The best method is to read the relevant portion of the manual. The online reference is here.

    There are a lot of settings which is why I suggested the online manual. It explains things much better than I can.

    Terry

  • Is there a way to open files in the left panel/view only?

    3
    0 Votes
    3 Posts
    298 Views
    T

    @Alan-Kilborn wow this is great, thankyou

  • Match everything except the text and <br> tags

    21
    0 Votes
    21 Posts
    1k Views
    dr ramaanandD

    @guy038 Okay, thank you!

  • problem with the tab key

    3
    0 Votes
    3 Posts
    123 Views
    bukatotB

    @PeterJones thanks for the fast reply, appreciate it.

  • Regex: Select only the first instance of search results / first match

    54
    0 Votes
    54 Posts
    42k Views
    dr ramaanandD

    On testing the above, I observed that both the above regular expressions work only for tags or strings that begin with a < and end with a > - so if you are searching for a string between inverted commas, to find the first string, you should use the regular expression (?s)\A.*?\K"string(?:.*?)?"

  • How to find and replace the last occurrence of a tag ?

    6
    0 Votes
    6 Posts
    230 Views
    dr ramaanandD

    @guy038 Oui, merci beaucoup!

  • I want to automate editing a json config file?

    2
    0 Votes
    2 Posts
    216 Views
    PeterJonesP

    @Matty-Lad,

    It depends on how automatic you want it.

    If you are willing to open Notepad++, open the file, and run a macro to do a replacement, that can be done with native Notepad++ (see below).

    If you want to have notepad++ already open, but have it automatically open the file, you cannot do that in a macro; however, you could install a scripting plugin like PythonScript, and do something that automatically opens the file, runs the replacement, saves, and closes the file again.

    If you choose to go the macro route, you can setup the Macro using the following sequence:

    Macro > Record Macro Search > Replace
    FIND WHAT = "sparse_infill_pattern": "gyroid"
    REPLACE WITH = "sparse_infill_pattern": "gyroid"
    SEARCH MODE = Normal
    REPLACE ALL File > Save Macro > Stop Recording Macro > Save current recorded macro Give it a name, like BambuGyroid Optionally, give it a keystroke that you can remember OK

    From now on, using Macro > BambuGyroid (or the keystroke you chose) will run that specific replacement and save.

  • the html codes don't work:

    10
    0 Votes
    10 Posts
    4k Views
    PeterJonesP

    @Ashley-Smith ,

    its people like you that take a forum for learning and taint it

    I am sorry you feel that way. @essa-gamer thought my reply was enough to say “thank you”, so I’m not sure the original poster agrees with you. (Though, admittedly, it was pretty cryptic, as @Alan-Kilborn mentioned, and we don’t know which answer, specifically, was replied to with “thank you”)

    I actually care so much about learning that after coming here years ago and getting one good answer to my question, I decided to hang around and answer questions; over the years, I have answered thousands of questions, most of them to the original poster’s satisfaction (based on their direct comments, and them upvoting my answer), spending large portions of my free time helping other people, because I love Notepad++ so much and want to help others learn how to use it. Over that time, a percentage of users haven’t liked the way I occasionally answer, but the same happens any time any person is trying to help others in any public forum – it’s not just me, and it’s not just here. If I didn’t care about helping other people learn, I would have been gone years ago.

    WHEN WE ARE TYPING OUT OUR HTML CODES AND WE ARE SAVING THEM ACTIVELY AFTER ADDING MORE HTML AND CSS? It is not refreshing on the browser…

    Oddly enough, that’s not the only interpretation of the original question. I listed answers to multiple interpretations of the question, five years ago.

    But I’m going to assume that’s your question, so I will do my best to guess at your circumstances, and try to help you learn.

    If your browser has opened the local copy of the file (so it shows something like file://C:/blah/blah/blah.html in the URL address bar, then you just have to Refresh your browser (often Ctrl+R or F5, depending on browser) after you save in Notepad++ – but that’s not a Notepad++ question, because the same would be true no matter what editor you used to edit and save the html file.

    If you do that, and it still doesn’t match, you need to make sure that the path listed in the browser is the same as the path that Notepad++ has open – if Notepad++ saved to a different location, the browser won’t be able to see it.

    If your browser has an https://blah.blah.blah/blah/blah.html in the URL address bar, then you need to upload your file from your local machine to the webserver (as per my “to upload the file to a webserver” paragraph from five years ago) before the browser will be able to see the updates.

    Does this help you, or are your circumstances different than I’ve guessed?