• Replace non-breaking space UTF-8 (C2 A0)

    10
    0 Votes
    10 Posts
    23k Views
    PeterJonesP

    @Bart-Heinsius ,

    Glad it’s working for you now.

    In case you are curious, 0xC2 0xA0 is the two byte sequence in UTF-8 that represents the single character at U+00A0.

    https://en.wikipedia.org/wiki/UTF-8 http://www.fileformat.info/info/unicode/char/00a0/index.htm

    As @Alan-Kilborn said, the search-and-replace feature works with the actual character codepoints, hence uses \x{A0} or \x{00A0} to match that character, whereas the Hex Editor works with the individual bytes, so shows you both the byte 0xC2 and the byte 0xA0.

    Like the hex editor, The MIME Tools plugin uses the raw bytes, rather than the characters. You can easily see this in my example, which using MIME Tools > URL Encode shows non%C2%A0breaking%C2%A0space, so you can see %C2 and %A0 are used to encode the bytes 0xC2 0xA0 which are used to encode the character at U+00A0.

  • Is it possible to sort the document switcher?

    3
    0 Votes
    3 Posts
    657 Views
    mkupperM

    @Amenel-Voglozin said in Is it possible to sort the document switcher?:

    I’m not sure what you mean by the document switcher. However, if you go to the Window / Windows menu item it pulls up a list of the open files. The list has four columns, Name, Path, Type, and Size. You can click on a column header to sort the list by that column, Click the header again to reverse the sort. Then click the [Sort Tabs] button and it’ll shuffle the tabs around based on the sort order you chose.

    I’m using Notepad++ v7.8.9 (32-bit) but suspect this feature is available in older versions of npp too.

  • Add a multiple clickable magnet links in document

    3
    0 Votes
    3 Posts
    479 Views
    lon from appletonL

    @PeterJones

    I’m closing this as just a bad question due to my misunderstanding of live links. I’ll just block copy the
    whole source as text and leave it to others to copy and paste where they need it to their browser.

    Thanks for answering.

    Lon

  • Incorporating Prettier and/or js-beautify

    1
    0 Votes
    1 Posts
    799 Views
    No one has replied
  • File association from menu as admin not working (np++ v7.8.9)

    4
    0 Votes
    4 Posts
    350 Views
    ?

    Problem fixed!!
    I just searched for the string editplus in my Windows registry and deleted every key and value that matched that string. Now I can associate and remove file extension association from NP++ menu!

  • Find All in Current Document not displaying complete lines

    2
    1 Votes
    2 Posts
    446 Views
    Alan KilbornA

    Is there a way to have it display the full line (in my case, 4,000 characters)

    I don’t believe so, not currently.

    There is an open issue regarding it, but so far it doesn’t appear to have had any action/traction: CLICK HERE
    You might want to go there and state your opinion; adds weight for developers to make a change.

    If I double-click on a line in the Find results window at position 2,500, the cursor jumps to the main window but at the location of the characters that were found, not iat the position I was in the Find results window.

    Yes, double-clicking anywhere in the line jumps to the match point.

  • Continues to be in top 3 IDE: Stack Overflow survey!

    2
    4 Votes
    2 Posts
    309 Views
    EkopalypseE

    @SinghRajenM
    First of all, thank you very much for all the help and fixes you have provided to the Npp Community so far.
    To survive against a billion dollar company like Microsoft is not easy and
    even more difficult for a “small” free open source project like Npp.

  • what is last version of np++ where matching parenthesis was working?

    9
    0 Votes
    9 Posts
    400 Views
    gstaviG

    To make things clear the problem is NOT with brace highlighting, it is with Batch lexical analysis.
    Brace highlighting only works for the same lexical type of the language.
    Put the following into a C file and check which brace is highlighted. Then change the language to normal text and check how it changes.

    /*(*/ ( "(" /*)*/ ) ")"

    If you observe the lexical types of Batch in Style Configurator you will see two relevant types: Command and Default.
    Based on coloring (without higlighting) you can see that most of the braces are Command except for the one after the ELSE that is Default so it is not matched with Command braces.

    So what you want is the Batch lexer to be fixed so a brace after else becomes Command (or all others become Default).

  • Saving and restoring recorded macros.

    2
    0 Votes
    2 Posts
    374 Views
    PeterJonesP

    @Олег-Надыч ,

    As described in the official documents at https://npp-user-manual.org/docs/config-files/ , Macros are stored in shortcuts.xml. That file is saved in the same folder as all the other Notepad++ configuration files (including your preferences, file history, etc).

    In a normal installation, they go in %AppData%\Notepad++\ In a normal installation with Settings > Preferences > Cloud enabled, they go in the DropBox/OneDrive/etc folder listed in that setting In a portable copy, they go in the same folder as notepad++.exe

    So, if you copied one or more of those folders onto the new computer, then that’s how.

  • Notepad++ Parser Question

    3
    0 Votes
    3 Posts
    473 Views
    Jason McDanielJ

    @PeterJones Thanks so much for the details! 👍

  • How to replace text at a special place in special rows?

    22
    0 Votes
    22 Posts
    1k Views
    Alan KilbornA

    @Makwana-Prahlad

    How is that relevant?
    You provided a solution for 2 things that were not even asked for.

  • Powershell 5 parser

    1
    1 Votes
    1 Posts
    183 Views
    No one has replied
  • 0 Votes
    2 Posts
    223 Views
    PeterJonesP

    @Jędrek-Zwierko ,

    Your question is what we call a cookie-baking question: just because you type your HTML with Notepad++ doesn’t mean that a Notepad++ is the appropriate place to ask your HTML question. (See our FAQ: https://community.notepad-plus-plus.org/topic/15958/faq-desk-you-ve-asked-your-question-in-the-wrong-place . The easy way to tell if your question belongs here is if you would expect the same answer whether you use Notepad++ or notepad.exe or SomeRandomEditor to edit your code: if the answer would be the same, then this isn’t the right forum.)

    However, your HTML problem is pretty easy to spot: <h1 najlepsze filmy is not valid HTML: you probably meant something like <h1>najlepsze filmy </h1>. Since there is no closing >, the <h1> tag is never finished, so your browser has nothing to render.

    Further, though it’s unrelated to your problem, the way to close the body element is </body>, not the <body/> that you use.

    If you have further HTML questions, please find an HTML-focused forum.

  • how to append stuff to the end of each line ?

    3
    0 Votes
    3 Posts
    2k Views
    vmars vernonV

    Thanks ;
    I’ve never used regx
    Works great .

  • Hex Line Numbers

    2
    0 Votes
    2 Posts
    357 Views
    Michael VincentM

    @Gregory-Blum

    Turn off the hex line numbers plugin?
    Notepad++ doesn’t do hex line numbers natively.

    Cheers.

  • Keyboard shortcut

    3
    0 Votes
    3 Posts
    219 Views
    Alan KilbornA

    @PeterJones said in Keyboard shortcut:

    I believe there was one version a few versions back that had a bug with the keyboard shortcuts in that dialog, but it has been fixed for a while now.

    I wouldn’t really call it a “bug”.
    It was more of the Save dialog being changed to add Yes to All and No to All features.
    The keycombos to control it were just a little bit late to the party, so that they’d be automatically there by default.
    An end user could always have added them in at any time by editing the language translation xml files.

  • Formatting a large json file

    2
    0 Votes
    2 Posts
    626 Views
    EkopalypseE

    @Giancarlo-Taliente

    which plugin is this, seems I can’t find it in PluginAdmin.
    I see a JSTool is this the one you are referring to?
    Btw. which npp version are you running? Please copy the debug-info from the last menu item , the ? menu.

  • Feature request: some tab improvements

    3
    1 Votes
    3 Posts
    309 Views
    MarcosM

    Thank you, @Ekopalypse ! :)
    I opened a github Issue, as recommended:

    issue#8642

  • Feature request: Background Update

    2
    0 Votes
    2 Posts
    539 Views
  • 0 Votes
    2 Posts
    155 Views
    andrecool-68A

    Google doesn’t work on your computer?
    https://www.w3schools.com/tags/tag_img.asp