• Please Read This Before Posting

    Pinned Locked faq newbie
    1
    7 Votes
    1 Posts
    10k Views
    No one has replied
  • HELP: Having trouble with Macros in v8.5.3 or later

    Pinned
    28
    2 Votes
    28 Posts
    34k Views
    Mike NewmanM
    Moderator Note: The contents of this post were moved to a separate topic, Macro works normally, but fails when shortcut is Ctrl+Shift+C, because it’s actually separate from the >=v8.5.3 issue for this Topic.
  • Windows 11 constantly crashing when having NP++ installed

    2
    0 Votes
    2 Posts
    74 Views
    xomxX
    @Sevens99 said: I wonder if I’m the only one experiencing this issue. It’s a known problem of the modern NppShell, see the GitHub issue #15683 Most likely this is the culprit but I have no easy solution ready. Also no spare time to fix that (maybe during the end of year holidays), so your workaround (or similar) is what I currently recommend to do for the affected users (you don’t need to rename the NppShell.dll, unregistering that shell extension from within the admin-rights powered CMD by regsvr32 /u "C:\Program Files\Notepad++\contextMenu\NppShell.dll" will do it). What’s interesting - the problem manifests only on some PCs/configs (I, for one, have never encountered it).
  • How to fold while at the closing element?

    4
    0 Votes
    4 Posts
    169 Views
    rdipardoR
    @fml2 said: Out of interest: is it possible to configure Notepad++ in a way that the folder marks are also displayed at the last element of the structure? The document’s fold structure is determined by the underlying Scintilla editing component. Notepad++ simply visualizes the fold structure. While some alternative styles can be enabled at the application layer, what you’re requesting would require changes to Scintilla.
  • Duplicate context menu entries

    1
    1
    0 Votes
    1 Posts
    56 Views
    No one has replied
  • Notepad++ crashes after requesting admin rights

    2
    0 Votes
    2 Posts
    115 Views
    PeterJonesP
    @ThatsYar_ , Can you share your ?-menu’s Debug Info? Does the same problem occur if you turn off all plugins (using -noPlugin command line option)? Is it for all files that need admin? Or just in one directory? Or just the one file?
  • Apex Language is missing under Language Tab

    2
    0 Votes
    2 Posts
    269 Views
    PeterJonesP
    @vivek-viv , Unfortunately, there are an unknown number of “programming languages” or “data file languages” in the world, and no text editor can syntax-highlight 100% of them out-of-the box. Apex is not available in the syntax-highlighter library that Notepad++ uses, and until it is, it will never be in the upper portion of the Language list. To get it added: A feature request would have to be put into Lexilla, and then the Lexilla team, or external volunteer, would have to code up that lexer, and they would have to accept it, bundle it with the library; then Notepad++ could update to use a version with that, and then and only then, Notepad++ could be updated to enable and list the Apex language in the default menu. I’m not saying it’s impossible… just that it’s not likely to be fast. If Apex were similar enough to another language, then, in theory, the Apex language could be mapped to use the that existing language’s lexer, but given its own list of keywords. However, Notepad++ has the User Defined Language (“UDL”) feature, which allows you to define a keyword-based syntax highlighting – so you can put in various lists of keywords, operators, folding-keywords, and delimiter pairs, and get it to do a reasonable job of highlighting simple syntax in your language. The User Defined Language page, and all the UDL > pages in the manual’s table of contents below it, describe how to use the UDL system. There’s also a community-contributed User Defined Language Collection, where people can share UDL definitions that they’ve made, or find ones to use for themselves. I don’t see Apex there… but if you created one, you could share it there, so that other Apex users I did a quick search, and if this is the Apex you are talking about, then it looks similar to YAML (builtin) – so maybe trying to use the YAML lexer might be an initial workaround. And google search AI tells me that the HAML uses a similar structure – there is a UDL in the Collection for HAML, so you might be able to use that as a reference for how to get something like what you want for Apex. No guarantees, but it’s a starting point…
  • Portable keeps showing up in "Open With" after I deleted it.

    2
    1
    0 Votes
    2 Posts
    250 Views
    Lycan ThropeL
    @Adam-Harrington , First you can search your Registry file for that phrase E:\Portables\Notepad++.exe %1 or just notepad++ and look for the key/value pairs you find and change them to the new location of your Notepad++ directory. Or search this forum and the FAQ’s list for this information. I searched mine and found it with just “notepad++”
  • Save as .md default

    markdown
    14
    0 Votes
    14 Posts
    14k Views
    MarkusBodenseeM
    @myfancytextgenerator said: One small caveat worth keeping in mind: this covers the default language of new documents, not the file-type list in the Save As dialogue — the langs.xml tweak described earlier in this thread is still the way to get a dedicated .md entry there. Sorry… but this is just not true. It is implemented even longer, since Aug 2024, than the latest update. See Issue #11096 and PR #15490
  • 0 Votes
    3 Posts
    397 Views
    M
    Hi @Karen3D — one more angle worth checking, specific to the Windows 11 update scenario: session.xml is only written when Notepad++ exits cleanly. Windows updates are notorious for restarting the machine and killing running apps before they can save, so the session file can end up out of date or empty even with “Remember current session for next launch” ticked. A couple of quick checks that fit an IT-managed work laptop: Close Notepad++ yourself before restarting or shutting down, and confirm in Task Manager that no notepad++.exe process is left hanging around. A leftover process can hold on to the old session. Open a couple of files, close Notepad++ normally, then check the timestamp on session.xml in %AppData%\Notepad++. If it has not been updated, the write itself is being blocked — roaming profiles or redirected folders on corporate machines are a classic cause. If your files live on network drives, make sure the drive mappings are unchanged after the update. Notepad++ quietly skips files it cannot find at start-up. Worth ruling these out before going any deeper.
  • Is There A Way To Retrieve My Settings

    7
    0 Votes
    7 Posts
    694 Views
    PeterJonesP
    @Troglo37 , It’s much too late now, but for “open all tabs”, Notepad++ has the session.xml.inCaseOfCorruption.bak, which should be one version of your session file out of date (for example, my session file is dated yesterday at 7:13pm, and my corruption-backup is from 2:37pm that same day). So, in the future, if you open Notepad++, and it doesn’t have all your old session files open, before doing anything (before closing Notepad++ or trying to save or load anything), make a copy of session.xml.inCaseOfCorruption.bak to tryme.session.xml so it won’t be overwritten, exit Notepad++, rename session.xml to bad-session.xml, copy tryme.session.xml to session.xml, and start Notepad++: that should take your in-case-of-corruption session as your active session … so if the previous time you exited and started was good, you should be back to that session. That won’t fix your corrupted stylers (colors). Unless you had a recent change in one off your Style Configurator settings, I am surprised Notepad++ was trying to write to your stylers.xml, because it only tries to write it if there was a change. But maybe the reboot process confused some bit in memory making Notepad++ think it needed to.
  • How to normalize fancy Unicode text back to regular text?

    Locked
    31
    0 Votes
    31 Posts
    16k Views
    PeterJonesP
    The answer, as far as Notepad++ is concerned, is “use the PythonScript solutions already presented, or similar, and/or the plugins mentioned.” People can use keywords found here to do their own web searches, if they want more background information. So I’m not sure there’s more that needs to be said, here. Looking at the history of this topic on the moderator/admin side of things, this topic (and similar ones, some of which have already been locked) is a “honeypot” for users trying to do links to their “fancy text generator” websites, and we don’t want this forum to be just a link farm to external sites. As such, and because the original conversation had completed 3 years ago, I am locking this topic. Please note: my removal of links above was not to claim that everyone who put in such a link was “spamming” the forum; many of those links helped the original discussion prove a point, and were useful at the time. But what has happened is that bots/spammers keep seeing links to such sites, and trying to spam us with more links. We don’t want to become a link farm, so I have redacted the links, and users who are still curious can perform their own web searches to look for “fancy text generators” to generate the text or “unicode normalization” or “normalize unicode” to undo the fancy text, or use the new Unicode Normalize plugin, discussed here.
  • How Do I Get Rid of the Line in the Margin When I Type Something?

    5
    0 Votes
    5 Posts
    396 Views
    Troglo37T
    @mpheath Okay, I’ll check it out. Thanks.
  • remove the find in files feature

    6
    -2 Votes
    6 Posts
    662 Views
    J
    @PeterJones i just wont bother using notepad++ again, ill go find a better alternative
  • Cannot make Move / Clone other view windows have the same font size

    2
    0 Votes
    2 Posts
    218 Views
    PeterJonesP
    @gromittoo , I have never seen that happen. The only way I know of for the two Views to appear to have different font sizes is if there is a zoom difference. I know you said you returned to default zoom, but the two Views don’t sync zoom in modern Notepad++, so you have to return to default zoom for each View separately. (Click one view, reset its zoom; click other view, reset its zoom) If your views are top/bottom, rather than left/right, they aren’t guaranteed to have the same number of rows, so right click on the divider between, and Rotate Left to get back to side-by-side views, which always have the same vertical space. Alternatively, if the font sizes are actually visibly the same, by a given line takes up more vertical space because of line wrap, you can drag the separation bar left/right to balance the width, or turn off line wrapping. I want to compare two files, side by side. My searches led me to use the View -> Move/Clone Current Document -> Clone to other view… That advice showed two copies of the same file, and doesn’t compare two separate files. You can move (not clone) the second file into the other view, if you really want two different files side-by-side. And if you’re really comparing two files, the ComparePlus plugin is your friend. (It can be installed using Plugins > Plugins Admin)
  • Strange behaviour with find all in current document results

    4
    1
    0 Votes
    4 Posts
    647 Views
    deleeleeD
    @Alan-Kilborn said: @deleelee 9 is single digit and 12/14/22 are each two digits. Thank you, that’s exactly what it was.
  • Confirmation or disable the Find All in All Opened Documents

    5
    0 Votes
    5 Posts
    686 Views
    T
    Feature request created: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/18429 Put the several possibilities given my lack of knowing how the backend works and the feedback I’d gotten on this thread of possible feasibilities. I do stuff on both a Work computer using IT’s selected version of Notepad++ as well as home use, so even if I could get AutoIt working on my personal computer, I probably can’t get it running on my Work computer (permissions) I’ll try to train myself to alt+d
  • Search and Replace for CNC Help Needed

    4
    1 Votes
    4 Posts
    349 Views
    PeterJonesP
    @Paul-Adamczyk said: Still much to learn. Useful References: Notepad++ Online User Manual: Searching/Regex FAQ: Where to find other regular expressions (regex) documentation
  • email address not recognized

    3
    1 Votes
    3 Posts
    293 Views
    Michel ChasseyM
    @PeterJones Thank you now as for my other questions …
  • Problem with inactive/unavailable Plugins Admin on v8.9.8

    10
    0 Votes
    10 Posts
    1k Views
    andrecool-68A
    @peterjones Installed Notepad++ v8.9.8.1, and this problem went away [image: 1790343129511-%D0%B1%D0%B5%D0%B7%D1%8B%D0%BC%D1%8F%D0%BD%D0%BD%D1%8B%D0%B9.png] p.s. And I don’t need to unblock files received from the Internet, because after a clean install of any Windows, I will block this option through the registry.