• Unable to uninstall (remove) plugins!blem

    7
    0 Votes
    7 Posts
    2k Views
    senselockeS

    On any install of NPP, either updated from prior version or a fresh install, I am unable to add or remove any plugins. NPP resets, but the progress bars don’t show and no changes are made. I am using Windows 7. I have had this problem with every version since 7.3.x.

    I found a solution that worked here:
    @jnappo64 said in Cannot install plugins at all:

    go to proxy configuration and delete 0.0.0.0

    Hitting the [?] button on the right (next to [Window]), then > [Set Updater Proxy …]. Delete the ‘0.0.0.0’ from the ‘Proxy Server:’ field, delete ‘0’ from the ‘Port:’ field. Click [OK], then restart NPP.

    Completely wiping these entries allowed plugin admin to install/delete/update as normal.

    I do this now on every install. I have a reminder file set up in the folder I install NPP to, because I always forget and start to panic.

    I know this topic is kinda old, but maybe it will work for you, or for someone else down the line.

  • 0 Votes
    8 Posts
    616 Views
    Michael VincentM

    @Guido-Thelen said in Is my Code Folding interfering with Change History and therefore producing orange lines:

    Dear Michael-Vincent
    many thanks for your perfect explanation. I got it working now.

    I don’t know about “perfect”, but glad it helped. Thank you for continuing the support of your plugin as Notepad++ gains new features and keeps pace with Scintilla updates. It’s an arduous process, but as you can see form this forum, there are many users who I’m sure appreciate your work.

    Cheers.

  • [New Plugin] ExtSettings

    56
    9 Votes
    56 Posts
    10k Views
    dinkumoilD

    @Alan-Kilborn

    Thank you for providing the download link more close to my announcement. I will keep that in mind for the next time. To provide more info I added the change log to my comment above.

    @Alan-Kilborn said in [New Plugin] ExtSettings:

    Assumes dinkumoil does what’s necessary to make it appear there, post 8.4.8

    Done, the new release is already part of Npp’s upcoming plugin list.

    the chief documentation maintainer moved forward with using “caret” in the software UI and the user manual. Perhaps you’d want to do this as well for your “Cursor” section in an upcoming release.

    Yes, why not. It’s always good to use an equal naming.

  • export a app without run it

    3
    0 Votes
    3 Posts
    219 Views
    Lycan ThropeL

    @Alan-Kilborn ,
    And it also sounds contradictory and ambiguous from the start to the end, on top of that. ?!?

  • TextFX plugin no longer working with v.8.4.3

    Locked
    21
    0 Votes
    21 Posts
    29k Views
    Alan KilbornA

    Five “thank yous” in a row…

    Try the “upvote” or “+1” button to one of @rainman74’s posts instead:

    660116b2-cd0f-44b4-bae0-cb79b5259766-image.png

    That way rainman sees it, but no one else is “bothered” by it.

  • Import task list

    1
    0 Votes
    1 Posts
    171 Views
    No one has replied
  • I would like a plugin that lets you write code in JS to Find in File

    4
    0 Votes
    4 Posts
    383 Views
    PeterJonesP

    @Eyal282 said in I would like a plugin that lets you write code in JS to Find in File:

    Basically anti wildcard on *PrintToChat(

    You don’t need “anti-wildcard”. You need “boundary” from the zero-width assertions. \bPrintToChat\b will search for that text, requiring either start-of-line or spaces/tabs or punctuation before, and end-of-line or spaces/tabs or punctuation after

  • Marker number

    19
    0 Votes
    19 Posts
    939 Views
    Alan KilbornA

    @Paul-Wormer said in Marker number:

    You probably claimed only 0 and 15. Apparently 16 and higher are taken by some plugins.

    I ran on a virgin system with only the PythonScript plugin (aside from the plugins that come with Notepad++). I’m fairly confident (as I hinted before) that PS doesn’t claim any itself.

  • PythonScript, editor.markerAdd has stopped working

    18
    0 Votes
    18 Posts
    1k Views
    Alan KilbornA

    The marker ID used for bookmarks changed in Notepad++ 8.4.6 (and later). It is now 20, instead of 24. So, all references to 24 in this thread and/or its script(s), should be changed to 20.

  • Best way to add a toolbar to a dockable dialog

    6
    0 Votes
    6 Posts
    469 Views
    dipaolovD

    My solution after considering the options available. The approach is the one used by the Notepad++ code for the Function List panel, but slightly different where some data structures are not visible by the plugin code.

    First of all, create an empty dialog in the resource file. Then use the following code in the .CPP file:

    INT_PTR CALLBACK ProjectDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { // the dialog is being initialized case WM_INITDIALOG: { // create the toolbar with the specified style int style = WS_CHILD | WS_VISIBLE | CCS_ADJUSTABLE | TBSTYLE_AUTOSIZE | TBSTYLE_FLAT | TBSTYLE_LIST | TBSTYLE_TRANSPARENT | BTNS_AUTOSIZE | BTNS_SEP | TBSTYLE_TOOLTIPS; _hToolBar = ::CreateWindowEx(0, TOOLBARCLASSNAME, NULL, style, 0, 0, 0, 0, _hSelf, nullptr, _hInst, NULL); // set the bitmap size ::SendMessage(_hToolBar, TB_SETBITMAPSIZE, 0, MAKELPARAM(24, 24)); // get the icons from the resources TBADDBITMAP addbmp = { 0, 0 }; const int nbIcons = 8; int iconIDs[nbIcons] = { IDB_NEWPRJ, IDB_OPENPRJ, IDB_SAVEPRJ, IDB_ADDLIB, IDB_RMVLIB, IDB_ADDFILE, IDB_COMFILE, IDB_COMALL }; int iconDarkModeIDs[nbIcons] = { IDB_NEWPRJ_DM, IDB_OPENPRJ_DM, IDB_SAVEPRJ_DM, IDB_ADDLIB_DM, IDB_RMVLIB_DM , IDB_ADDFILE_DM, IDB_COMFILE_DM , IDB_COMALL_DM }; for (size_t i = 0; i < nbIcons; ++i) { int icoID = ::SendMessage(nppData._nppHandle, NPPM_ISDARKMODEENABLED, (WPARAM)0, (LPARAM(0))) ? iconDarkModeIDs[i] : iconIDs[i]; HBITMAP hBmp = static_cast<HBITMAP>(::LoadImage(_hInst, MAKEINTRESOURCE(icoID), IMAGE_BITMAP, 24, 24, LR_LOADMAP3DCOLORS | LR_LOADTRANSPARENT)); addbmp.nID = reinterpret_cast<UINT_PTR>(hBmp); ::SendMessage(_hToolBar, TB_ADDBITMAP, 1, reinterpret_cast<LPARAM>(&addbmp)); } // set up the buttons TBBUTTON tbButtons[nbIcons]; tbButtons[0].idCommand = IDC_NEWPRJ; tbButtons[0].iBitmap = 0; tbButtons[0].fsState = TBSTATE_ENABLED; tbButtons[0].fsStyle = BTNS_BUTTON | BTNS_AUTOSIZE; tbButtons[0].iString = reinterpret_cast<intptr_t>(TEXT("New project...")); // set up all the other buttons // set up the tool bar and show it ::SendMessage(_hToolBar, TB_SETMAXTEXTROWS, 0, 0); ::SendMessage(_hToolBar, TB_BUTTONSTRUCTSIZE, sizeof(TBBUTTON), 0); ::SendMessage(_hToolBar, TB_SETBUTTONSIZE, 0, MAKELONG(24, 24)); ::SendMessage(_hToolBar, TB_ADDBUTTONS, sizeof(tbButtons) / sizeof(TBBUTTON), reinterpret_cast<LPARAM>(&tbButtons)); ::SendMessage(_hToolBar, TB_AUTOSIZE, 0, 0); ::ShowWindow(_hToolBar, SW_SHOW); // create the other controls // the dialog was resized case WM_SIZE: { // get the new width and height of the panel int width = LOWORD(lParam); int height = HIWORD(lParam); // get the size of the toolbar RECT toolbarMenuRect; ::GetClientRect(_hToolBar, &toolbarMenuRect); // move the toolbar to the top with a margin int margin = 1; ::MoveWindow(_hToolBar, margin, margin, width, toolbarMenuRect.bottom, TRUE); // set the size of all the other controls } // manage the other messages } return DockingDlgInterface::run_dlgProc(message, wParam, lParam); }

    Hope this will help someone eventually.

  • 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
    5k 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
    511 Views
    dipaolovD

    @dail Nice. Thanks!

    V.

  • Notepad plugin xml and json

    2
    0 Votes
    2 Posts
    6k 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
    518 Views
    rdipardoR

    @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
    383 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
    7k 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
    817 Views
    No one has replied
  • Different spacing around commas for lists

    3
    0 Votes
    3 Posts
    213 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
    31k 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.