• New version 1.5 for Elastic Tabstops

    14
    1 Votes
    14 Posts
    3k Views
    Alan KilbornA

    @mariusv-github

    Users!
    Welcome to the world of (free) development!

  • Help to porting SourceCookifier for 64bit

    18
    0 Votes
    18 Posts
    4k Views
    Michael VincentM

    @ArkadiuszMichalski said in Help to porting SourceCookifier for 64bit:

    Could anyone try port the SourceCookifier plugin for the 64-bit version of Notepad ++?

    Seems the (perhaps) original author finally got around to it:

    https://github.com/notepad-plus-plus/nppPluginList/commit/4233a0171213201fc296906200d179b3ace63179

    Cheers.

  • Focusing on the open document

    5
    1 Votes
    5 Posts
    442 Views
    dipaolovD

    @dail Nice. Thanks!

    V.

  • Notepad plugin xml and json

    2
    0 Votes
    2 Posts
    5k Views
    Alan KilbornA

    @API-Support said in Notepad plugin xml and json:

    Cntrl+ALT+Shift+M and Cntrl+ALT+Shift+B

    It sounds like you have (or maybe “had”?) a plugin that maps these keys, and that plugin is missing or not loading for some reason. Notepad++ doesn’t map those keycombos itself.

  • .Net 6 based plugin

    2
    0 Votes
    2 Posts
    473 Views
    R

    @Carlos-Henrique-Guardão-Gandarez,

    or only the plugins developed under .Net full framework are supported?

    Afraid so.

    Every plugin is fundamentally limited to whatever APIs are used by Notepad++ itself. From the very beginning, those APIs have been the oldest, lowest-level ones available.

    Microsoft’s legacy .NET Framework is guaranteed to be installed on every Windows device from Vista onward, which is why the “official” .NET plugin template exclusively targets it.

    As the template’s maintainers recently admitted on GitHub, being stuck with such an old runtime is a technical debt that all .NET plugin developers just have to put up with.

  • Why does TextFX Change Case trim off the last character that is selected?

    4
    0 Votes
    4 Posts
    333 Views
    PeterJonesP

    @Herbert-Ripka said in Why does TextFX Change Case trim off the last character that is selected?:

    Why does TextFX Change Case trim off the last character that is selected?

    Because the original TextFX is outdated, and not communicating with the Notrpad++ editor according to the current interface. You were lucky you picked an operation that just truncated, rather than one that crashes Notepad++. Do not use old TextFX with recent Notepad++.

    If you look at our TextFX FAQ , you will see a link to NppTextFX2, where @rainman74 kindly updated the original plugin to work with recent Notepad++. You have to manually install it, but it should work for you.

    But, as @Alan-Kilborn said, Notepad++ natively handles that particular operation now, no plugin needed

  • 6 Votes
    8 Posts
    6k Views
    Fruchtzwerg94F

    A few months ago, I’ve created a PR which was already merged to the plugins pack origin repo which targets at least some of the pointers:
    https://github.com/kbilsted/NotepadPlusPlusPluginPack.Net/pull/91
    And there is still one open:
    https://github.com/kbilsted/NotepadPlusPlusPluginPack.Net/pull/95

  • Move from deprecated type/symbols/structures to valid ones

    1
    2 Votes
    1 Posts
    765 Views
    No one has replied
  • Different spacing around commas for lists

    3
    0 Votes
    3 Posts
    187 Views
    lamprey13L

    @Alan-Kilborn My Bad. I had too many windows open. I meant to post in the SQLinForm forum.

  • [New Plugin] ComparePlus v1.0.0

    30
    15 Votes
    30 Posts
    27k Views
    datatraveller1D

    Thank you @PeterJones and @Alan-Kilborn,
    As Peter suggested, I manually updated the directory c:\Program Files\Notepad++\plugins\ComparePlus\ with the content of the plugin file ComparePlus_cp_1.1.0_x64.zip successfully.

  • NppTextFx don't work with NPP 8.4.3 (x86) and above

    11
    0 Votes
    11 Posts
    1k Views
    guy038G

    Hi, @peterjones,

    As agreed, Peter, I have just sent you, five minutes ago, an e-mail with an attached file, relative to the TextFX plugin !

    Take all the time you need to read it, there is no rush !

    Best Regards

    guy038

  • CTRL+SHIFT+O no longer works. (File Switcher Plugin)

    2
    0 Votes
    2 Posts
    239 Views
    Alan KilbornA

    @ravi-sri

    You might try Navigate To plugin, but without knowing more about what sort of “quick switch” you have in mind, it is difficult to assist you.

  • Notepad++ Upgrade

    4
    0 Votes
    4 Posts
    354 Views
    Alan KilbornA

    @Hervé-Anselme

    grep and sed are a couple of quick examples.
    These are not natively Windows tools, but versions can be found that run there.

  • Use of Python Script plugin to work with FORTRAN project

    21
    1 Votes
    21 Posts
    1k Views
    Alan KilbornA

    @PeterJones said

    You (Arjan-van-Dijk) need to figure out the exact sequence of events necessary to run your gfortran command from cmd.exe.

    I think this is the absolute key point. Nobody can really help with that, because nobody has this same toolchain.

  • NPP Task List Plugin Window Overwrites

    6
    0 Votes
    6 Posts
    681 Views
    NeArnoldN

    @PeterJones I haven’t heard anything from @chcg or anyone else, but I’ve been fiddling.

    I’ve recently determined that 1) this problem is ongoing with all NPP releases through 8.4.6, and 2) it does NOT occur in dark mode. The issue will return as soon as one switches back to “light” mode. (Not a dark mode fan anyway.)

    I decided to look into the cause. I started by copying the existing v2.4 code base from Github and comparing it to the latest NPP v8.4.6 source. It appears to me that this problem is related to changes in the handling of WM_ERASEBKGND messages in the NPP DockingDlgInterface class that were added for the handling of dark mode.

    I’m going to update some of the include files and attempt to fix this issue. Never worked on a project served from Github. Hopefully when I start making pull requests, I can work with @chcg to help get a new release addressing this issue.

  • Lifecycle of a plugin

    4
    0 Votes
    4 Posts
    376 Views
    Chris De BoeckC

    @Ekopalypse said in Lifecycle of a plugin:

    @Chris-De-Boeck
    These are the methods that are called by Npp when a plugin is loaded (once, at startup).

    Thanks, that’s clear now.

  • Preferred way to work with INI files

    4
    0 Votes
    4 Posts
    480 Views
    EkopalypseE

    @Chris-De-Boeck

    Unfortunattely I don’t know much about cpp. But there is GetPrivateProfileString, not sure if this works for you.

  • TextFX Proper Case does not handle 's properly

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    guy038G

    Hi, all,

    With the last version v8.4.6, I’ve just tried to use the Edit > Convert Case to > Proper Case option against this INPUT text :

    McDonald MacDonald O'Neil Google's A FBI Inspector my.email@test.com John Smith III

    And I get :

    Mcdonald Macdonald O'neil Google's A Fbi Inspector My.Email@Test.Com John Smith Iii

    Now, if I use the Edit > Convert Case to > Proper Case (blend) option against this same INPUT text, I get :

    McDonald MacDonald O'neil Google's A FBI Inspector My.Email@Test.Com John Smith III

    Note that, whatever your choice, most of these expressions are not correct, after modifications !

    Refer, my previous post of 2015, above !

    Best Regards,

    guy038

    Funny : Exactly seven years, to the day, between my two posts !!

  • Updates and restarting removes settings

    3
    0 Votes
    3 Posts
    858 Views
    SullyPanda76clS

    @PeterJones well, actually there’s a 10-yr old bug that can explain this:

    Installation does not preserve the “do not use %appdata%” setting.

    So if you installed with that option, and then when upgrading you forget to check that option again, your settings will be lost (to be exact, they will still be in your HDD, but N++ will search for them elsewhere)

  • Custom lexer and Unicode UTF-8 text file content

    9
    1 Votes
    9 Posts
    1k Views
    Bas de ReuverB

    @rdipardo thanks for clarifying the Windows settings and the PR, it looks very useful. One question though, if I understand correctly the code in the PR creates a copy of the file content into a managed byte array. But the text data files can often be quite large, like 100MB, so then it would make a copy of 100MB right?

    That would basically double the memory usage and add performance overhead every time the syntax highlighting is applied to a csv file.

    Is there maybe a way to use the buffer_ptr directly, like in this stackoverflow answer? I know it’s “unsafe” code from the CLR perspective, as in using an unmanaged memory pointer, but it would probably perform better, so instead of:

    string content = Marshal.PtrToStringAnsi(buffer_ptr, length);

    do something like

    byte *byte_buffer = (byte *)buffer_ptr; for (var idx=0; idx < length;idx++) //etc.