• Call graph

    7
    0 Votes
    7 Posts
    1k Views
    Victorel PetrovichV

    @dinkumoil thanks, I will try it.

  • PythonScript/NppExec question

    9
    1 Votes
    9 Posts
    1k Views
    PeterJonesP

    @Ekopalypse , @Alan-Kilborn , and others,

    I think the difference is that in the situation called, there are two layers: there’s the NppExec script, which is being called by the shortcut; then the NppExec is using SendMessage to activate the PythonScript menu from a “click the menu equivalent”.

    So while the shortcut is associated with the NppExec script, it’s keys are still “active” when the menu is “clicked”, so the PS check of “am I being Ctrl+Clicked” sees the Ctrl from the NppExec shortcut and the click from the NppExec SendMessage.

    Whereas, when you just run a PythonScript with a keyboard shortcut, it isn’t also getting the “clicked” attribute.

    At least, that’s what I’ve gathered from the evidence given in this dicsussion; I could easily be wrong.

  • How to use StyleSetBack properly

    5
    0 Votes
    5 Posts
    375 Views
    Michael LeungM

    @rdipardo Oh wow that worked great!

    Really appreciate the time you guys took to help me, thanks!

  • linter plugin notepad++ 8.5 compatibility

    1
    3 Votes
    1 Posts
    266 Views
    No one has replied
  • Can "File Status Auto Detection" be changed programmatically?

    7
    2 Votes
    7 Posts
    594 Views
    mkupperM

    @Vitalii-Dovgan If you preserve a file’s modified time stamp then Notepad++ does not notice it has changed. Thus it’s possible to sneak in and make changes without triggering the pop-up.

    Of course, that also means Notepad++'s in-memory copy of an open file would be out of sync with with what’s on disk. If you do File / Reload from Disk then Notepad++ will pick up the new file contents. Reload from Disk is also available in the right click menu for the file’s tab.

  • New Plugins Home (Round 2)

    57
    8 Votes
    57 Posts
    57k Views
    Alexander VerbitskyA

    @pnedev Sorry for necroposting, but why no one said magic words “Group policies”? Chromium (and Chrome ofc) extensively uses this feature. Yes, in order to use this feature Notepad++ should provide administrative templates, but it is not that hard.

  • [New plugin] JSON escape/unescape plugin

    2
    5 Votes
    2 Posts
    3k Views
    Victorel PetrovichV

    @Alexander-Verbitsky Congratulations!

  • Auto paste the selected text automatically into One File

    17
    -3 Votes
    17 Posts
    2k Views
    Michael VincentM

    @Vitalii-Dovgan said in Auto paste the selected text automatically into One File:

    I’ve found the idea of the Clipboard Monitor to be interesting enough to experiment with and to include it into NppExec Manual.

    You are amazing! I simply could not use Notepad++ without NppExec.

    Cheers.

  • New version of HTML Tag

    39
    9 Votes
    39 Posts
    14k Views
    Michael VincentM

    @rdipardo said in New version of HTML Tag:

    By urgent request,

    My “urgent request” and thank you for promptly adding this feature. Certainly not expected to be this quick, but you are a very talented and dedicated developer and I do appreciate your commitment to Notepad++ and supporting the plugin ecosystem.

    This will certainly make my workflow (currently involves creating / editing XML schemas and docs) much easier as the tags update and change in the flux of this development period and auto-selecting the matching tags (sometimes far away in the document and nested) for renaming saves so much manual time.

    Cheers.

  • Catching the SCN_UPDATEUI event in Plugin

    3
    0 Votes
    3 Posts
    266 Views
    Thomas KnoefelT

    @Michael-Vincent said in Catching the SCN_UPDATEUI event in Plugin:

    Why not just do it the “plugin recommended way” (as per the Notepad++ example plugin):

    Thxs, Michael. Your suggestion was exactly what I needed. It was simpler than I initially thought, yet I spent hours figuring it out.

  • [New Plugin] Comment Toggler

    3
    5 Votes
    3 Posts
    767 Views
    Alan KilbornA

    I couldn’t get the plugin to do anything, for either Python or C++. :-(

    I make a selection, then press the toolbar button and nothing happens.

    I notice the plug hijacks Ctrl+q. I’m a believer that plugins should never assign keycombos.

  • XML Tools Pretty Print fails to indent close tag

    6
    0 Votes
    6 Posts
    543 Views
    Snabel42S

    @theshoeshiner did you guys compare the options for XML Tools?
    There’s quite a number of settings there that would affect the result.

  • Kotlin Language

    2
    0 Votes
    2 Posts
    2k Views
    Mark OlsonM

    @Adil-Sattar
    Since most Kotlin developers have probably long since moved to more fully-featured IDEs (can’t speak to what those are; not a Kotlin dev myself), you will probably be waiting a long time to get something made by someone else.

    If you’re really determined to use Notepad++ to write Kotlin, your options would seem to be:
    1a. Use the User defined language system, supplemented with EnhanceAnyLexer as needed/desired.
    OR 1b. If you’re really hardcore, write a new lexer in C++ and submit it to the fine people at Lexilla
    2. Maybe use NppLspClient with some Kotlin LSP server to get autocompletions and syntax analysis and whatnot?

  • please update (Target) to copy only unique lines.

    2
    0 Votes
    2 Posts
    206 Views
    Lycan ThropeL

    @istec ,
    You need to go to the plugin authors github site or website and make this specific request. This forum is a group of like users that help each other, we are not developers that can make changes you throw out in a request. Please check your plugin’s Help/About information to reach the author.

  • NppExec v0.8.5 has been released!

    1
    6 Votes
    1 Posts
    242 Views
    No one has replied
  • CS-SCRIPT problem after rebuilding machine.

    2
    0 Votes
    2 Posts
    253 Views
    Mark OlsonM

    @Pat-Sinclair-0
    Go to repo with plugin issue if you haven’t already.

    if I had a penny for every time I said something like this to somebody posting about a plugin issue on the community forum… (don’t worry OP, I’m not mad at you, just amused at how often I say something to this effect)

  • Plugin request: GhostText support

    4
    1 Votes
    4 Posts
    387 Views
    rdipardoR

    A PythonScript plugin would be the best approach. I suggest starting with the NeoVim plugin, which is just a Python module. Most of the APIs provided by pynvim.api.nvim should have Scintilla equivalents in PythonScript’s API modules. If not, you could make a contribution to PythonScript by patching them in. (Neo)Vim is years ahead of N++ in terms of a fully integrated Python subsystem.

  • Explorer plugin shows only default icon for TXT files

    1
    0 Votes
    1 Posts
    218 Views
    No one has replied
  • Context menu via code

    4
    0 Votes
    4 Posts
    340 Views
    Alan KilbornA

    @General-Coder said in Context menu via code:

    So is the only way SendMessage?

    If by that you mean using Windows API calls which deal with menus, then the answer is yes.

  • Plugin Docking Panel floating / docked detection

    13
    1 Votes
    13 Posts
    680 Views
    Michael VincentM

    @rdipardo said in Plugin Docking Panel floating / docked detection:

    DMN_FLOAT and DMN_DOCK are passed as the code member of a NMHDR struct, which you intercept by hooking the WM_NOTIFY message.

    Indeed. This all makes sense now. I’m overriding the default run_dlgProc() in “DockingDlgInterface.h”. So what I need to do in my run_dlgProc() is if I don’t process the WM_NOTIFY, call the default one:

    DockingDlgInterface::run_dlgProc( message, wParam, lParam );

    Works now! Thank you all - have a great weekend!

    Cheers.