• Is there a way to use the CustomFileDialog from a plugin?

    2
    0 Votes
    2 Posts
    747 Views
    PeterJonesP
    @martin-honnen , I do not believe that you can have access from the plugin to the custom file dialog already compiled into Notepad++.exe – at least, it doesn’t seem to be exposed by any of the API commands, and I don’t know of a way for a DLL to access a function from the parent EXE. That said, rather than fully implementing your own version, you might just be able to copy the source code for the CustomFileDialog, and compile it as part of your plugin’s DLL. I know, it has downsides (if they changed the source code, you would have to change your source code, rather than just calling their function), but it might be easier than completely re-implementing. Or you could just use a win32api-standard file-selection dialog, like GetOpenFileName or GetSaveFileName rather than NPP’s customized version. Caveat: I am not a plugin-authoring expert, though I have dealt heavily with the NPP messaging API, and know a tiny bit about generic win32 coding.
  • Anyone used the new v8.3.3 API calls yet?

    16
    3 Votes
    16 Posts
    3k Views
    PeterJonesP
    @alan-kilborn & @Ekopalypse , After getting back from the coast, I confirmed that import ctypes notepad.hwnd = ctypes.windll.user32.FindWindowW(u'Notepad++', None) nppv = ctypes.windll.user32.SendMessageW(notepad.hwnd, 1024+1000+50,0,0) console.write("NPP v{}.{}\n".format(nppv>>16, nppv&0xFFFF)) ctypes.windll.user32.SendMessageW(notepad.hwnd, 1024+1000+104, u'GEDCOM', 2) mode = ctypes.c_ssize_t(0) ctypes.windll.user32.SendMessageW(notepad.hwnd, 1024+1000+103, u'GEDCOM', ctypes.pointer(mode)) mode.value did what I wanted in old PythonScript, so it was a matter of the missing unicode marker. Which probably means that the reason my compiled version failed was probably that it wasn’t in UTF-16-LE like it should have been. But it gives me a lead, and I know in my PerlScript source code what I need to do to make sure that I send the string as UTF-16-LE. -- [image: 1647724383915-c4847b06-4ba8-4e99-a958-78dcbcbfe77f-image.png] (A few minutes before the moon set behind the clouds this morning. Twas a nice few days… but now, back to reality.)
  • I need auto sort tabs plugin (I will pay)

    3
    0 Votes
    3 Posts
    647 Views
    Maxitrol - MatM
    I am asking if anyone can write such a plugin for payment.
  • Plugin Feature needed

    21
    1 Votes
    21 Posts
    5k Views
    EkopalypseE
    @dail In general I agree, but in this particular case, which is all about search, I can’t see a race condition. But keep in mind, that I am a overconfident hobby programmer who may not see the big picture :-).
  • XML Tools Error

    3
    0 Votes
    3 Posts
    3k Views
    cahedralC
    @lycan-thrope said in XML Tools Error: notepad++.exe -noPlugin Thanks, My Steps: Start npp with -noplugin Install xmltool 3.1.1.10 Install ok restart npp and all plugins and xmltools ok.
  • need help with xml plugin

    8
    0 Votes
    8 Posts
    4k Views
    Michael VincentM
    @michael-vincent said in need help with xml plugin: Report your bug on the XML Tools plugins issue page Done - https://github.com/morbac/xmltools/issues/148 Cheers.
  • NppCalc for 64bit Notepad++

    5
    0 Votes
    5 Posts
    5k Views
    B
    @rdipardo Thank you for the detailed analysis. I have no experience in Delphi , I will continue to use 32bit NPP till a better calc plugin is available of 64bit NPP.
  • NppExec: npp command resulting in error message in scripts

    5
    1
    0 Votes
    5 Posts
    1k Views
    Domi MD
    @vitalii-dovgan Yes, that was the issue, a whitespace-like character in the next line. Thank you!
  • XML Tools: Specifying the DTD

    3
    0 Votes
    3 Posts
    1k Views
    Brigham NarinsB
    @michael-vincent Thanks.
  • Does an etl plugin exist?

    2
    0 Votes
    2 Posts
    993 Views
    T
    @a-kostenzer said in Does an etl plugin exist?: I would like to know what is in this file to solve the diagnosed problem. I went searching on Google and got an answer in less than 1 minute, you could have done the same. Try this website. It would seem these are diagnostic files generated by Windows which may help to sort out application issues. They appear to be shrunk, so they may be “binary” in nature (from the website … written to a log and stored in a compressed binary format in order to reduce the amount of space occupied). If so then Notepad++ is the wrong application to open them. Do some research on the Internet to establish what you should be using instead to read the content. Terry
  • Auto sort tabs (real-time)

    49
    0 Votes
    49 Posts
    16k Views
    Daniel TomberlinD
    @peterjones, sorry… I tried my best to not hijack a thread with another issue, which is why I approached it this way since I had 3 different questions to hash out. I don’t see this happening in the future and will just make a new post with my need and only focus on questions related to other posts without expanding outside of the scope… Btw, I couldn’t update that typo because of the 3 minute rule, but since the shared code was correct, I figured it would be figured out.
  • Notepad++ 8.2.1 incompatible with ComparePlugin 2.0.2

    2
    0 Votes
    2 Posts
    15k Views
    PeterJonesP
    @johnny-stevens , Plugin Manager hasn’t been compatible with Notepad++ for years. I assume you mean the Plugins Admin. A fresh unzip of Notepad++ v8.2.1 shows that Plugins Admin links to Compare Plugin v2.0.1 [image: 1646057536495-b32887c5-11c8-43b5-b997-2474079bef0e-image.png] v8.2.2 was never officially released (there was a RC with that number, but it was released as v8.3). v8.3 Plugins Admin links to Compare Plugin v2.0.2. [image: 1646057638013-b66b0f5d-371c-4783-880a-ca6b0ae8ba5f-image.png] In other words, the actual releases link to the right versions of the Compare Plugin. WooHoo, it does it right!
  • How to remove to separation lines in the menu?

    25
    1
    0 Votes
    25 Posts
    6k Views
    lifehack nerdL
    @michael-vincent Yeah, thank you very much for sharing your story. I also experienced sublime and ultraeditor before and then come back to Notepad++. It’s neat and very light-weight to run. Cheers.
  • With the "replace all" button, replace everything in truth.

    17
    0 Votes
    17 Posts
    9k Views
    Alan KilbornA
    @zylstra said in With the "replace all" button, replace everything in truth.: Are either of you UI designers? Or at least designers for this application? I’m an old-timer here on this site, so I know where this is going… It comes up occasionally. Everyone thinks they have the best idea for how this UI should be designed. And everyone proposing changes gets shot down, because there is no “best idea”. So if you want to continue complaining about this UI, go ahead, but I guarantee that it is pointless and no one will care about your complaints. The answer is to learn how to use the software – it isn’t that difficult. Some of your initial statements show that you have no clue about a traditional text editor’s search and replace functions and the basic workings that have been in place for decades. Tangentially related: Perhaps you will like (i.e., find amusement in) these issues: Find - Replace dialog enhancement and simplification Enhancement of the Search and Replace dialog (S&RD) in N++ and related tools: descriptive Help and new Features explained
  • NppExec v0.8 has been released!

    1
    10 Votes
    1 Posts
    690 Views
    No one has replied
  • Need some extra messages for plugins

    4
    2 Votes
    4 Posts
    818 Views
    PeterJonesP
    @leonardo-silva said in Need some extra messages for plugins: Posted there Specifically, issue #11253
  • Autocomplete over multiple lines

    7
    0 Votes
    7 Posts
    2k Views
    Romain BocquiauR
    Hi all, @guy038 said in Autocomplete over multiple lines: Hi, @romain-bocquiau, @peterjones, @michael-vincent, @alan-kilborn and All, Peter, I think that the BetterMultiSelection plugin, of @dail, allows and keeps the multi or column selection on several lines, together with the auto completion feature ! Just tested ! Best Regards, guy038 It was exactly what i needed. thank you.
  • NppExec - latest development version

    27
    7 Votes
    27 Posts
    7k Views
    Vitalii DovganV
    Continuing to polish the plugin before the release :) Latest dev version NppExec20220215 includes small improvements, such as: new flag 64 for “npe_console c<N>”, “npe_console s<N>” and “npp_exectext” fixed: “npe_console k3” did not work with Alt+key (internal) CNppExecCommandExecutor::ExecuteChildProcessCommand supports multi-line input https://sourceforge.net/projects/npp-plugins/files/NppExec/NppExec Plugin (dev)/
  • 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
    859 Views
    No one has replied