• 0 Votes
    9 Posts
    718 Views
    FreeMeowF
    @Claudia-Svenson If this is something you do many times, you can record it as a macro. Start with the text selected Press Macro|Start Recording Do the sequence up to after the paste ( Coises’ steps 2-5 ) Press Macro|Stop Recording Press Macro|Save Current Recorded Macro From this point you can just select the text and press the macro either from the macro menu or from your shortcut. Edit: After some testing, it seems the encoding change does not get saved in the macro as I expected, maybe there is some other way to change encoding to make the action saved in the macro.
  • 0 Votes
    4 Posts
    412 Views
    PeterJonesP
    @Sylvester-Bullitt , Release Candidate is available. You probably want to test this version, and report any continued problems with the Open File feature ASAP.
  • Notepad++ v8.9.7 Release Candidate

    Pinned Announcements
    2
    4 Votes
    2 Posts
    159 Views
    sevem47S
    @donho In my environment the fix for truncated OVR indicator on Status bar (25.) still has a little bit to less space reserved; it is still truncated. Changing the screen resolution changes the behaviour: with smaller resolution the text is displayed completely, but not with higher resolution: Resolution 1920x1200, scaling 150% [image: 1783367320620-0fe38c6a-5798-4343-8797-31015b51efd4-image.jpeg] [image: 1783367327490-bf1e0504-f2da-4951-bcb5-c70658919a01-image.jpeg] Resolution 1440x900, scaling 100% [image: 1783367292449-d61946e9-432e-4f8e-b00a-5d86e4e8d75b-image.jpeg] [image: 1783367300756-11461042-c586-4dce-9532-ecf7cdc554b8-image.jpeg] Debug Info: Notepad++ v8.9.7 (64-bit) Build time: Jul 6 2026 - 17:51:01 Scintilla/Lexilla included: 5.6.3/5.5.0 Boost Regex included: 1_90 pugixml included: 1.16 nlohmann JSON included: 3.12.0 Path: C:\Users\Public\LocalApp\Notepad++\notepad++.exe Command Line: Admin mode: OFF Local Conf mode: OFF Cloud Config: OFF WinGUp: absent disableNppAutoUpdate.xml: present Periodic Backup: OFF Placeholders: OFF Scintilla Rendering Mode: SC_TECHNOLOGY_DEFAULT (0) Multi-instance Mode: monoInst asNotepad: OFF File Status Auto-Detection: cdEnabledNew (for current file/tab only) Dark Mode: OFF Display Info: primary monitor: 1920x1200, scaling 150% -> OVR still a little bit truncated primary monitor: 1440x900, scaling 100% -> OVR displayed completely visible monitors count: 1 installed Display Class adapters: 0000: Description - Intel® Graphics 0000: DriverVersion - 32.0.101.8724 OS Name: Windows 11 Pro (64-bit) OS Version: 25H2 OS Build: 26200.8655 Current ANSI codepage: 1252 Plugins: ComparePlugin (2.0.2) DSpellCheck (1.5) JSMinNPP (25.11.16) MarkdownViewerPlusPlus (0.8.2) mimeTools (3.1) NppConverter (4.7) NppExport (0.4) NPPJSONViewer (2.1.1) PoorMansTSqlFormatterNppPlugin (1.6.13.31508) XMLTools (3.1.1.13)
  • Modern text file icon

    Notepad++ & Plugin Development
    1
    1
    0 Votes
    1 Posts
    92 Views
    No one has replied
  • Search++: A work in progress

    Notepad++ & Plugin Development
    98
    5 Votes
    98 Posts
    23k Views
    CoisesC
    Search++ version 0.6 is available. The big change in this version is the addition of a Search in Files dialog: [image: 1783211949656-7beeed4c-7d6c-4c3e-8b34-84e9473c4215-image.jpeg] There have been a few small fixes elsewhere — by now I’ve forgotten what they were — but mostly this release is for Find in Files. Adding that led to quite a few changes in code it shares with the existing functions, so unfortunately there could be new bugs in old functions. On the whole, though, handling of the search results list should be improved for all functions that use it. If you don’t like to read help, at least don’t forget to try right-clicking the text entry boxes and items in the file list. Replace in Files is planned but not yet implemented.
  • 1 Votes
    11 Posts
    804 Views
    P
    @PeterJones Worked perfectly, thank you.
  • 0 Votes
    2 Posts
    399 Views
    PeterJonesP
    @Mario-Lemelin , everything work fine except for the equations in latex Not all Markdown processors understand LaTeX. (For example, the Markdown processor for this forum does not.) It appears that MarkdownViewer++ does not have that feature (which doesn’t surprise me). I visited this site (https://github.com/npp-plugins/plugintemplate) but was unablew to find help. That site is just the repository for the C++ template for creating a plugin. It’s not going to have information on how to use any specific plugin. The home for MarkdownViewer++ is https://github.com/nea/MarkdownViewerPlusPlus , so that’s where you’d have to go. But the author has recently set the repo to “read only”, indicating that they are unwilling to support that plugin any more. However, there are other Markdown plugins available from Plugins Admin. I’ve never used them, but two I see include NppMarkdownPanel @ https://github.com/mohzy83/NppMarkdownPanel AnotherMarkdown @ https://github.com/ezyuzin/NppAnotherMarkdown this appears to be a fork of NppMarkdownPanel with a different feature set. when I look at its README, it mentions the ability to use katex for math (I think it’s an option that you’d have to enable by editing a config file for the plugin; you’d want to experiment and read the documentation for that plugin to be sure) – and a quick look at the katex description implies to me that it’s essentially LaTeX compatible syntax. You can install either of those from the Plugins Admin interface. It may be that one of those will do what you need (my bet would be on the second as your best chance).
  • 0 Votes
    2 Posts
    221 Views
    PeterJonesP
    @blueicehaller , Plugin commands, like Plugins > MIME Tools > URL Encode cannot be recorded in a macro. However, we have a sub-FAQ: “Using Plugin, Run-menu and Macro Commands in Macros” which explains how you can manually edit a recorded macro to include such a command (noting that caveat that if you add or remove plugins, you might have to update your macro to refer to the new menuCmdID for the plugin command).
  • Translate plugin

    Notepad++ & Plugin Development
    22
    0 Votes
    22 Posts
    40k Views
    J
    Thank you again for your help.
  • 0 Votes
    3 Posts
    335 Views
    Lycan ThropeL
    @Howard-Brown @peterjones has given you the necessary information to get back the default DarkMode settings, so you should learn from this issue and do what I did, and make your own DarkMode settings by copying that file, and giving it a different name. I called mine MyDarkModeDefault to avoid the confusion, and played with it to my hearts content. Doing this trick, even with your new default version, you can make another copy and continue to fine tune what you need to, without damaging the default, or your own new default versions. Call it MyExperimentalDarkMode, and have fun without worrying. As @peterjones and many of us around here always say, “back up what you don’t want to lose or recreate” - though that is paraphrasing. :-)
  • 0 Votes
    3 Posts
    333 Views
    Jon FlemingJ
    Thanks, your script works perfectly.
  • Ctrl-J (join lines) replaces LF with space

    General Discussion
    8
    0 Votes
    8 Posts
    784 Views
    guy038G
    Hi, @dougk.az, @peterjones and All, Oh, yes, Peter, you’re perfectly right ! But I must be a little tired from this heat wave. Since June 22, in the room where my desk is, even with a fan, the temperature has usually been between 29 °C and 30.5 °C. It’s awful ! BR guy038 Oh ! Now, I also realized that @dougk.az never spoke about the form feed ( FF ) characters, of code \x0C but spoke about the line feed ( LF ) chars, of code \x0A As I said above : really tired by heat !!!
  • Print Quality TERRIBLE & Non very useful

    General Discussion
    7
    0 Votes
    7 Posts
    1k Views
    K
    @vvPeterJones I switched Settings>Preferences>Print from “No background color” to “Black on white” and the print is much better.
  • 4 Votes
    8 Posts
    4k Views
    dr ramaanandD
    Even if the shorter, similar string was after the longer string, the same Regular Expression (Regex) can be used to get the same result:- Input abcdefghijklmnopqrstuvwx abc Output abcdefghijklmnopqrstuvwx ABC Explanation: The abc.*xyz preceding the (SKIP)(*F) in the Regex helps skip the long string starting with abc and ending with xyz and matches the other abc in the shorter, similar string! By using that Regex (mentioned in my previous post, just above this), the abc after the (SKIP)(*F) is matched, found and replaced.
  • 1 Votes
    39 Posts
    15k Views
    Lance MarchettiL
    @PeterJones Great. Thanks
  • 0 Votes
    8 Posts
    3k Views
    L
    Hello, Trying to do IPv6 in Syntax Highlighting for FortiOS. As I wanted to have a different font color for the dots and the colons in the IP address, I use those as operators, and have 0-9 A-F (Uppercase A-F) as keywords set to prefix. This only works if you’re building configs though, and will go back to default if there are lower case a-f hex values if you do a copy/paste type of thing in NPP. I chose to opt for uppercase A-F since all FortiOS words are case sensitive and must be lowercase(Not strings/objects mind you). You can, while configuring the device, set IPv6 addresses with these uppercase hex values. Note: You can specify objects without string delimiters, but I find that to be bad form. And if you include grep filtering in NPP, these keywords could be exposed. Keywords List Group Prefix Mode: Checked 0 1 2 3 4 5 6 7 8 9 A B C D E F Operators 1 . : /
  • 7 Votes
    1 Posts
    738 Views
    No one has replied
  • 0 Votes
    11 Posts
    12k Views
    shouldersS
    I requested here: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/17508 I then made a plugin here: https://github.com/shoulders/npp-exclusive-file-lock Thanks
  • 0 Votes
    4 Posts
    686 Views
    M
    @PeterJones said: So, sorry, I don’t know of a way to do that. But I am now curious if someone else knows of a way, or if one of the codebase experts knows why it might not be possible (or whether it’s a feasible feature request or not). (I’d apologize for providing a ‘non-answer’ as my answer, when you haven’t gotten a ‘real answer’ first… but I wanted to caution future respondants to not jump to the same conclusion I did at first without actually giving it a try for themselves.) No worries I like to see how people tackle problems. And with a software as vast as N++ where I know only a small percentage of all the functions, even a non answer shows me something new most of the times. Coises answer does the trick. In an ideal world I’d like a way to switch the behaviour so Alt+drag copies, but for all intents and purposes the solution works for me.
  • 0 Votes
    2 Posts
    550 Views
    PeterJonesP
    @chtaylo3 , You only need to post in the “Support for Plugins Admin & NppPluginList” topic if there’s a feature or bug with the Plugins Admin and the list DLL itself. If there are issues with your PR to add it to NppPluginList, those will be discussed in the PR itself – and it looks like yours has been accepted already. If you want to just announce your new plugin, you can just create a new Topic in the Plugin Category to tell us about it. Hence, I am moving your post to its own Topic. And congrats on creating a lexer plugin!