• JSON Plugin Does Not Work

    Jan 24, 2022, 9:29 PM
    0 Votes
    3 Posts
    4k Views

    @peterjones said in JSON Plugin Does Not Work:

    You might also make sure you don’t have I.T. department blocking the github download,

    Thanks for the reply. I don’t have any IT dept blocking downloads, yet I think you identified the problem. I believe my laptop downloads directory is a Teams folder (mirrored to my work cloud) and, when validating the checksum for NPPJSONViewer_x64.zip it is in fact different once it gets saved to my downloads folder.

    I found an alternate way to download the file and validated the checksum to confirm that it matched (using command prompt: CertUtil -hashfile <path to file> SHA256).

    Once the checksum was confirmed, I manually installed it (by using Settings>Import>Import Plugins).

    Now it works! Thanks.

  • Remove unwanted Carriage Return

    Jan 25, 2022, 5:11 AM
    0 Votes
    27 Posts
    11k Views

    @neil-schipper ,

    Reading the specs, \d and \R are “peers”,

    I disagree. But I do agree that maybe it could be explained better in the Notepad++ Searching document. However, that document does point you to the canonical Boost regex documentation, which is the official spec for the regex used by Notepad++; and, in my opinion, the Boost documents can only be interpreted to say that \R behaves differently than \d or \r or \n or even \h or \v or \s.

    In that document, you will see that \r, \n, \t, \v and others are listed under the sentence, “The following escape sequences are all synonyms for single characters:” – meaning that each of those sequences matches only a single character at a time. So \v might match any of the vertical spaces (CR, LF, and the weird ones), but a single \v in a regex will only match a single character at a time. So if you had the string AB\r\n and matched for \v, the first FIND would find just the \r.

    The \R is described in its own section called “Matching Line Endings”, which shows that it expands into (?>\x0D\x0A?|[\x0A-\x0C\x85\x{2028}\x{2029}]), which is an expression with parentheses around it and including an internal alternation | – searching for (?>), you find it’s the syntax for an independent sub-expression . This is different than all the single-character escapes listed previously. With the same string AB\r\n, searching for \R, the first FIND would match the two-character sequence \r\n. The \R behaves differently than all those other single-character escapes, because it can match multiple characters at once.

    Then if you back up a few paragraphs to Character sets, you will see the rules for character sets, including the sentence, “A bracket expression may contain any combination of the following:”. The sub-sections that follow underneath that are “Single characters”, “Character ranges”, “Negation”, “Character classes”, “Collating Elements”, “Collating Elements”, “Equivalence classes”, “Escaped Characters”, and “Combinations”. Note that none of those include “independent sub-expression”, or any other term that references a parentheses-based expression.

    The bracket[]-based character sets cannot contain parentheses()-based expressions. That is why \R does not work in a bracket[]-based class.

    An updated version of the usermanual mentions of \R can be found at https://github.com/pryrt/npp-usermanual/blob/backslashBigR/content/docs/searching.md (that temporary URL will be changed to the permanent URL by moderator power once the changes are merged into the main usermanual repository)

    First, it’s been moved out of the Control Characters section into its own special section: 9fe5e730-8a6e-4086-a0bf-07a317ee0e98-image.png Second, the Character Classes section has been improved to note that character classes cannot contain any parentheses-based group, including \R. 667dc9c3-3c5a-4d48-b84f-e1e56ece7d9e-image.png Third, in the Character Escape Sequences section, which contains the \h, \v, and \s (and thus people might assume that \R fits in there), it is clarified that being a group causes \R to be treated differently: 8cf239b3-bb64-4bdc-ae17-f5735e483916-image.png

    Hopefully, this is sufficient description in enough locations that it will prevent future confusion when users are looking up the meaning of \R and whether or not it can go inside a character class.

  • Notepad++ v8.2.1 Plugins

    Jan 31, 2022, 10:15 AM
    0 Votes
    3 Posts
    322 Views

    @shru-sd

    Could it be that you are still using the outdated Plugin Manager and not the new Plugin Admin?

  • Blank lines

    Jan 31, 2022, 3:16 AM
    0 Votes
    9 Posts
    2k Views

    @khai29382 Oops. I goofed. Link in step 1 is this!

  • Lost document list panel

    Aug 31, 2021, 10:48 PM
    0 Votes
    7 Posts
    2k Views

    @p-k said in Lost document list panel:

    if a user upgrades across multiple versions (skipping 8.1.3) he/she won’t see these release notes, but will see only the latest release notes.

    Then look for the older release notes as well. For example, the complete change history is stored at https://github.com/notepad-plus-plus/notepad-plus-plus/wiki/Changes , so you can look over nearly two decades of changes on about 3 pages. Enjoy.

    And anytime you see something change unexpectedly, and cannot find it in the most recent change list, you can try to look it up in the Online User Manual, which is linked from the ? (help) menu in Notepad++ as “Notepad++ Online User Manual”.

    For example, for this feature, since it used to be on the Settings > Preferences > General tab, you would go to npp-user-manual.org, click on Preferences, then in the jump list go to the General subcategory of the Preferences page, then read down until you come to the “Document List Panel”, which is the feature you were looking for.
    57a2633d-437b-4935-8df3-4506ba8cc3ab-image.png
    There, as you can now see, it specifically said “This section removed in v8.1.5.”, and in the “Show” checkbox section, it says that control was removed in v8.1.3, and says exactly where it is controlled now, and links to the appropriate section of the usermanual.

    But I wouldn’t call it entirely an improvement.

    You are entitled your opinions. Personally, I think that the Document List panel should have always been controlled in the same place that all the other Panels are controlled (that is, where they are now): so to me, it was a drastic improvement.

    If an application changes its expected behaviour after an upgrade, then it’s not an improvement.

    You cannot change software without changing the behavior. That’s the definition of change. If you don’t want change, don’t upgrade. (There’s even a toggle in the preferences which will turn off automatic upgrades, to help people who don’t want Notepad++ to change. You can find it documented in the User Manual.)

  • 0 Votes
    2 Posts
    210 Views

    This is no longer as much of a concern for me since I booted the HDD to save the files that only existed within the session and am gonna take my time organizing them all. Others in this situation would probably appreciate a solution if anybody knows one, though.

    For the record, saving a session composed of only saved files didn’t fix it. I’m guessing the file locations switching between the D and C drive depending on which one got booted is to blame.

  • 0 Votes
    3 Posts
    1k Views

    @pnedev

    I just used snip and sketch on my Windows to take screenshots of the differences. fortunately the comparison was not many pages

    it would be great if Notepad++ could add that as a feature to the compare plugin…

    Thanks
    Nick

  • Amnesiac Adding Text

    Jan 29, 2022, 11:25 PM
    0 Votes
    2 Posts
    215 Views

    @g2startracker ,

    This Forum is about the Notepad++ text editor, not about the nitty-gritty details of what you’re trying to type with it – so this isn’t the right forum for general “how do I do X in HTML” questions.

    That said, there are tools available in Notepad++ that might help you. I would try the XML Tools plugin (go to Notepad++'s Plugins menu, select Plugins Admin, and check the box next to XML Tools, then click Install). Once it’s installed, open your HTML file, go to Plugins > XML Tools menu, and pick one of the Pretty Print menu options, all of which will reformat your HTML without changing the meaning or text, which might make it easier for you to edit in the future.

  • 0 Votes
    9 Posts
    1k Views

    @сарега said in Смотреть файлы из ссылки:

    and you can find this plugin, I’m not strong in programming, I will be very grateful if you help me

    Unfortunately, the question you have asked cannot be solved by Notepad++ itself, and there isn’t a plugin which does that. At this point, it is a general problem of checking the timestamps on the web resource, which has nothing to do with Notepad++. If you need help finding a tool that can perform that action, or hiring someone to write such a tool for you, then you will have to find a different forum which is about generic computer/tech questions, or requestion software solutions for hire; this Forum is about Notepad++, and we can only help you with Notepad++ specific questions.

    К сожалению, вопрос, который вы задали, не может быть решен самим Notepad++, и нет плагина, который бы это делал. На данный момент, это проблема проверки временных меток на веб-ресурсе, которая не имеет ничего общего с Notepad++. Если вам нужна помощь в поиске инструмента, который может выполнить это действие, или нанять кого-то, кто напишет такой инструмент для вас, то вам придется найти другой форум, который посвящен общим компьютерным/техническим вопросам, или запросам о программных решениях на прокат; этот форум посвящен Notepad++, и мы можем помочь вам только с вопросами, специфичными для Notepad++.

    Переведено с помощью www.DeepL.com/Translator (бесплатная версия)

  • 0 Votes
    2 Posts
    288 Views

    Closed!

    import re def calculate(match): list1 = '%s'%(str(range(int(match.group(1)),int(match.group(2))+1))) str1 = str(list1).replace('[','').replace(']','') return str1 editor.rereplace(r'(\d+)\-(\d+)', calculate)
  • 0 Votes
    2 Posts
    215 Views

    @bernard

    It is more likely to be included if you make a request for a new feature here. Please check to see if it hasn’t already been requested.

  • 0 Votes
    3 Posts
    465 Views

    No I do not think so; it’s my keyboard that eats too many breadcrumbs
    Look:
    ab78e6b5-ff4e-486f-b0e6-4925af88c3a0-image.png
    I’m blocked 1 hours for that’s. i’m so stupid ^^
    Thank u so mush for reply :)

  • 0 Votes
    21 Posts
    18k Views

    @gregory-g Happy Birthday, post about ASCII Box drawing!

  • bak file as new default

    Jan 27, 2022, 10:37 PM
    3 Votes
    10 Posts
    2k Views

    @edzilla2000 ,

    Continuing with another thought: As you said regarding the config.model.xml files, the usermanual documentation is rather lacking on the deployment perspective. Unfortunately, even though I am the primary usermanual contributor, I don’t have the expertise to write such a page to be added to the manual, so I wouldn’t know where to start with such a thing.

    What would be great is if someone (hint, hint) who had just finished figuring out how to get things running smoothly for deployment were willing to lend a hand, by giving some notes, or at least coming up with a list of questions that deployers will likely want answers to, I might be able to start working on such a thing. I have created an issue for the usermanual, requesting help for this task – so replies can go there. (And I’ll try to avoid getting overly sarcastic again.)

  • Don't open folders anyway... how?

    Jan 28, 2022, 2:45 PM
    0 Votes
    4 Posts
    335 Views

    @roman-lt said in Don't open folders anyway... how?:

    Is there a way to open notepad++ with folder parameter given when it ignores such folder parameter? So, it starts, but without any new opens?
    For example, Notepad3 in this case just shows Open Dialog…

    Sorry, my English is not good…

    Thanks for trying.

    If I am understanding correctly, you want to be able to give a folder as an argument to Notepad++… but instead of opening every file in the folder (the default action) or opening FolderAsWorkspace (one of the advertised command-line options), you would like it to do something different. If I am understanding correctly, you would like it to just open Notepad++ with the Open dialog automatically showing, so that it asks you to open a file from that particular folder? Or maybe you want it to just open Notepad++ normally, but in a way that when you access the Open dialog, it will default to the given folder?

    There is no such command line argument for either of those interpretations. But there may be workarounds that are sufficient for your needs:

    If you want it to auto-spawn the Open File dialog, one could make use of the -z command line option with the PythonScript plugin, with a discussion about how to do so linked from the usermanual

    If you want it to change the default directory, you might be able to just run Notepad++ executable from that directory, or have a Windows shortcut for Notepad++ that changes the “Start In” directory. The Settings > Preferences > Default Directory may influence how effective cd __SOME__DIRECTORY__ & notepad++.exe or the shortcut – I think you want 🗹 Remember last used directory. Yeah, I just set to that Default Directory option, then created a shortcut that changes the “Start In” directory; when I run Notepad++ using that shortcut, the first time I hit File > Open (or the Open toolbar icon), it opens in the “Start In” directory.
    6191ca02-cee1-4880-b9de-4cd89db16bc0-image.png


    Addendum: sorry, after reading Alan’s response, I realized I hadn’t noticed the “Total Commander” aspect of the question. I know nothing about how to make Total Commander interact with applications in a desired manner.

  • Using UDL as default file type?

    Jan 23, 2022, 10:34 AM
    0 Votes
    6 Posts
    3k Views

    @john-english and others reading this discussion:

    I have submitted #11097 Allow UDLs in Default Language, due to this discussion and another recent one. (As well as the related #11096 Allow UDLs in SaveAs, which should also make dealing with UDLs easier)

    I cannot guarantee that anything will happen as a result of those issues, but they’ve at least been submitted. And anyone reading this discussion who agrees that one or more of those is a good idea is free to go upvote or comment on those issues.

  • 0 Votes
    3 Posts
    931 Views

    @peterjones
    I use NP++ as a better alternative for MS NP and I don’t use it as a programming text editor, just use for edit txt, srt, cue sheet, ini files.

    You can see my NP++ settings in SS below (I don’t know why NP++ has such an odd behaviour with all “Persian” fonts! It shows the fonts illegible and thinner than they are with jagged edges!).

    npSS.png

  • 0 Votes
    3 Posts
    1k Views

    @peterjones Thanks alot,

    That solved my issue.

  • -1 Votes
    5 Posts
    411 Views

    @peterjones said :

    TL;DR Please post in English in this forum, as you have been asked multiple times.

    Of course, the option exists for those that don’t post in English to reply to them with:

    Please re-post that in English as this is an English forum; unless you do that your posting will be ignored and not replied to.

  • Notepad++ update error (schannel)

    Jul 21, 2021, 4:23 AM
    0 Votes
    6 Posts
    3k Views

    @aimi617

    Finally the (schannel) issue has been resolved, the main cause of this and other similar issues related to SSL/TLS errors is incorrect security settings in Windows Registry located in HKLM SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL. The easiest way to correct SSL/TLS settings is IIS Crypto utility disabling all obsolete protocols, ciphers and leave TLS 1.2, Triple DES, AES ciphers along with SHA hashes only. After changes and computer reboot the error SEC_E_ILLEGAL_MESSAGE (0x80090326) was gone.