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
    • donhoD

      Notepad++ release 8.9

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      8
      4 Votes
      8 Posts
      759 Views
      D LixD

      @PeterJones
      I should have noticed it myself. Thank you.

    • J

      Perl keywords "class" and "method" not recognised by Function List

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      187 Views
      PeterJonesP

      @PeterJones said in Perl keywords "class" and "method" not recognised by Function List:

      Please note: the bad highlighting on the $) on lines 325 and 326 compared to 316-317 is caused by the underlying lexer from the Lexilla library project. I have already created an issue there to get that resolved; it cannot be fixed in Notepad++ until it’s fixed in Lexilla.

      (This is separate from the Function List behavior, but since I thought you might notice something like that if you used prototypes, I decided to point it out.)

    • PeterJonesP

      Config Files Need Updating, Too

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion pythonscript config-files stylers.xml langs.xml syntax highlight
      50
      9 Votes
      50 Posts
      18k Views
      Lycan ThropeL

      @PeterJones said in Config Files Need Updating, Too:

      But, unfortunately, there were a few growing pains in transferring from the plugin to the builtin that I was really hoping wouldn’t happen, because I had ironed out so many problems in the plugin version already.

      That IS why it’s called ‘developing’. and maintainers are ‘developers’. :-)

      If I ever saw a first version of anything that worked unscathed on the first try, I’d be digging through the code looking for the bomb that went undetected. :-)

    • S

      Open container folder in cmd but as a toolbar button ?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      82 Views
      PeterJonesP

      @shodanx2 ,

      Alternately, install the Customize Toolbar plugin, enable Plugins > Customize Toolbar > Custom Buttons, then edit ...\plugins\Config\CustomizeToolbar.btn to include something like the following:

      File,Open Containing Folder,cmd,,onion.bmp,onion.ico,onion.ico File,Open Containing Folder,Explorer,,*R:Ex,*G:Ex,*B:Ex

      The first line uses a pair of BMP (16x16, 256 color) and ICO files I had readily available to do the open-containing-folder-in-cmd, and the second line does the explorer version: it uses a RED-background Ex if using Standard Icons, a GREEN-background Ex if using Fluent icons in Light Mode, and a BLUE-background Ex if using Fluent icons in Dark Mode:

      d8b62c68-ba9c-4138-a0e8-6025055143fa-image.png
      a9742ca9-9ef4-4440-acd5-8ef82c33aa10-image.png
      d14c69f5-60ab-489f-8237-5546e6a8aeb3-image.png

      As mentioned here, the extra spaces around the buttons are due to an unfixed bug in the CustomizeToolbar plugin. The workaround is to also define a replacement icon for the Show Symbol default toolbar entry using

      View,Show Symbol,Show All Characters,,Icons\allChars.bmp,Icons\allChars_off.ico,Icons\allChars_off_dark.ico

      That issue-comment has links to where you can get the BMP and two ICO files for that button.
      But using that in addition to the commands I showed earlier will make the button toolbar more compact:
      edd28df4-f9e6-42b1-9bfd-979527514a54-image.png

    • Robert Or Janet DiebelR

      Compare plugin, output a list of line numbers that do not match

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      63 Views
      PeterJonesP

      @Robert-Or-Janet-Diebel said in Compare plugin, output a list of line numbers that do not match:

      I wish to be able to run a compare and output a list of line numbers that do not match. This, whether with Notepad++, the Compare plugin, or some other utility.

      “some other utility”: GNU’s diff command (which there are various ports to windows) could make a diff file or patch report similar to what’s described below. But anything that’s outside of Notepad++ and its plugins is OFF TOPIC here, so you’d have to look elsewhere for details of how to do that. Please don’t ask for off-topic (non-Notepad++) suggestions until it’s 100% certain that it can’t/shouldn’t be done in in Notepad++, and don’t expect more than hints if that’s the only way, because this isn’t a generic “transoform my text for me” forum.

      Never use Compare plugin; it is out of date and no longer supported, and has known dark-mode bugs. ComparePlus is the updated version of the Compare Plugin, and is the plugin you should use for comparing files.

      ComparePlus has had Generate Patch action since v2.0.0. That comes close to what you want, in that it generates a new file that has all the differences in an industry-standard “patch” file, which does list the line numbers that are different, but also includes the changes needed to convert from old to new version, so it might be more than what you want. But you could extract the info you wanted from that patch file.

      For example, if you had a patch file that looked like

      --- new 2 +++ new 3 @@ -1,6 +1,7 @@ one -two +two2 three +four has more alpha beta gamma @@ -16,4 +17,4 @@ nu xi omicron -pi +pie

      the lines in the @@ would indicate the lines that had changes (sometimes with context lines around them.

      -1,6 +1,7 says that “in the LEFT file, starting at line 1 for a total 6 lines, it is changed to the RIGHT file starting at line 1 and for a total of 7 lines” -16,4 +17,4 says “in the LEFT file, starting at line 16 with 4 lines, it is changed to the RIGHT file starting at line 17 for 4 lines.”

      So if you did a MARK for ^@@.*$ in regex mode and then Copy Marked Text, it would put all those line-number indicators in the clipboard, and you could paste those into a new tab that would just have the indications of which lines are changed.

    • T

      Why does my editor has this weird syntax highlighting?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      79 Views
      Alan KilbornA

      @th3me

      See https://community.notepad-plus-plus.org/topic/27306/faq-themes-in-v8-8-9

    • --xMRi---

      Writing a lexer plugin that has no menu items

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      1 Votes
      2 Posts
      105 Views
      EkopalypseE

      @xMRi

      As far as I know, no. Npp explicitly checks this and throws an exception if no function is defined. So I would say, use an “About” menu item.

    • donhoD

      Notepad++ 8.9 RC is available

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      8
      4 Votes
      8 Posts
      740 Views
      donhoD

      FYI
      For the security reason, the https://download.notepad-plus-plus.org/ will be shutdown for some days.
      It might be back online next year.

    • FreeMeowF

      Praise Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Praise Notepad++
      1
      3 Votes
      1 Posts
      74 Views
      No one has replied
    • donhoD

      Notepad++ 8.8.8 release

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      25
      1 Votes
      25 Posts
      9k Views
      DustyMarieD

      @Andrea-Gaviraghi More results from allowing updates on MSI package. The 8.8.8 MSI pulls the update from Notepad++ and it then installs the 8.8.9 executable. So again, the computer shows 2 installs, when only the newest is really installed. This process should be a lot cleaner…