• 0 Votes
    7 Posts
    1k Views
    P
    All, Please try and use ComparePlus v3 - it is the latest released version. If you experience any problem with it you could report it directly here or you could write here in the Notepad++ community forum for help and advise from fellow users. I also visit the forum from time to time to check the “news” for our favorite editor :) Good luck and thanks
  • 0 Votes
    5 Posts
    140 Views
    M
    Hi @Nephilimi — one thing to be aware of with the config.xml route: that file is per Windows user, so on servers where several admins log in, editing one person’s file won’t change the behaviour for everyone else. You’d have to apply it to every profile, or use the machine-wide installer option that @PeterJones mentioned. Honestly, on a managed fleet of 100+ servers I’d go further and switch the auto-updater to “Never” in the base image, then push new versions through your normal server tooling. The built-in check is really aimed at standalone desktops; if you’re already deploying software centrally, it only duplicates what your pipeline does — and that gets rid of all five dialogs in your list, not just their timing.
  • 5 Votes
    5 Posts
    199 Views
    Lycan ThropeL
    @Guido-Thelen said: And no, it isn’t limited to Standard SQL. The Navigator visualizes the result of the formatter, so it works with every dialect the formatter supports (30+, including MySQL, PostgreSQL, Oracle, SQL Server, DB2, Snowflake and more). For now it shows SQL statements and DDL. If you run into a statement it doesn’t break down correctly, I’d be glad to get a sample. That’s good to know, that it handles the different variants, and although I don’t get to do a lot of difficult/complex SQL, there are many in the dBASE community who do, as they use dBASE as the frontend interface and ADO to connect with the different SQL backends to replace the aging BDE. I’m sure any of our developers who use the dBASE UDL we made can probably use this as well. I clued them into using CSV Lint and Csv Query plugins for working with manipulating text data before importing it, so this tool will also come in handy. I saw some of their complicated SQL when doing the UDL so I could properly implement color coding, keyword and AutoCompletion features and used their sample SQL statements to test against for color coding and keyword collisions. You’re right, the problem with Workbench is you need a live connection to the data, so this will be a great non-connect SQL diagnostic tool for them. Thanks for doing it and hopefully I’ll be able to play with it sometime soon, but right now my plate is full elsewhere with RL issues.
  • 1 Votes
    11 Posts
    469 Views
    Lycan ThropeL
    @MarkusBodensee , Okay, I followed your instructions to reproduce and I did, in fact reproduce it upon starting Firefox a new, but like @peterjones has mentioned, that’s a Firefox issue. A clue might be that I have everything reset between browser uses, so everything gets reset upon shutting down. I have high security setting. I have somewhat of an explanation, however. Many times when I’ve signed out of sites, I can go to resign back in, and the ‘username’ is still valid, and all I have to enter is my password. via Firefox password feature. Sometimes things mess up and won’t function, and I have to close the browser to reset everything, and apparently, that is what’s happening with the Notepad++ main page. When you refresh the page, it’s doing a kind of soft reset (Ctrl/Alt/Del), versus a hard reset(power button), when you do a reload and resets parameters.
  • 0 Votes
    2 Posts
    57 Views
    PeterJonesP
    @T.I-Digital-Solutions , These super-generic “what’s your workflow?” posts come up every once in a while. Maybe you should try to search up the older ones – they follow almost exactly your wording, so they shouldn’t be hard to find. I don’t seem to remember the original poster coming back and learning anything from them, or even interacting again in most cases, so I don’t know that there’s really much point to them. But since you ask, UDL and built-in syntax highlighting are non-negotiables, and I like the regex-based s+r (though I don’t need the complicated expressions that so many people ask us to make for them). As far as plugins go – for automating stuff for myself, PythonScript and NppExec and QuickText (I set up most of my workflow stuff ages ago, such that I don’t do anything new with those plugins, really… they just sit in the background making my life easier without me thinking about them anymore.) But really, context-less questions like this are meaningless. What features, plugins, etc, would help you depend completely on what you do in Notepad++. If you never touch HTML, then someone saying all their favorite XML/HTML plugins would not help you one whit.
  • 0 Votes
    3 Posts
    238 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.
  • 1 Votes
    35 Posts
    16k Views
    M
    I think keeping discussions focused on the original topic helps everyone get more useful answers. At the same time, related side discussions can be valuable when they add context or share practical experience. A clear distinction between the main topic and tangential advice makes the community easier to follow.
  • Bold text

    General Discussion
    6
    0 Votes
    6 Posts
    2k Views
    M
    Hi everyone, I owe the community an apology. My reply in this thread linked to my own website — that was self-promotional and inappropriate for this forum. The question deserved a straight answer without any link attached. I’m sorry, and it won’t happen again. Thank you to the moderators for keeping this place clean.
  • 0 Votes
    1 Posts
    97 Views
    No one has replied
  • 0 Votes
    10 Posts
    3k Views
    PeterJonesP
    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.
  • Search++: A work in progress

    Notepad++ & Plugin Development
    215
    7 Votes
    215 Posts
    77k Views
    guy038G
    Hi, @coises, First of all, sorry for the typo. I did mean : As an example, I chose to show all lines containing the the property string, with this exact case, in the ICU.txt file ! You’re perfectly right about the bug. It occurs only when the Always hide all lines and remove Show style from text before Show command option, in the Settings dialog is unchecked After checking this option in the Setting dialog, I could easily verify, with the ICU.txt file, that the 13 green markers were there, along with the 13 lines containing the the property string I also noted that, right after you just show these 13 lines, clicking in the margin right below the line 1183 just displays the remaining lines of the ICU.txt file ! I think that behavior is normal because if you then click on the marker of the 1183 line, it then also displays all lines between lines 1164 and 1183. Moreover, if after showing these 13 lines, in the ICU.txt file, you switch to an other tab, then switch back to the ICU.txt file, this time, it also displays a triangular green marker in the last line 2132 of the file ! Finally, as you said, I could verify that the markers : Were not restored at all after a click on the Reset button which follows a click on the Expand button Were not completly restored after a click on the Reset button which follows a click on the Expand before or Expand after button Were correctly preserved if you immediately click on the Reset button However, the Show only lines with shown text in the Tools dialog seem to work properly, even after switching tabs : lines to show and markers seem preserved ! Best Regards, guy038
  • 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
    486 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
    299 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
    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. 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.
  • 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
    282 Views
    Troglo37T
    @mpheath Okay, I’ll check it out. Thanks.
  • -2 Votes
    6 Posts
    514 Views
    J
    @PeterJones i just wont bother using notepad++ again, ill go find a better alternative
  • 3 Votes
    3 Posts
    381 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