• 0 Votes
    4 Posts
    143 Views
    Alan KilbornA
    @guy038 said: I personally always use the 7z archive, as the 7z application is installed I use the 7z archive, but only use the WinZip application (as WinZip “knows” the 7z format). Why do I do this? I don’t know…just the habit I got into.
  • Search++: A work in progress

    Notepad++ & Plugin Development
    100
    5 Votes
    100 Posts
    26k Views
    CoisesC
    @guy038 said: First, many thanks for adding the Find in Files capability within the Search++ plugin. Thank you for trying it! It’s important to emphasize that the Filters search is always a NON-SENSITIVE search. I made it that way by default since file and folder names are not case sensitive in Windows. You can still prefix the expression with (?-i) to make it case sensitive. I don’t know if the API I use to retrieve file paths from a folder is guaranteed always to return names in the correct case, but it appears that it does. Now, is there a particular reason for not allowing the ICU search ? Just the same as before — allocation of time and effort. ICU is not a “drop-in replacement” for Boost::regex; it would have significantly delayed me being able to release a public version of this had I included ICU search. Since Notepad++ users are already familiar with Boost::regex syntax, and I am more familiar with its programming interface (and so can work with it more quickly than ICU), I have prioritized Boost::regex. I am not ruling out adding it later. I will say, though, that I plan to study and attempt to incorporate its useful unique features into Boost::regex before spending too much time trying to implement additional ICU search variants of Search++ functions. It remains to be seen whether I can successfully fork Boost::regex and extend/enhance it to make the ICU search option redundant. It definitely helps me that you are making note of ICU features you miss in Boost::regex. Regarding the Search++ Results dialog : Would it be possible to add a Purge option, like in the context menu of the N++ Search results dialog ? You could use the same label Purge for every search or some equivalent ( I do like Purge before each search ) That makes sense and sounds possible. I’ll add it. Although written in your files list, I also noted that the number of scanned files is not reported in the Search++ Results** dialog, unlike with the N++ **Search results` dialog And, if possible, it would be best to include the chosen options of the current regex too, like Regex, Case,... ?! Agreed. I’ll add that information. To end with, I noticed that, within the N++ Search results, it is possible to easily see all files which has matches, without seeing the matched lines : By hitting Ctrl and clicking on ⊟, on the first line => The search collapsed after some time and then with a simple click on ⊞ By using the Fold All option of the Context dialog and then a simple click on ⊞ of the first line I see your point. There is some flexibility missing. I will look for a way to make that easy to do.
  • 0 Votes
    13 Posts
    900 Views
    dr ramaanandD
    @guy038 Merci beaucoup!
  • Notepad++ v8.9.7 Release Candidate

    Pinned Announcements
    5
    5 Votes
    5 Posts
    1k Views
    donhoD
    FYI: Notepad++ v8.9.7 RC2 is available now: https://github.com/donho/notepad-plus-plus/releases/tag/RC2
  • 4 Votes
    9 Posts
    5k Views
    dr ramaanandD
    Another example can be seen at https://community.notepad-plus-plus.org/topic/27601/with-the-help-of-a-regex-how-to-find-code-preceded-by-a-only-if-code-is-absent-between-style-and-style-in-the-css-section-which-is-below/4
  • 0 Votes
    7 Posts
    630 Views
    PeterJonesP
    @rafaello , IANAL, and I don’t own the trademark, but with your clarifications and updates, I believe you’re probably not violating the trademark (IMO). It’s good to see someone who is willing to accept such feedback (rather than digging in your heels for a while, like happened with the aforementioned fork).
  • 0 Votes
    3 Posts
    512 Views
    R
    @PeterJones Perfect thank you very much!
  • 0 Votes
    15 Posts
    2k Views
    mpheathM
    The Python script I posted is expected to handle single byte errors from UTF8 decoding. Asian languages can be 2 byte for ANSI and so the script may need to get the following byte too to decode both bytes properly. Probably will not find recovery tools and the like that will fix mixed encoding errors as the solution in some cases might be worse then the problem though in this case tested OK. Once saved, then there might be no going back and so creating a backup before the operation would be wise. Inspect the results to confirm is OK.
  • 1 Votes
    3 Posts
    525 Views
    R
    @rdipardo thank you for pointing that out. I will check and do the needful.
  • 0 Votes
    4 Posts
    986 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.
  • Modern text file icon

    Notepad++ & Plugin Development
    1
    1
    0 Votes
    1 Posts
    325 Views
    No one has replied
  • 1 Votes
    11 Posts
    2k Views
    P
    @PeterJones Worked perfectly, thank you.
  • 0 Votes
    2 Posts
    735 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
    560 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
    42k Views
    J
    Thank you again for your help.
  • 0 Votes
    3 Posts
    752 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
    744 Views
    Jon FlemingJ
    Thanks, your script works perfectly.
  • Ctrl-J (join lines) replaces LF with space

    General Discussion
    8
    0 Votes
    8 Posts
    2k 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
    2k Views
    K
    @vvPeterJones I switched Settings>Preferences>Print from “No background color” to “Black on white” and the print is much better.
  • 1 Votes
    39 Posts
    17k Views
    Lance MarchettiL
    @PeterJones Great. Thanks