• How come I have two types of fonts in my sentences?

    8
    0 Votes
    8 Posts
    263 Views
    CoisesC

    @Vasile-Caraus said in How come I have two types of fonts in my sentences?:

    If I copy from somewhere else, and it has a different font, how do I keep the font the same as the other sentences?

    You can’t fix it within Notepad++, but you might be able to get the result you need by pasting the text into this page:

    https://yaytext.com/unstyle/

    and then pasting those results into Notepad++. With this particular text, something in it is making that web site reverse the text (right-to-left) when you paste the whole text, so you have to do it piece by piece. I don’t know if that’s a bug in the web site or something peculiar in the text.

  • Search with F3

    8
    0 Votes
    8 Posts
    2k Views
    PeterJonesP

    @Hunder-Lily ,

    I don’t know whether this was a serious post, or whether it was just an attempt to spam the Forum with a video game link because the previous post from 2021 had been a spam to some other site (but not deleted, because the moderators back then weren’t as aggressive at anti-spam as we are now; I have rectified that).

    Just so you know, links irrelevant to Notepad++ and the on-topic discussion are not allowed in this forum (especially from brand-new users)

    However, if you are serious in this reply nearly 4 years after the discussion ended: Picture this: you are editing your complex code, and instead of closing the Search Results panel, you just click back into your code’s text panel – the same way you would if you were going to be typing new text – and suddenly, F3 goes back to finding the next match, the way you expect it to. It’s almost like Notepad++ (like every other text/code editing app I’ve ever used) is designed to have the keyboard shortcuts apply to the tab or panel that currently has focus. When you think of it that way, Notepad++ is behaving quite sensibly.

    Besides, if you are dealing with the Search Results from the Search Results window, then instead of doing an F3 (Find Next), which performs a new search from the current location, you should be using F4 (Next Search Result), which will move you to the next result in the active Search Results – and the F4 key, since it’s dealing with the Search Results, works whether your focus is currently in the Search Results panel or in the file-editing tab panel instead.

    And if you, like the original poster, were talking about the Find dialog itself, then you can either move the focus from the dialog to the editing tab, or you can use ENTER (like @Alan-Kilborn suggested 4 years ago)

    To sum up:

    If you want to deal with the recent results in the Search Results window, then F4 will move to the next result whether you have focus in the text-editing tab or in the Search Results window, If you want to deal with doing a fresh search with the most recent search expression (for example, if the contents of the file have changed recently), then F3 will work if the editing tab has the focus; and if the editing tab doesn’t have the focus (either because focus is in the Search Results or in the FIND dialog or in some other panel), then all you have to do is switch the focus back to the editing tab before hitting F3, and the focus will stay there through subsequent uses of F3. None of these options require closing the Search Results panel nor the FIND dialog box, despite the claims to the contrary.
  • Replace many letters at same time.

    3
    0 Votes
    3 Posts
    113 Views
    Claudio RaphaelC

    @Terry-R said in Replace many letters at same time.:

    \U\1.

    0d85b100-3221-4b17-b06e-1348e613198e-image.png

    Its perfect!!

    Thank u very much Sir!!!

    Claudio Raphael

  • Script to auto-update portable Notepad++ version

    15
    1 Votes
    15 Posts
    705 Views
    deleeleeD

    actually I think they’re only two: config xml and shortcuts.xml,

    If used, there is also toolbarIcons.xml and overrideMap.xml

  • Vertical tabs with horizontal text?

    10
    0 Votes
    10 Posts
    4k Views
    PeterJonesP

    @n3tcom said in Vertical tabs with horizontal text?:

    PLEASE consider proper vertical tabs! The current “feature” feels like it was implemented as a troll to everyone that bothered asking for proper vertical tabs over the years

    The readers of this post are users of Notepad++, not the Developer of the app. See our FAQ

    it blow my mind that we still do not have this in 2025

    Easily explainable if no one has officially requested it, and/or if the developer never thought of it, was never interested in it, or believes that the Document List feature is close enough.

  • Navigate between section in same file quickly using keyboard shortcuts

    8
    0 Votes
    8 Posts
    197 Views
    Alan KilbornA

    @n3tcom said:

    so the best we get across most of the better note apps is this repurposed function list solution

    And so you yearn for something better?
    I’m not sure what form that would take, as the function-list solution works reasonably.

  • How to easily manage IPA symbols...

    7
    2 Votes
    7 Posts
    160 Views
    Alan KilbornA

    @mkupper said:

    …so pours a glass of wine while chatting about IPA…

    @guy038 has always been really good at answering the question that wasn’t asked. It’s not a bad thing, as usually an increase in general knowledge results. :-)

  • ERROR OF SAVING SESSION XML FILE, when closing program

    9
    0 Votes
    9 Posts
    2k Views
    Altair ManuelA

    i fixed it!!! I just made the notpad++ folder be able to be manipulated, and session.xml too!!! :D yay!

  • Auto-Indent - Basic not always works as expected

    7
    0 Votes
    7 Posts
    243 Views
    C

    @Coises, after @PeterJones mentioned your posts and your issues, I read discussions and your explanations. First I’m impressed with how many details you have in mind and this and other questions are very important. Also I noticed that while many agree with your observations, there are not so many who are frustrated by this as much as you are. Maybe I’m in your camp here, at least partially :)

    My two cents are related to the fact that my previous activities were heavily influenced by Borland-originated editors (for example, in Delphi) where Virtual Space (now in npp too) was always on by default (I’m not even sure whether it is possible to switch it off). Lazarus IDE editor is very similar since Lazarus/FreePascal was inspired by Delphi/Turbo Pascal). Amongst other things this mode basically treats trailing space as virtual space. I just made a test when I forced multiple spaces after some last non-space character and tested End (SCI_LINEENDWRAP) operation. In Delphi/Lazarus the caret goes after the last non-space symbol so if there are no added spaces at all. The selection with keys also mostly ignores these new spaces, I could not select it with any ctrl/shift arrows operation. In npp End (SCI_LINEENDWRAP) jumps to the end of the new space so it is obviously kept intact. With selection in npp it’s mixed. Shift-arrows act like virtual space is everywhere, but Ctrl-Shift-arrows (SCI_WORDRIGHTENDEXTEND) “feels” this new space. Anyway, I’d suggest that when Enable Virtual Space is on, trailing spaces might be treated with some relaxed rules, but I’m not sure npp is ready to implicitly get rid of spaces without the user asking for it.

    As for non-Virtual Spaces mode that is I suppose used mostly by npp users, maybe the difference in perception is what the Auto-Indent is doing. Actually I’m curious if anyone cares about trailing spaces at all (except when thinking about avoiding unnecessary bytes saved or implicit aesthetic reasons). The mere existence of “Trim trailing spaces and save” command probably partly answers this for many existing users, but I’m not sure about all.

    Also interesting difference between Delphi editor and npp when the caret has some space after it and also meaningful text after the space. In the former after I press Enter the editor keeps the spaces and the text, but places the caret right below the character on the previous line so I have this space at the caret. In npp the caret goes to the start of the line and the meaningful text aligns to the line above.

    The images below illustrates this

    This is the state before I press enter in Delphi
    Delphi_beforeEnter.png
    … this is after
    Delphi_afterEnter.png

    This is before I press enter in npp
    npp_beforeEnter.png

    This is after
    npp_afterEnter.png

    I don’t know what kind is better, I’m more used to how Delphi handles it.

  • Turn on cursor beyond EOL + Remove unnecessary spaces when saving

    9
    0 Votes
    9 Posts
    6k Views
    PeterJonesP

    @Codereamp said in Turn on cursor beyond EOL + Remove unnecessary spaces when saving:

    In the docs section Editing 1 the link inside “… feature in Editing > Virtual Space…” is broken an leads to a non-existing page. Maybe the page explaining the feature is yet not ready, so just in case

    Just a typo in the href. Fixed.

  • PowerShell syntax highlighting

    7
    1 Votes
    7 Posts
    14k Views
    PeterJonesP

    @Netweezurd said in PowerShell syntax highlighting:

    We’re in 2025, after dozens of updates and I still no highlights in PS files apart from the few listed in the OP.

    The Notepad++ developer only updates the stylers.model.xml and themes\DarkModeDefault.xml – he expects volunteers from the userbase to submit updates to the other themes. That’s the way it was in 2018, and that’s the way it is in 2025. When I have added languages to the Notepad++ codebase, I’ve made dummy entries in all the themes, but that’s only been a handful of the dozens of languages that have been added over time since the various themes were submitted.

    If you are willing to use the PythonScript plugin, I have a script for that plugin which will add all the missing languages to all your themes (grabbing the default colors from the theme for any new languages or new styles in an existing language – so it won’t look highlighted, but it won’t look bad); see Config Files Need Updating, Too for full details.

    No PS highlights in VIM Dark Blue.

    Indeed. As that’s not the stylers.model.xml nor themes\DarkModeDefault.xml, it’s unsurprising that it’s not updated.

    The colors were all shot up but they can be easily adjusted in the Style Configurator:

    Now that you’ve got a good set of colors for PS in the vim Dark Blue theme, you should consider submitting your update to the main repo, so that it will be bundled with future versions of Notepad++.

  • Horizontal scrollbar not resizing properly

    11
    1 Votes
    11 Posts
    304 Views
    mpheathM

    @guy038 Good test.

    The image shows Col: 325 so width of 2500 seems undersized for the OP. If this type of data in the image is regular then probably suggest 4000 though no less than 3500. Too small of a number could cause constant scrollbar jitter when switching tabs as it decreases and increases width.

  • Auto scroll to bottom when turning on fail -f

    7
    0 Votes
    7 Posts
    264 Views
    Craig SilverC

    @PeterJones Apologies for the late response. I don’t normally check the email associated with this account.

    You’re right! I don’t know why I didn’t notice. This behaviour is more than sufficient for me. Thank you.

    @mathlete2 Thank you for your suggestions just the same.

  • For information : "Automatic" update from v8.7.6 may eventually fail

    5
    0 Votes
    5 Posts
    470 Views
    Jhon DavidJ

    This issue appears to stem from how Notepad++'s GUP (Get Update Package) process accesses web resources, rather than a specific version problem. It mirrors a previous issue where the webhost or content delivery network (CDN) intercepted the GUP process. Previously, this interception was due to a CAPTCHA, but now it seems to involve a JavaScript-based verification. In both cases, the GUP process is flagged as an “invalid” access by the host or CDN. Essentially, the host or CDN’s security measures are preventing Notepad++ from successfully retrieving update information.

  • Running Notepad++ from a bat file

    4
    0 Votes
    4 Posts
    198 Views
    Alan KilbornA

    I just want to add a note here, that if someone wants to use the method Peter has suggested to run a search-and-replace macro, that macro would not be “general purpose”.

    That is, you cannot, say, pass search strings or replacement strings in this way, because macros, when made and saved, have their search string, replace string, directory (if “in files”), and other options all “hard-coded”.

    I say this because this is the kind of thing people would want to do.

    The above doesn’t sound like a problem for @Kelly-A , who needs an operation that is by its nature NOT parameterized.

    You can, of course, write script code to do any search/replacement you’d like, but that requires greater programming skills, which not everyone has, or wants to invest the time into.

  • Feature request: Ctrl+Tab or Ctrl+H should work in Find dialog

    3
    0 Votes
    3 Posts
    2k Views
    Alan KilbornA

    @VarunAgw

    I think that with the current version of Notepad++ available as of today’s date, you’ll find that Ctrl+h will work when you are on the Find tab, to take you to the Replace tab.

  • Suggestion: Pin or favorite languages in the language menu?

    7
    0 Votes
    7 Posts
    232 Views
    mkupperM

    @pixelstuff said in Suggestion: Pin or favorite languages in the language menu?:

    I find it somewhat tedious to keep scrolling down to the bottom of that menu to constantly get to XML, PHP, SQL, etc.

    I use the keyboard to switch languages.

    XML is Alt+L+X. PHP is Alt+L and while continuing to hold the Alt key down P+P+P then Enter. SQL is Alt+L and then S. As SQL is a ways down the list I tend to use the down arrow key rather than tapping S until I get to SQL.
  • How to add Translate plugin in NotePad++?

    2
    0 Votes
    2 Posts
    245 Views
    PeterJonesP

    I’m using Notepad++ SING 2020 and it’s a really amazing software for all types of tasks.

    Never heard of that. Is “SING 2020” a plugin for Notepad++, or something else? What does it have to do with Notepad++?

    I need help with translation because my work needs to be around global clients and projects.

    There used to be a plugin called the “Translate Plugin” for Notepad++, which helped for translating the text in your document to a different language; it’s not supported by its developer anymore, though someone made a fork of it at https://github.com/databird/npptranslate64/releases – I don’t know if @databird is going to continue to support that fork or not, but that’s got a reasonable chance of being installable and being able to help you with your translation. (This discussion explains some of the difficulties with the original version, and mentions the new 64-bit release.)

    I want to know if Notepad++ supports multilingual language. It will be very helpful for me.

    Notepad++ “supports” multiple languages, in that the core application doesn’t care what language the text is written in, as long as you are using an encoding that supports all the characters you need – and if you’re using UTF-8 or UTF-16, then the encoding supports all Unicode codepoints, so that should be sufficient. :-)

    And Notepad++ “supports” multiple languages, in that you can use the Settings > Preferences > General > Localization feature to change what language is used for the GUI (menu names, etc). Though you can have only one active Localization at a time.

    But natively (ie, without plugins), Notepad++ does not have any facility to do translation of text. For that, you could use a plugin, like the npptranslate64 I linked to above. (There have also been some simple scripts written for the scripting plugins and shared in the forum at various times, but they are for simple lists of fixed input-phrase-to-output-phrase mapping, and should not be considered general-purpose translators.)

  • Cannot open files by right click

    4
    0 Votes
    4 Posts
    177 Views
    T

    @PeterJones, thanks for input, the most difficult task is to explain the issues to someone else!

    Thanks a lot, just needed an eyeopener! Hope it will help someone else with issues!

    Let´s try again.

    I click on download symbol in Edge, a list drop down I click on my file and it opens in file explorer If I right click and choose “show more options” I get the “Edit with Notepad ++” selection and if I use it the file opens.
    Success, I can use this option!

    Second scenario

    I click on download symbol in Edge, a list drop down I right click on my file and choose “open file” then it open in File explorer I choose “open with” new window opens and I try to use NP++ it don´t work.

    “When you say that choosing Notepad++ as the default program”
    I have chosen NP++ as default app in windows apps settings for .txt files.

    Notepad++ v8.7.4 (64-bit)
    Build time : Dec 4 2024 - 23:50:05
    Path : C:\Program Files\Notepad++\notepad++.exe
    Command Line :
    Admin mode : OFF
    Local Conf mode : OFF
    Cloud Config : OFF
    Periodic Backup : ON
    Placeholders : OFF
    DirectWrite : OFF
    Multi-instance Mode : monoInst
    File Status Auto-Detection : cdEnabledNew (for current file/tab only)
    Dark Mode : OFF
    OS Name : Windows 11 Enterprise (64-bit)
    OS Version : 23H2
    OS Build : 22631.4890
    Current ANSI codepage : 1252
    Plugins :
    AutoSave (2)
    CodeAlignmentNpp (14.1.107)
    ComparePlugin (2.0.2)
    DSpellCheck (1.5)
    HexEditor (0.9.12)
    JsonTools (5.6)
    mimeTools (3)
    NppConverter (4.5)
    NppExec (0.8.4)
    NppExport (0.4)
    NppFTP (0.29.12)
    PlantUmlViewer (1.8.0.12)
    XMLTools (3.1.1.13)

    Thanks a lot, just needed an eyeopener! Hope it will help someone else with issues!

  • 0 Votes
    4 Posts
    180 Views
    EkopalypseE

    @elecherf said in Bug 8.7.8: notepad is freezing with high cpu usage when sliding down the main split bar towards the bottom:

    For now, what I’ve understood is that EnhanceAnyLexer is not compatible with np++ 8.7.8

    EnhanceAnyLexer does not use any of the new features/improvements introduced by Npp recently.
    I have tested with BookmarksDook installed and can confirm that I see the same behavior, but further testing has shown that this also happens when BookmarksDook is the only plugin, besides the default plugins.