• 0 Votes
    4 Posts
    68 Views
    dr ramaanandD
    @Paul-Klaes So, does the solution I provided solve your problem?
  • 0 Votes
    2 Posts
    85 Views
    PeterJonesP
    @Sylvester-Bullitt said: When is the next update As said in this post from June 26th, it is hoped to be a week from then – that is, July 3rd (still today, my time) would have been exactly 1 week… but it said “about”, because Notepad++ is just a side-gig volunteer thing that Don has done for the past few decades, and he does have a life (and job) outside of Notepad++. Given that he’s been merging a lot of PRs in the past few days, I am guessing it’s soon – probably this weekend – but cannot guarantee that. The 8.9.6.4 bug that disabled loading files from HTML hyperlinks is killing my productivity. I suggested two weeks ago that, if it really important to you, you could re-install an older version to use in the interim, which would have fixed your productivity two weeks ago. I’m sorry if you didn’t notice that part of my post.
  • 0 Votes
    7 Posts
    305 Views
    CoisesC
    @Claudia-Svenson said: @Coises You want a sample. Ok here it is. Download the following simplified text file with UTF-8 BOM encoding I zipped it to prevent conversion by webserver. https://mega.nz/file/RMQlzCTD#LhDRpJSoWAL4Vi6EP8-XlUyDeHpfp1-_aRFLlCMzICk The first two lines contain english sentence with german Umlaute The last two lines russian/cyrillic text If I switch encoding to ANSI I can see the Umlaute but the russian text is scrambled. How can I convert only a part (e.g.first two lines from ANSI to UTF-8 BOM)? Select the lines or characters that are incorrectly encoded (ANSI characters in a UTF-8-BOM file). Switch to ANSI. (Encoding|ANSI). Copy the highlighted characters (which should now appear correctly) to the clipboard. Switch to UTF-8-BOM. (Encoding|UTF-8-BOM). Paste. You can now save the corrected file as UTF-8-BOM. With your example file, the highlighted section persists perfectly when changing encoding. I wouldn’t trust that to be the case always: watch what is happening to be sure the right section is highlighted both when copying and when pasting. (Earlier in this thread I said you usually shouldn’t use the top section of the Encoding menu except in the two particular cases that I listed. This is one the rare other cases where you need to use the top section.)
  • 0 Votes
    2 Posts
    236 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
    58 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
    39k Views
    J
    Thank you again for your help.
  • 0 Votes
    3 Posts
    125 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
    129 Views
    Jon FlemingJ
    Thanks, your script works perfectly.
  • Ctrl-J (join lines) replaces LF with space

    General Discussion
    8
    0 Votes
    8 Posts
    349 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
    801 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
    3k 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
    13k 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
    529 Views
    No one has replied
  • 0 Votes
    11 Posts
    11k 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
    452 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
    361 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!
  • 0 Votes
    2 Posts
    343 Views
    X
    @CodeBiene said: MenuIcons (2.0.7) This is most likely not a N++ issue but that plugin one: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16798 https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16867 @CodeBiene said: files are prefixed with a star “*” This is not a N++ feature but that plugin one. Seems it causes more problems than benefits: https://github.com/francostellari/NppPlugins/issues/71#issuecomment-4321741836
  • 0 Votes
    23 Posts
    5k Views
    dr ramaanandD
    @Scott-Nielson @guy038 has given a good explanation of the (*SKIP)(*FAIL) method at https://community.notepad-plus-plus.org/topic/26812/generic-regex-how-to-use-the-couple-of-backtracking-control-verbs-skip-fail-or-skip-f-in-regexes/5 - in fact I recommend everyone who lands on this page after searching online, to read that explanation and understand it!
  • Can't Open URL in HTML Link

    General Discussion file open issue html
    5
    0 Votes
    5 Posts
    582 Views
    PeterJonesP
    @Sylvester-Bullitt said: Any idea when the next release will be out My guess: sometime in the next few weeks to a month or so – most of the time, that’s the cadence of the release schedule. But it all depends on when the developer thinks enough things have been added/fixed to warrant a new release. If it annoys you a lot, you can manually download and run the installer for an older version, and use that version which behaves as you want while wait to upgrade again until after you see the next version announced