• Adding Libraries to PythonScript Plugin

    40
    0 Votes
    40 Posts
    8k Views
    Alan KilbornA

    @john-doe-1 said in Adding Libraries to PythonScript Plugin:

    point me to a more specific forum for Pandas

    Hmm, can’t say I’ve ever used one.
    I searched it up; apparently a “more important” pandas is a medical condition. And of course the cute bears…

    But I did find this one, no idea of its quality: https://community.developers.refinitiv.com/tags/pandas.html

    I’m sure some more intensive searching will provide others.

  • Icons in Menus.

    4
    0 Votes
    4 Posts
    405 Views
    Alan KilbornA

    @alan-kilborn said in Icons in Menus.:

    Issue created

    When I said this, I was meaning an issue requesting the native support.

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

    2
    0 Votes
    2 Posts
    312 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
    869 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.


    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
    289 Views
    Maxitrol - MatM

    I am asking if anyone can write such a plugin for payment.

  • Plugin Feature needed

    21
    1 Votes
    21 Posts
    2k 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
    2k 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
    3k 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
    3k 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
    0 Votes
    5 Posts
    532 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
    786 Views
  • Does an etl plugin exist?

    2
    0 Votes
    2 Posts
    571 Views
    Terry RT

    @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

  • NppCrypt Plugin Not Installing

    5
    0 Votes
    5 Posts
    833 Views
    chcgC

    @rdipardo Just downloaded the x86 plugin version and on windows with N++ tool I get 29a8804a88f96c8086a0b77f0181279524ce85d1ebaa4094d4a32453a3c39bf1 on Win10. Also the check on appveyor is running on windows + python script. Current appveyor checks show no issue there. So I guess something is broken by the download or strange with the local vs. cloud storage.

  • Auto sort tabs (real-time)

    49
    0 Votes
    49 Posts
    2k 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
    11k 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
    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.
    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
    0 Votes
    25 Posts
    2k 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
    7k 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
    429 Views
    No one has replied
  • Need some extra messages for plugins

    4
    2 Votes
    4 Posts
    308 Views
  • Autocomplete over multiple lines

    7
    0 Votes
    7 Posts
    880 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.