• Toolbar Icon not appearing

    5
    0 Votes
    5 Posts
    454 Views
    Thomas KnoefelT

    @PeterJones said in Toolbar Icon not appearing:

    needs to match with the command number in your setCommand for that menu entry

    Ok, that makes now absolute sense for me. My setCommand is actually pointing to 0 to call the plugin.

  • New C# plugin template

    1
    3 Votes
    1 Posts
    933 Views
    No one has replied
  • Changing whether a toolbar icon is highlighted

    3
    0 Votes
    3 Posts
    237 Views
    Mark OlsonM

    @rdipardo said in Changing whether a toolbar icon is highlighted:

    NPPM_SETMENUITEMCHECK

    Agree that that works to check the menu item in the plugin menu, but it doesn’t do anything to the toolbar icon.

    I’ll just create an issue in my new C# plugin pack once I finally release it to GitHub, and maybe you can submit a PR.

  • Is there a SCI_SETLINE type message (How to update a line)

    19
    1 Votes
    19 Posts
    1k Views
    Alan KilbornA

    @Mark-Olson said in Is there a SCI_SETLINE type message (How to update a line):

    much faster if you just slurp all the text out in one go, process it in C#, and then dump it all back into the file

    …and watch your change-history go “all orange”, registering every character in the file as “changed”. Secondary concern: It also nullifies a plugin’s opportunity to provide step-by-step undo for possible individual modifications it makes.
    For me this would be a big problem, and I wouldn’t use a plugin that did this to me.
    Sure, for some people this would be absolutely no problem.
    But I wouldn’t make this approach a general recommendation.

  • [New Plugin] New Markdown Text Plugin

    15
    6 Votes
    15 Posts
    32k Views
    S

    This plugin is a life-saver! Thanks to anyone who worked on this!

  • Notepad++ v8.6.2: Fix Ctrl-V not working for some plugins

    1
    4 Votes
    1 Posts
    642 Views
    No one has replied
  • Feature Request: Colourized Tabs based on Folder Path. Please

    7
    1 Votes
    7 Posts
    644 Views
    Alan KilbornA

    @innoovative-thiinking said in Feature Request: Colourized Tabs based on Folder Path. Please:

    looks like manual colorization and drag dropping is the way to go forth.

    If I were you, I would not expect to see this behavior added to Notepad++, but, you never know.
    Good luck.

  • HowTo set hIconTab for DockingDlgInterface?

    12
    0 Votes
    12 Posts
    969 Views
    Alan KilbornA

    @ThosRTanner said:

    I think I might publish my highly overengineered replacement for DockingDlgInterace at some point cos the current one takes a lot of experimentation to get right.

    More of an official announcement for it is HERE.

  • Markdown UDL Help

    8
    1 Votes
    8 Posts
    1k Views
    D

    I can now post links - here is the UDL and test MD - https://drive.google.com/file/d/193FHJrGEL7MUIuy86khVorLLNW_HTg6P/view?usp=sharing

  • Resources/Tutorial for Next Steps in Plugin Development?

    5
    0 Votes
    5 Posts
    781 Views
    Mark OlsonM

    This doesn’t exactly solve your problems with the C++ template, but…

    I (along with several others) have made plugins with C#, rather than C++. The plugin template all the aforementioned plugins is here.

    You can stop reading here if you dislike sales pitches for programming languages.

    Reasons why I think using C# instead of C++ is a good idea:

    Windows Forms Visual Studio has a GUI so you don’t need to edit special config files to edit your forms Powerful controls like the TreeView (a huge help in the development of my JsonTools plugin) I find the event-and-subscriber-based system for handling events like clicking on the controls to be very intuitive Windows Forms have a lot of events defined, making it easy to respond to lots of types of user actions C# has nice productivity features and a garbage collector. C# is really fast. Seriously, though. I have definitely noticed plugins written in C# that perform X task faster than a comparable plugin implemented in C++.
  • Columns++ recommended update to 1.0.2

    4
    3 Votes
    4 Posts
    441 Views
    CoisesC

    @M-Andre-Z-Eckenrode said in Columns++ recommended update to 1.0.2:

    VirusTotal appears to confirm the presence of one or more threats

    This is a frustrating situation for me, and I don’t know that there is much I can do about it.

    I can promise you that there is no malware in the releases I’ve posted on GitHub, but you don’t know me.

    The just-released version of Notepad++ includes Columns++ in Plugins Admin, but I fixed a serious error after the version that will be included, so the fix won’t be included until the next time Notepad++ is updated.

    I suspect the Quick Installer gets flagged because I used a very simple method to package a script to update the plugin files — something that’s probably done by malware more often than legitimate software. I might be able to fix that, but it will take time.

    I’m not sure why the x86.zip file is flagged. I see just 2 of 61 vendors flagging it. (The x64 file contains exactly the same code, compiled for 64-bit execution, and 1 of 61 vendors flags it.) There is no way for an independent developer to find out why it is flagged. (Understandably, telling programmers how malware is detected would be telling malware authors how to avoid detection.)

    The situation may have gotten worse because I included logic to check for new versions, out of concern for exactly the situation that has occurred — finding a serious error too late to have the version with the fix included in the next Notepad++ plugins admin.

    I’m sorry that I have no better advice than this to give:

    You can trust me and bypass the malware warnings (if your system isn’t configured to deny you that option).

    You can compile from source. (Not likely to be practical unless you are a developer yourself and already have Visual Studio set up on your computer.)

    You can use the version available through the Plugins Admin in Notepad 8.6.1 and be careful not to use Replace All/Before/After if you have any unsaved data in any tabs, because there is a condition in which it will hang and necessitate force-closing Notepad++.

    You can wait until some future version of Notepad++ happens to release with the Plugins Admin containing version of Columns++ in which I haven’t made a serious blunder.

    I truly hate this. I’m already disgusted with myself for having made such a serious error, but that I can’t fix it without telling people to ignore their malware scanners and just install anyway is maddening.

  • Additional features to notepad++ workspace menu

    7
    0 Votes
    7 Posts
    1k Views
    Michael VincentM

    @DanielAzzam said in Additional features to notepad++ workspace menu:

    Can’t wait until files and folders are unified. :) as this will exactly what I was trying to reach.

    Have a look now at the 1.8.2.29 version.

    Cheers.

  • To add a new line in a script after a specific line match in notepad ++

    3
    0 Votes
    3 Posts
    316 Views
    Mark OlsonM

    @Kaleem
    In the future, please try to wrap text blocks in ```

    See also here

  • Detecting N++ UI Language

    5
    0 Votes
    5 Posts
    393 Views
    Thomas KnoefelT

    @rdipardo
    Delphi is one of my favorites 😉 it reminds me of my first big project from the early 90s. I’ve even managed to save the code on my GitHub.

    Your MultiLanguage implementation indicates that keeping the language snippets in a flat structure should suffice. I also don’t see any additional value in complicating it with XML.

    Thanks for sharing!

  • Install button is greyed out?

    10
    0 Votes
    10 Posts
    5k Views
    Alan KilbornA

    clicking the entire line would auto check the box like other apps

    Probably the reason clicking the line works the way it does is so you can be shown info about the plugin before somewhat committing to it.

    Sure, it really isn’t committing to it (because if clicking the line also clicked the box, you could still manually uncheck the box), but…

  • JSON String Escape / Unescape

    8
    0 Votes
    8 Posts
    14k Views
    Mark OlsonM

    @Ilia-Nenashev
    You’re using an old version of JsonTools that doesn’t have it.
    Try installing the latest release.

    I’d also like to note that JsonTools has a very detailed and regularly updated Changelog, so in general you should always be able to see when a certain feature was added.

  • Help in producing a plugin for column markers

    2
    1 Votes
    2 Posts
    207 Views
    PeterJonesP

    @Pedro-Henrique-Sousa-da-Silva ,

    It sounds like you want to implement a bullet list or outline. You might want to read this discussion from the Fall, as there are relevant ideas.

    Other than that, you will need to start with the User Manual’s Plugin section for getting started with plugin development.

  • Scripts to align text

    3
    3 Votes
    3 Posts
    1k Views
    CoisesC

    For what it’s worth, the plugin Columns++ can also do this using the Align… menu option. Alignment can be on the first or last occurrence of a character or string, or on a regular expression.

  • New to plugin development - help needed.

    9
    1 Votes
    9 Posts
    701 Views
    K

    @Alan-Kilborn

    Thanks again. I am developing this on an old laptop and didn’t realize NPP was so old. Upgraded using the drop-in (portable) version on x64 and all is working. Now to review the docs and plan my logic.

    Keith Smith

  • ::EnableMenuItem "do noting" on fileclosed??

    3
    0 Votes
    3 Posts
    278 Views
    MarioRosiM

    @Coises
    DrawMenuBar has no effect.