• Bold text

    General Discussion
    3
    0 Votes
    3 Posts
    1k Views
    M
    Yes, you can get bold/italic text directly into Notepad++. As Coises explained, those “bold” letters aren’t formatting at all; they’re ordinary Unicode characters from the Mathematical Alphanumeric Symbols block. Notepad++ is a plain-text editor, so it can’t do rich-text bold, but it handles these Unicode characters like any other text — you can type, paste, search and replace them. Two easy ways to insert them without a website: Edit > Character Panel, then double-click the characters you want. Type the character’s hex code point and press Alt+X to convert it (e.g. 1D44E for 𝑎). If you’d rather convert longer passages in one go, a fancy text generator turns plain text into dozens of stylish Unicode fonts — bold, italic, script and more — ready to copy into Notepad++ or Facebook. Just keep in mind what Coises said: they’re still plain characters underneath, so editing them afterwards means retyping or regenerating that part.
  • Search++: A work in progress

    Notepad++ & Plugin Development
    210
    7 Votes
    210 Posts
    73k Views
    CoisesC
    Search++ version 0.7.2 is available Additional known bugs thus far: Show only lines with shown text, and the Reset button in the Expand visible dialog, do not restore hidden line markers correctly. That’s a simple omission which will be fixed in the next release. Some Search++ operations that affect hidden lines do not take into account the possibility that the hidden and shown lines and the markers in the margin that indicate hidden lines can fall out of sync. If the same file is opened in both views, Search++ affects hidden/visible lines only in the view which is active, but the markers are changed in both views. In Scintilla, markers and fold points are properties of the document, but hidden lines and whether a given fold is expanded or contracted are properties of the view. Because Notepad++ uses markers to keep track of hidden lines and to implement the ability to show them again, there’s a bit of a conflict. In principle, it should be impossible to have lines shown in one view and not in the other, except when the only thing hiding lines is collapsed fold points. As far as I can tell, Notepad++ doesn’t let you hide or show lines in one view of the document without the same thing happening in the other view, so long as you use only native Notepad++ commands. However, it’s useful to be able to have one view showing the entire document and another showing only lines of interest, and I don’t want to break that. The extent of problems this might cause is not yet known. For now, expect surprises if you open the same document in both views and use any of the Search++ features that affect hidden lines.
  • Save as .md default

    Help wanted · · · – – – · · · markdown
    12
    0 Votes
    12 Posts
    13k Views
    PeterJonesP
    Years later, I finally had the time to figure out how to implement “UDL as Default Language” for PR#18499 to close my Issue #11097 and related Issues. It was just just merged, so will be in the upcoming v8.9.9 RC
  • 0 Votes
    7 Posts
    433 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.
  • 2 Votes
    1 Posts
    159 Views
    No one has replied
  • Vertical tabs with horizontal text?

    General Discussion
    14
    1
    0 Votes
    14 Posts
    11k Views
    PeterJonesP
    It looks like @LucaSorvillo took me up on the recommendation: Created new Issue #18496 , so there’s an “open issue” to PR against Created PR#18497 to implement it as a sub-option of the Tab Bar > Behavior > Vertical option
  • 0 Votes
    6 Posts
    1k Views
    M
    Echoing what @Lycan-Thrope said — it is worth trying the GDI workaround before settling on the old Compare plugin, because that older plugin is no longer maintained and can develop incompatibilities with newer Notepad++ releases. To try the fix suggested earlier in this thread: go to Settings > Preferences > MISC., find the rendering-mode drop-down (DirectWrite is the default), switch it to GDI, then fully restart Notepad++ and run the same comparison again. The crash appears tied to how ComparePlus draws its difference highlighting under DirectWrite, so GDI sidesteps it. Two extra things worth checking if it still crashes: Test with all other plugins removed, in case something else interacts with it (XML Tools was installed alongside ComparePlus in the original report here). Check whether file size or shape matters — try a small pair of files first, then the large XML files, to see whether size plays a role. If you get a chance, please report back whether the GDI switch helped. The plugin author said a reworked ComparePlus is on the way that should fix the DirectWrite problem, so a data point either way helps everyone following this thread.
  • 0 Votes
    31 Posts
    15k 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.
  • 0 Votes
    3 Posts
    207 Views
    Lycan ThropeL
    @shocked-gamer , @peterjones is right. I only use Firefox myselff, and it’s in dark mode right now…however, you have to be signed in. For instance, I always sign out. When I do, the light theme comes back on, until I again, sign in. I believe it’s linked into your account, and it apparently works, or it wouldn’t go dark after I’ve signed in.
  • Notepad++ release 8.9.8.1

    Pinned Announcements
    27
    4 Votes
    27 Posts
    6k Views
    CoisesC
    @Xuân-Thơ-HOÀNG said: @Coises Notepad++ v8.9.8.1 appears to misdetect a valid UTF-8 file without BOM as OEM 855. The file contains valid UTF-8 multibyte characters and can be decoded successfully as UTF-8. When “Autodetect character encoding” is disabled, closing and reopening Notepad++ correctly identifies the file as UTF-8. Re-enabling autodetection causes the same file to be detected as OEM 855 again. For example, string UTF8 Ok but incorrect auto-detection: 🧠 🧠 🧠 🧠 🧠 🧠 🧠 🧠 🧠 🧠 Just my personal opinion, not any sort of “official Notepad++ position”: Autodetect character encoding is an accident waiting to happen. There is no way to consistently and accurately detect character encoding on Windows, because Microsoft, in their infinite wisdom, did not choose to store the character encoding of a file in any sort of metadata. If you really have many files with different legacy character encodings, you will have to intervene manually to get correct results. There is no way around it. Autodetect character encoding might or might not reduce the number of cases where you must manually select the correct encoding, but sometimes it will be wrong. You can use the Encoding | Character sets menu to select the correct encoding before you modify the document in any way. More common is to have just two potentially ambiguous cases: so-called “ANSI,” meaning the system default code page, and UTF-8 with no byte order mark. Outside of contrived examples and files that were supposed to be UTF-8 but contain invalid byte sequences, it is easy to tell those two apart with a very high rate of accuracy. (However, Notepad++ has a bug that can cause UTF-8 files to be mis-detected as ANSI.) That works better if you do not check Autodetect character encoding.
  • 0 Votes
    5 Posts
    255 Views
    Troglo37T
    @mpheath Okay, I’ll check it out. Thanks.
  • 0 Votes
    2 Posts
    144 Views
    PeterJonesP
    @Karen3D , That sounds like a permissions issue… but you aren’t running in Admin mode, so usually there isn’t such a thing. What are the results of the following experiment? Exit Notepad++ delete %AppData%\Notepad++\session.xml Run Notepad++ Open 3 files Exit Notepad++ Look at %AppData%\Notepad++ Is there session.xml ? If you open it (with notepad.exe or some other editor), what are its contents What permissions does it have? Windows Right-Click properties, Security tab, click on your username, it should have all the normal permissions checkmarked, like: [image: 1791574173538-9a809e1e-abff-40ed-aa52-7df27aa9f984-image.jpeg] If it’s there, and your three files are listed, then when you next run Notepad++, it should load those files. If it does, great, problem solved. If it doesn’t, then as long as it’s not a security issue (ie, unimportant filenames/paths without secrets in the path), it would be great if you could share the contents of the session.xml, as well as confirming that your Debug Info is identical to what you shared above, and paste screenshot of your Settings > Preferences > Backup
  • -2 Votes
    6 Posts
    485 Views
    J
    @PeterJones i just wont bother using notepad++ again, ill go find a better alternative
  • 3 Votes
    3 Posts
    363 Views
    guy038G
    Hello, @coises and All, Thank you very much, @coises, for your valuable advice ! As I already used a user definitions file, named Definitions.json5, containing the main examples from the documentation : Before starting N++, I simply included your modified implicit combining rules section to the definitions.json5 file, described below : { // A user definitions file is a JSONC file containing pairs of keys and values // listing what you type after the Compose key and what Compose types in response. // Each pair except the last must be followed by a comma. // Two forward slashes begin a comment: Compose for Notepad++ ignores // the slashes and everything after them on the same line. // You can use the standard escapes \n (new line), \r (return), \t (tab), // \" (quote within a quoted string) and \\ (backslash within a quoted string). // You can also use Unicode escapes, \u followed by four hexadecimal digits, // for example: "\u20ac" for "€", the Euro sign. Escape sequences for characters // outside the basic multilingual plane (code points 0x10000 or greater) // can only be entered as a UTF-16 surrogate pair. // You should save this file with a .jsonc extension. // Compose for Notepad++ reads the file each time you launch Notepad++, // so be sure to save it in a place where it won't be disturbed. "implicit combining rules" : { "'" : ["\u0301", "\u030B", true , "\u0317"], // acute accent | double | same as plain | acute accent below ")" : ["\u0306", false , true , "\u032E"], // breve | - | same as plain | breve below ">" : ["\u030C", false , true , "\u032C"], // caron/hacek | - | same as plain | caron/hacek below "," : ["\u0327", false , "\u0313", "\u0326"], // cedilla | - | comma above | comma below "ç" : ["\u0302", false , true , "\u032D"], // circumflex | - | same as plain | circumflex below "\"": ["\u0308", false , true , "\u0324"], // diaeresis | - | same as plain | diaeresis below "." : ["\u0307", false , true , "\u0323"], // dot above | - | same as plain | dot below "è" : ["\u0300", "\u030F", true , "\u0316"], // grave accent | double | same as plain | grave accent below "?" : ["\u0309", false , true , false ], // hook above | - | same as plain | - "+" : ["\u031B", false , true , false ], // horn | - | same as plain | - "-" : ["\u0304", false , true , "\u0331"], // macron | - | same as plain | macron below ";" : ["\u0328", false , "\u1DCE", true ], // ogonek | - | ogonnek above | same as plain "*" : ["\u030A", false , true , "\u0325"], // ring above | - | same as plain | ring below "é" : ["\u0303", false , true , "\u0330"], // tilde | - | same as plain | tilde below "_" : ["\u0332", "\u0333", "\u0305", true ] // underline | double | overline | same as plain }, "CC" : "\u2102", // double-struck capital C "rx" : "℞", // prescription symbol "dia" : "💎", // diamond symbol "br" : "Best Regards,\r\n\r\nguy038\r\n" // End of Post } Then, I started N++. To be sure that this json file was correct : I ran the Plugins > Compose > User definitions file... option. I clicked on the Select button. => No error occured ;-) And, indeed, no need to use the |Alt Gr] key and the [SP] key anymore, within the implicit combining rules section, on my French keyboard ! So, I also updated the main_Compose.txt file, in my Google drive account, which can be downloaded from the same address as before. Best Regards, guy038
  • 0 Votes
    2 Posts
    158 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)
  • 0 Votes
    4 Posts
    502 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.
  • XML Tools plugin is not maintained

    Notepad++ & Plugin Development
    3
    0 Votes
    3 Posts
    354 Views
    Lycan ThropeL
    @PeterJones said: [IANAL, and I don’t know the legal term for a non-registered trademark] An unregistered trademark, sometimes informally called a common law trademark, is an enforceable mark created by a business or individual to signify or distinguish a product or service. –For future reference. The stronger case needs to be made as you mention to differentiate what could be called a trademark name versus a generically descriptive name. Such as the difference between Borax as a chemical and Borax as a trademarked product name. I am not a lawyer [IANAL], either, but I have done legal research from time to time, on these types of subjects as well, in the past.
  • [New plugin] Smart Math

    Notepad++ & Plugin Development
    10
    1 Votes
    10 Posts
    2k Views
    Vitalii DovganV
    Here are the latest binaries of SmartMath. This is a fully-working unofficial build that is going to be added to the official git repository… unless more improvements are suggested :) What’s new: the archive structure corresponds to the expectations of the Plugins Admin; the plugin searches for its documentation file near the SmartMath.dll, as well as in the “plugins\doc” folder; the plugin shows a warning when it does not find its syntax files in the expected locations under the “userDefineLangs” and “autoCompletion” folders of Notepad++. 64-bit version: https://drive.google.com/file/d/1pTS_cBdU_Q0vkG03cubqWZ9TDdYiSsXW/view?usp=drive_link 32-bit version: https://drive.google.com/file/d/1qsI5Hsx4XmyRlhVeGsplAoTX391WEnOv/view?usp=drive_link
  • 0 Votes
    5 Posts
    554 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
  • 1 Votes
    4 Posts
    255 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