Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • P

      Need help with find and replace using wildcards and in multiple files

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      11
      1 Votes
      11 Posts
      889 Views
      P
      @PeterJones Worked perfectly, thank you.
    • Claudia SvensonC

      How to auto-convert text (Umlaute) when changing file encoding from ANSI to UTF-8 BOM?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      0 Votes
      10 Posts
      887 Views
      guy038G
      Hello, @claudia-svenson, @coises, @Freemeow and All, @claudia-svenson, I did downloaded your sample.zip archive and extracted your sample.txt file I tried to create a macro, from scratch, using the Macro > Start Recording and Macro > Stop Recording commands. Unfortunately, looking within the Shortcuts.xml file, I realized that the Encoding > ANSI and the Encoding > UTF-8-BOM commands has not been saved in the macro ! BTW, @peterjones, I’m looking for a list of all commands which can be recordable, from scratch ! I also searched in the official documentation without success ! Thus, the only way to get a valid macro is : Open your active Shortcuts.xml Insert, right above the last </Macros> line, the folllowing text : <Macro name="Correct ANSI chars in UTF-8 file" Ctrl="no" Alt="no" Shift="no" Key="0"> <Action type="2" message="0" wParam="45004" lParam="0" sParam="" /> <Action type="0" message="2178" wParam="0" lParam="0" sParam="" /> <Action type="2" message="0" wParam="45005" lParam="0" sParam="" /> <Action type="0" message="2179" wParam="0" lParam="0" sParam="" /> <Action type="2" message="0" wParam="41006" lParam="0" sParam="" /> </Macro> Save the current modifications Close and restart Notepad++ Now : Open your sample.txt file, in N++ Select the string of black chars xE4xF6xFC+xF6XFC Just execute the Correct ANSI chars in UTF-8 file macro You may also realize this same operation in two sequences : Select the string of black chars xE4xF6xFC Execute the Correct ANSI chars in UTF-8 file macro Then : Select the string of black chars F6XFC Re-execute the Correct ANSI chars in UTF-8 file macro Note that, if you want to test this macro with the original text of your sample.txt`file copied within a new N++ file, follow this method : Open your sample.txt file in N++ Select all your text ( Ctrl + A ) Run the Edit > Paste Special > Copy Binary Content command Open a new N++ file ( Ctrl + N ) Run the Edit > Paste Special > Paste Binary Content command And, now : Select the string of black chars xE4xF6xFC+xF6XFC Execute the Correct ANSI chars in UTF-8 file macro => The Save dialog will occur Save this new file with your desired name ! Best Regards, guy038 Reminder : If you installed N++ with an installer package, your active shortcuts.xml file should be within the folder %AppData%\Notepad++ If you installed N++ with a portable package, your active shortcuts.xml file should be along with the Notepad++.exe file, in your install folder
    • DougK.AZD

      Ctrl-J (join lines) replaces LF with space

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      0 Votes
      8 Posts
      850 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 !!!
    • donhoD

      Notepad++ v8.9.7 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      4
      5 Votes
      4 Posts
      249 Views
      donhoD
      @sevem47 OK, I will increase the width from 40 to 45 for the new release. It will be sufficient largely for any scaling factor.
    • Sylvester BullittS

      When Is the Next Update?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · bug with 8.9.6.4 html
      4
      0 Votes
      4 Posts
      471 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.
    • H

      How do I reset back to the default Dark Mode style settings?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      364 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. :-)
    • Jon FlemingJ

      NPPexec Tidy won't open html file.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      361 Views
      Jon FlemingJ
      Thanks, your script works perfectly.
    • R

      Unable to open files within an opened file

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      3
      0 Votes
      2 Posts
      23 Views
      PeterJonesP
      @ReeceBonneyTT , Known issue. Already fixed in the v8.9.7 Release Candidate You can download and test from that post; if it doesn’t fix your problem, report it there.
    • blueicehallerB

      Recording Macro including URL Encode (RFC1738)

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      247 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).
    • R

      SnippetPlus v2.1 released. Snippets, SurroundWith and SurroundWith Multiline plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      0 Votes
      1 Posts
      25 Views
      No one has replied
    • E

      Modern text file icon

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      1
      0 Votes
      1 Posts
      117 Views
      No one has replied
    • CoisesC

      Search++: A work in progress

      Watching Ignoring Scheduled Pinned Locked Moved 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.
    • Mario LemelinM

      Latex in markdown not working in npp 8.9.6.4 (64 bits)

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      423 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).
    • Евгений РоманенкоЕ

      Translate plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      22
      0 Votes
      22 Posts
      40k Views
      J
      Thank you again for your help.
    • AGoh2019A

      Print Quality TERRIBLE & Non very useful

      Watching Ignoring Scheduled Pinned Locked Moved 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.
    • guy038G

      Generic Regex : How to use the couple of "Backtracking Control" verbs (*SKIP)(*FAIL) or (*SKIP)(*F) in regexes

      Watching Ignoring Scheduled Pinned Locked Moved Blogs
      8
      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.