• NPP++ close compare

    3
    0 Votes
    3 Posts
    1k Views
    Bas de ReuverB

    @LUIZ-ROGERIO-PASSOS-DOS-SANTOS said in NPP++ close compare:

    every time I’m going to compare the files, it appears this notification and doesn’t run the compare. “Files […] match. Close compared files?”

    I don’t quite understand your issue. The message Files ... match. Close compared files? means that the files you are comparing are exactly the same, so there are no differences.

    Do you mean the message also appears where you know there should be differences?

  • 2 Votes
    9 Posts
    791 Views
    Bas de ReuverB

    Also, what is the best way to apply DarkMode colors in other windows and dialogs? 🤔 There are other dialogs that are started from the dockable window, and also from menu items.

    notepad_darkmode_dialog.png

  • How to customize the notepad++ WYSIWYG

    3
    0 Votes
    3 Posts
    2k Views
    Terry RT

    @online-onmeegam

    I should have also pointed you to the FAQ section, where you possibly should have gone in the first instance. Try reading this post.

    Surely when you downloaded Notepad++ and installed it you realised it’s a text editor, NO?

    Terry

  • XML Tools syntax check

    4
    0 Votes
    4 Posts
    5k Views
    Lycan ThropeL

    @mats-køber ,
    That’s the first thing to suspect when you get a message like that, that the line number noted isn’t necessarily the problem line. It usually means, that the line that the checker shows, is where it finally realized there was an error somewhere prior and choked trying to figure it out. :-)
    Good job finding it. In your case, it sounds like it did a prescan and then choked later down the file when trying to implement it.

  • NPP Task List Display On Bottom?

    2
    0 Votes
    2 Posts
    318 Views
    PeterJonesP

    @jeffrey-johnson ,

    It’s a docking panel, just like the built-in panels in Notepad++: click and drag on the word “Task List” on the panel, and you will see its outline start to move… Continue dragging down until it’s on the lower edge of the editor pane (between the editor text and the status bar), and the outline will snap from being a narrow-by-long rectangle to being a wide-by-short panel at the bottom. Let go of the panel, and it will draw it in at the bottom of the window instead of the side.

    Addendum: this other thread has a couple screenshots of moving another panel around; it works the same as this panel; and here is one where Alan showed an animated screen capture of changing the docking from left to right; the right to bottom works similarly

  • NppExec v0.8.2 has been released!

    1
    6 Votes
    1 Posts
    288 Views
    No one has replied
  • 0 Votes
    5 Posts
    858 Views
    Elena LauderE

    Hello all,
    Sorry for the late reply.
    Life plays a role, different things have happened.
    I appreciate your answer, thank you very much for that!
    I need to find an alternative, it was the same with Firefox. Many plugins suddenly stopped working after an update.
    Thanks for your inputs.
    Sorry for my reaction, maybe it came across too aggressively.

    I just made an old portable version for that one function.
    I’ll do it that way, but anyway to you all for the inspiration.
    Best regards, Elena

  • How can I remove icons from context menu entries? (contextMenu.xml)

    2
    0 Votes
    2 Posts
    239 Views
    Alan KilbornA

    @jay-s

    What plugins do you have installed?
    Show your Debug Info (from the ?) menu.

  • Eventual bugs in plugins with Notepad++ v8.4.x

    1
    4 Votes
    1 Posts
    634 Views
    No one has replied
  • AnalysePlugin version 1.13-R49 available

    1
    5 Votes
    1 Posts
    260 Views
    No one has replied
  • Remove the external lexer support due to Scintilla 5

    36
    3 Votes
    36 Posts
    4k Views
    Shridhar KumarS

    @bas-de-reuver this is an optional suggestion for the PropertySet function. It can be made a bit more robust by processing only for the supported properties by having else if (SupportedProperties.ContainsKey(name)) instead of the last else. Like so:

    if ((name == "separator") && (value.Length > 0)) { separatorChar = value[0]; } else if (name == "fixedwidths") { fixedWidths = value.Split(',').Select(int.Parse).ToList(); separatorChar = '\0'; } else if (SupportedProperties.ContainsKey(name)) { SupportedProperties[name] = value == "0" ? false : true; }
  • XMLTools not compatible with Notepad++ 7.5.8 64-bit

    10
    0 Votes
    10 Posts
    33k Views
    Praveen KP

    XMLTool, Xml Tools 2.4.9.2 x64 Unicode.zip.

    Once you unzip the Xml Tools 2.4.9.2 x64 Unicode.zip then you will see the folder structure below.
    C:\Program Files\Notepad++\plugins\2.4.9.2 x64 Unicode

    Open the dependencies folder. You will find all the dlls.
    Copy all the dll to the folder consisting of Notepad++.exe, except XMLTools.dll in Notepad++ plugins folder.

  • ComparePlugin crashes on Notepad++ 8.2.2 test builds

    12
    4 Votes
    12 Posts
    5k Views
    JamesWebbJ

    @michael-vincent I have done. Thanks.

  • Json Plugin not working well after upgrading to latest version

    3
    0 Votes
    3 Posts
    317 Views
    R

    @shayginat, have a look at Notepad++ 8.3.2 doesn’t work with JSON Viewer plugin 1.4.0.

    Unfortunately the source of the problem hasn’t been discovered yet. Sometimes it helps to trash everything under %AppData%\Notepad++ before major version jumps.

  • Icons by filetype thread 2

    3
    -2 Votes
    3 Posts
    390 Views
    ThespikedballofdoomT

    Even though I’m not asking for icons to be made, I’m just asking for the ability to associate them if they exist, I doubt that any developer of the project would ever be willing to implement that, so instead I’m gonna link this method here for any wandering into this thread wanting what I want.

    Special thanks to nicholas, I’m gonna spam this script everywhere on my system, I didn’t know it was this easy to manipulate icons.

    https://community.notepad-plus-plus.org/topic/22760/different-icons-for-file-extensions/3?_=1652831346795
    @nicholas said in Different icons for file extensions:

    Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.css\OpenWithProgids] "Notepad++.css"="" [HKEY_CLASSES_ROOT\Notepad++.css] @="CSS Source File" [HKEY_CLASSES_ROOT\Notepad++.css\DefaultIcon] @="C:\\Program Files\\Microsoft VS Code\\resources\\app\\resources\\win32\\css.ico" [HKEY_CLASSES_ROOT\Notepad++.css\shell] [HKEY_CLASSES_ROOT\Notepad++.css\shell\open] [HKEY_CLASSES_ROOT\Notepad++.css\shell\open\command] @="\"C:\\Program Files (x86)\\Notepad++\\notepad++.exe\" \"%1\""

    Replace .css with the file extension you want. Set the DefaultIcon path to what you want to use. If using x64 version of Notepad++ then remove the (x86). Save the file with a .reg extension and then run it.

    Next time you open a file you will be prompted to choose an application open with. Select Notepad++ and then the icons should update.

  • 0 Votes
    3 Posts
    200 Views
    R

    @abc-memento,

    Sounds like a duplicate of this issue, judging from the title: NppFTP sends NPPM_RELOADFILE message to N++ when “No” is clicked in file reload dialog

    It should be in fixed in NppFTP 0.29.9 (stable) and 0.30.12 (pre-release with newer OpenSSL libs)

  • HTML Tag Failure

    3
    0 Votes
    3 Posts
    497 Views
    R

    Hopefully this won’t be a problem in future Notepad++ versions

    Confirmed.

    npp_8.4.1_x64_rc.png

  • Python Script

    3
    0 Votes
    3 Posts
    424 Views
    Tracy SaundersT

    @peterjones said in Python Script:

    @tracy-saunders ,

    Yes. You can download an alpha/pre-release version of the PythonScript plugin from their releases page. The versions numbered 3.0.__-alpha use Python 3.x – and the more recent ones are on 3.10.

    Thank you!

  • Плагин расширенного поиска

    3
    0 Votes
    3 Posts
    2k Views
    guy038G

    Hello, @pavel-san, @terry-r and All,

    As @terry-r said, there are a lot of questions concerning your requests !!

    First, when you speak of text-1 do you mean :

    The word, as in the sentence “This abc text-1 xyz is right, but not abctext-1xyz

    The string as in the sentence “This abctext-1xyz is right, as well as abc text-1 xyz

    Secondly, do you mind about the case of letters in text-1 and/or text-2 ?

    In other words, must the string text-1 have :

    The exact case text-1

    Are the Text-1, TEXT-1, text-1 and tExT-1 syntaxes all OK ?

    Idem for text-2 !

    Now, your first statement :

    you need to find text-1 and from text-1 find up or down the occurrence of text-2 and then replace text-1 or text-2 with text-3.

    can be slipt into two different goals :

    (A) you need to find text-1 and from text-1 find up or down the occurrence of text-2 and then replace text-1 with text-3

    (B) you need to find text-1 and from text-1 find up or down the occurrence of text-2 and then replace text-2 with text 3

    But, in this case, this could also be expressed as :

    (A) Change text-1 with text-3, if current file contains, at least, one occurrence of text-2

    (B) Change text-2 with text-3, if current file contains, at least, one occurrence of text-1

    Case (A) could be achieved with the regex S/R :

    SEARCH (?s)(?=.*text-2).*?\Ktext-1

    REPLACE text-3

    Tick the Wrap-around option

    Select the Regular expression search mode

    Click once on the Replace All button

    Case (B) could be achieved with the regex S/R :

    SEARCH (?s)(?=.*text-1).*?\Ktext-2

    REPLACE text-3

    Tick the Wrap-around option

    Select the Regular expression search mode

    Click once on the Replace All button

    Finally, your second statement is :

    You have to find text-1, and then move from the text-1 to the left or to the right by a given number of characters, and then replace it starting from this position

    Many questions !

    Do you want to find all occurrences of text-1 or a specific one ?

    What you want to replace ( an exact number of chars, the next word, an exact string or even some text splited on several lines ? )

    Anyway, here is a first idea :

    To get the zero-length position, after text-1 and N characters on the right, use the search regex :

    (?-s)text-1.{N}\K

    To get the zero-length position, before text-1 and N characters on the left, use the search regex :

    (?-s)\K(?=.{N}text-1)

    See you later,

    Best Regards,

    guy038

  • How to set a lexer from a plugin?

    4
    1 Votes
    4 Posts
    360 Views
    dinkumoilD

    @dail

    Ah, OK. Now I understand why YOU asked that question. ;-)