• XML Tools: Linearize incorrectly removing spaces.

    2
    0 Votes
    2 Posts
    2k Views
    Michael VincentM

    @willy-wombat said in XML Tools: Linearize incorrectly removing spaces.:

    The XML Tools

    Thank you, some of the community users use that plugin, but this is the wrong place to report a bug for a specific plugin.

    You may find better results here - the authors are pretty active - having just release an update for N++ 8.3.

    Cheers.

  • XBrackets Lite v1.3.1

    1
    1 Votes
    1 Posts
    566 Views
    No one has replied
  • 反馈8.2.1,8.3版本关键字无法回车上屏的BUG

    3
    0 Votes
    3 Posts
    306 Views
    风雪飞扬

    @terry-r 替代文字

    I see. Thank you very much for the guidance.

  • ElasticTabstops 1.3.1 Triggers Virus Alert in Notepad++ 8.3 64-bit

    2
    0 Votes
    2 Posts
    419 Views
    dailD

    @robert-bratton

    I’m the developer of the plugin. Unfortunately there isn’t anything I can do. Our corporate security also uses some flavor of CrowdStrike as well. I’m on Notepad++ 8.1.9.3 (64 bit) and I don’t plan on using 8.3 due to the various issues it is causing. I don’t have any issues, though I’m sure each deployment of CrowdStrike is different.

  • [Need Help] npp c++ plugin

    12
    0 Votes
    12 Posts
    1k Views
    Alan KilbornA

    @peterjones said in [Need Help] npp c++ plugin:

    Well, the PythonScript console is a docking panel of sorts, and could be used for outputting such data, as long as the OP just wants a simple text output, and doesn’t care about fancy formatting.

    All true, but I think the OP is going for something more sophisticated.

  • Disconnect on save with latest NppFTP

    2
    0 Votes
    2 Posts
    285 Views
    Ian PokrandtI

    Did you find a solution to this?

  • Comment Wrap plugin crashes in Notepad++ 8.3

    1
    1 Votes
    1 Posts
    454 Views
    No one has replied
  • Notepad++ plugin group lines

    2
    0 Votes
    2 Posts
    3k Views
    PeterJonesP

    @aldo ,

    In many of the builtin lexers, comment blocks or multiple sequential comment-lines already do have a “fold” button to the left, which can be used for hiding the comments.

    1755d37f-efd6-4e22-82eb-8c242287e5e4-image.png

    3b87fdb6-b1fe-4079-be97-2f84832bdb4c-image.png

    For User Defined Languages (UDL), it will only fold the comments if you check on the “Allow folding of comments” checkbox:

    3885d555-5c27-4e06-8978-40e43bfe94b5-image.png 85d64c2e-457a-479a-9f53-0230754a3b47-image.png
  • DSpellCheck crashes on Notepad++ 8.2.2 test builds

    2
    4 Votes
    2 Posts
    208 Views
    PeterJonesP

    @michael-vincent said in DSpellCheck crashes on Notepad++ 8.2.2 test builds:

    @Predelnik
    I see you here sometimes

    Unless he has a second account, or only logs on in hidden mode, his account info:
    a0845116-ff85-4297-a6fe-ec6a1c094fd6-image.png
    … indicates that he hasn’t been here in over two years… I think the issue on the repo is more likely to catch his attention. ;-)

  • Quick Text and Regex

    2
    0 Votes
    2 Posts
    315 Views
    Michael VincentM

    @manousos-p-koutsoukos said in Quick Text and Regex:

    im trying to make it recognize a html opening tag and add the closing tag

    That is the wrong use of that plugin. Notepad++ auto-completes HTML tags automatically. Settings => Preferences => Auto-Complete

    5606e962-4630-4aa2-b81a-64fb9405b8e4-image.png

    Cheers.

  • Multi menu in my plugins

    7
    0 Votes
    7 Posts
    451 Views
    EkopalypseE

    @john-huang

    From Npp’s point of view you only provide the main menu via the function item array, everything else has to be handled by your plugin.
    To do that, ask Npp for the plugin menu handle and once you have it, find the menu item you want to add sub-items to like here.
    Now, to know when an npp user has clicked on such a menu item, you need to listen to the messageProc and act accordingly.
    If it is necessary to manipulate the main menu of the plugin at runtime, then you need to ask Npp for a list of pre-assigned menu items.
    I agree that this part could be described in more detail in the manual, which I will do soon.
    If there is anything else that you think is not well described or maybe irritating, let us know.

    @Alan-Kilborn

    It is the same for any Windows program coding.

    Creating the menu, yes, but with some Npp-related *quirks that I hope I described clearly above.

    *can’t find another/better word for it.

  • 1 Votes
    4 Posts
    401 Views
  • 2 Votes
    28 Posts
    3k Views
    Alan KilbornA

    @slusher59 said in Looking for tips/directions on how to best approach creating a custom plugin for Notepad++:

    is it possible in NPP to display only the search results that have > 0 hits, and hide all searches that returned 0 results?

    As I said before:

    @alan-kilborn said in Looking for tips/directions on how to best approach creating a custom plugin for Notepad++:

    So Search results window and PythonScript don’t typically play well together.

    If you script searches, you have to find your own way of presenting the output to the user.

    One way of doing this is having your script write output to a new (file) tab that it creates. That way you have total control of what goes into the output. You can even make it appear a lot like the usual Search results. If you want to get really fancy, you could even set it up so that double-clicking in this output would open the file where the hit was found.

    It just depends if the time you want to spend on this is better spent scripting or developing a true plugin. But even a true plugin isn’t going to have an easy time of doing custom things with Notepad++'s Search results area.

  • Communicate with authors of XML Tools plugin

    5
    0 Votes
    5 Posts
    448 Views
    Lycan ThropeL

    @michael-vincent
    Ack…my apologies…I was checking NPP XML Treeview. Sorry for that and thanks for the correction. I don’t know how I confused that, because I saw someone post about an update in xml tools and I could have sworn that’s where I went, but it may have been a mis-selection in the installed directory link. :-(

    XMLMistake.PNG

    It was actually this link where I saw that. Thanks for the correction :::slinks away embarrassed::

    Lee

  • Version of Python in script

    7
    0 Votes
    7 Posts
    2k Views
    Paul WormerP

    Earlier I posted a simple calculator script which is based on Python 2.7. In Python 2.7 an integer division yields an integer (as in Fortran). In Python 3 this was changed to yield a float. If the Python 3 behavior is wanted, one must add to the top of the script: from __future__ import division.

  • Python script icon mouseover

    13
    0 Votes
    13 Posts
    970 Views
    Alan KilbornA

    Continuing from above…

    The screenshot directly above is for the fluent icon.

    For a bitmap I found VS shows the “type” a bit differently; I had to invoke “Properties” to see it, example:

    9ef77518-201f-4aff-98b6-09d3e381fa67-image.png

    The properties shown are for the print.bmp file from N++ source.

  • The plugin uses direct from the Windows Console in the app

    11
    0 Votes
    11 Posts
    849 Views
    A

    @wintersilence
    thank’s

  • Add new API NPPM_ADDTOOLBARICON_FORDARKMODE for dark mode

    8
    1 Votes
    8 Posts
    1k Views
    matteshM

    @donho
    Was just starting to implement darkmode icons…
    What happens with plugins used in older versions of NPP?
    I guess I’m not the only one facing this for some time.
    I would implement both messages and make the choice by the NPP version:

    if (8 <= HIWORD(execute(nppHandle, NPPM_GETNPPVERSION))) { // version 8 did introduce the dark mode g_TBIconsDrk.hToolbarBmp = (HBITMAP)::LoadImage(_findDlg.getHinst(), MAKEINTRESOURCE(IDB_TB_ANALYSE), IMAGE_BITMAP, 0, 0, (LR_DEFAULTSIZE | LR_LOADMAP3DCOLORS)); g_TBIconsDrk.hToolbarIcon = (HICON)::LoadIcon(_findDlg.getHinst(), MAKEINTRESOURCE(IDI_ANALYSE_NEW)); g_TBIconsDrk.hToolbarIconDarkMode = (HICON)::LoadIcon(_findDlg.getHinst(), MAKEINTRESOURCE(IDI_ANALYSE_NEW_DRK)); execute(nppHandle, NPPM_ADDTOOLBARICON_FORDARKMODE, (WPARAM)funcItem[SHOWFINDDLG]._cmdID, (LPARAM)&g_TBIconsDrk); } else { g_TBIconsOld.hToolbarBmp = (HBITMAP)::LoadImage(_findDlg.getHinst(), MAKEINTRESOURCE(IDB_TB_ANALYSE), IMAGE_BITMAP, 0, 0, (LR_DEFAULTSIZE | LR_LOADMAP3DCOLORS)); g_TBIconsOld.hToolbarIcon = (HICON)::LoadIcon(_findDlg.getHinst(), MAKEINTRESOURCE(IDI_ANALYSE)); execute(nppHandle, NPPM_ADDTOOLBARICON_DEPRECATED, (WPARAM)funcItem[SHOWFINDDLG]._cmdID, (LPARAM)&g_TBIconsOld); }

    This works with older versions also.
    Comments?
    rgds, Mattes

  • [C#] Gray Out Plugin's Tab Icon

    8
    0 Votes
    8 Posts
    565 Views
    Alan KilbornA

    @ekopalypse said in [C#] Gray Out Plugin's Tab Icon:

    I agree, but if we stick to the need for questions to be tied to Npp, then I think this question meets the requirement

    Well, I’ve given up trying to police regex questions (because it simply doesn’t work), so in general for other things I just try to hint that people will find better help elsewhere (when they will).

    I do still try to discourage people that ask regex question after regex question from doing that.

    Probably for the toolbar icon question, if answered here the likely advice would show it in PythonScript (well, if I were answering it). That could be helpful to the OP, but probably on the right forum (e.g. StackOverflow ?), code in the desired language to do exactly what is wanted is to be found. Thus getting to a better answer faster and not being off-topic (IMO) on this forum – 2 desirable goals.

  • JSFunctionViewer Plugin Release

    1
    1 Votes
    1 Posts
    458 Views
    No one has replied