• Notification for command state changes

    3
    0 Votes
    3 Posts
    256 Views
    moon6969M

    I had a quick poke through NPP source… the main messageProc call (via _pluginsManager.relayNppMessages) is after the main “process message” Switch in NPPBigSwitch… but only for a few messages with “break”.

    I don’t think the TB_CHECKBUTTON messages make it to the Big Switch though since it has the same 0x402 value as NPPM_INTERNAL_CMDLIST_MODIFIED already present there.

    I’ll dig further if/when I get the chance!

  • Show TaskList option not working for Tasklist Plugin

    2
    0 Votes
    2 Posts
    6k Views
    Makwana PrahladM

    Hello,@junaid-ahmad-khan

    Please follow this steps,To Show TaskList option not working for Tasklist Plugin

    Step 1: How To Install This Notepad++ Todo List Plugin

    You can install this plugin from within Notepad++. Steps are, Notepad++ Menu Bar –> Plugins –> Plugin Manager –> Show Plugin Manager. In the “Available” section of the Plugin Manager, you
    can find this plugin with name “Task List”. Click the check box next to it
    and then click on Install button.
    Step 2:- How To Use This Notepad++ Task Todo List Plugin

    Notepad++. Steps are, go to Notepad++ Menu Bar –> Plugins –> Task List –> Show Task List. A Task List Navigation bar will be added on the right side of Notepad++.

    Step 3:-
    The syntax of the TODO task line is “TODO: task name” “TODO:” is the keyword, and “task name” is the name of the task. If “TODO:” is misspelled, the task will not be listed in Navigation Bar.

    I hope this information will be useful for you.
    Thank you.

  • icon (disk) on non active tab

    3
    0 Votes
    3 Posts
    539 Views
    Alan KilbornA

    So, here’s a procedure for “hacking” Notepad++ in order to get better-looking and easier-to-differentiate tab bar icons.

    First, get what is needed, and put everything together in a temporary folder somewhere:

    Obtain “Resource Hacker” from http://angusj.com/resourcehacker/
    I chose the ZIP install, but whatever your pleasure.
    Really what you need in this step is ResourceHacker.exe

    Get some replacement icons, by downloading:
    http://www.famfamfam.com/lab/icons/silk/famfamfam_silk_icons_v013.zip
    Extract these files only: accept.png, lock.png, pencil.png

    Use an online conversion tool to convert all 3 of the .png files to .ico files
    One that I found simple to use was: https://icoconvert.com/
    Name the resulting .ico files this way: accept.ico, lock.ico, pencil.ico

    Also add to this collection of files a copy of your usual notepad++.exe file.

    Next, and also in the same folder, create hack_npp_icons.txt with the following content:

    [FILENAMES] Open=notepad++.exe Save=notepad++_hacked_icons.exe Log=con [COMMANDS] -modify accept.ico,ICONGROUP,501,1033 -modify pencil.ico,ICONGROUP,502,1033 -modify lock.ico,ICONGROUP,503,1033

    Now, obtain a CMD.exe window in your temporary folder (not going to do a lot of hand-holding here) and run the following command:

    ResourceHacker.exe -script hack_npp_icons.txt

    If all goes well, you should end up with no error messages and a new file called notepad++_hacked_icons.exe in your folder.

    Copy the hacked exe back to the folder you copied your original notepad++.exe from.

    Now test-run the hacked exe (after closing any running instance of N++ of course).

    It should start and any tabs on the tab bar should now have the alternative icons:

    A “pencil” icon for modified but unsaved files:
    5c301d8a-99b2-440e-84ad-b9d76b406775-image.png

    A “green checkbutton” icon for saved files:
    4833d989-8372-4dde-b990-7d042906abda-image.png

    A “lock” icon for readonly files:
    265eebb0-4f30-4853-8520-fea87322d22d-image.png

  • Python Plugin Development

    6
    1 Votes
    6 Posts
    674 Views
  • Be ready for upcoming NppExec v0.6 RC4!

    2
    5 Votes
    2 Posts
    152 Views
    Michael VincentM

    @Vitaliy-Dovgan

    That is great news! Not that I think anything is missing in NppExec, but happy to see it is still actively supported. Thanks for a plugin I use everytime Notepad++ is open.

    Cheers.

  • Editor right-click, outside current text selection, lose this selection

    35
    0 Votes
    35 Posts
    3k Views
    frying-panF

    @Alan-Kilborn

    ok i see
    [https://github.com/notepad-plus-plus/notepad-plus-plus/pull/8564](link url)
    ‘Keep selection when right-click outside of selection’ has been added, or will be added to the next NPP version (as an option).

    So I will remove this specific feature from my
    NotepadPP-PythonScript-Mouse_Select_Gesture script
    once I have updated my NPP and tested the native option.

  • The problem with removing plugins in notepad ++ version 7.8.9.

    3
    0 Votes
    3 Posts
    1k Views
    Егор МалашевскийЕ

    @PeterJones I ran the program as administrator, and plugins were not removed from me. I selected the necessary plugins, clicked “delete”, confirmed the deletion, and after restarting the program started again with the same plugins))) And I started Notepad ++ as an administrator. I could solve the problem myself: I just went into the folder, went into the folder with plugins, selected all the folders (except for the config folder, because the text editor would be unstable without it), moved it to the trash, then cleared it, launched Notepad ++ again and no plugins never saw again.

  • Want the ability to delete some context menu items from Doc Switch panel

    5
    0 Votes
    5 Posts
    309 Views
    BoonHongEB

    @Alan-Kilborn said in Want the ability to delete some context menu items from Doc Switch panel:

    Snap3.jpg

    Originally, I was going to develop a plug-in that would disable or change context menus, but after two days of holding onto it because of my poor knowledge of MFC coding, I decided to modify the source code of notepad++ and build it in Visual Studio Community edition. So I searched the source code files and found out which parts to modify. As you can see from the screenshot, I had to modify two files.

    I finally succeeded in building the error code by using Google search power to search for the error code and correct the problem after half a day without being able to build it due to minor warnings and errors in the source code. The built ‘notepad++.exe’ file was overwritten in a folder that was already installed, and most of the menu items were removed as I wanted, such as a screenshot.

    Before that, it was common to be embarrassed because it was difficult to predict which direction the tall context menu panel would be displayed vertically, or to accidentally press the “close all” item. I’m so happy that it didn’t happen anymore.

    I turned off ‘automatic updates’, but even if I update them later, I’ll have to get the source code for the new version, modify it like this, and build it. If a competent developer develop and release the Doc Switcher as a single plug-in or, like I did, an advanced plug-in that has eliminated most of the context menu items, this inconvenience will be eliminated. But In my Google search, I found a lot of similar requests for improvement on DocSwitcher over the last five years. Judging from the fact that they haven’t been reflected at all so far, I don’t think I can expect much from now on. Thank you both for your answers.

  • cant install zencode plugin in notepad++

    3
    0 Votes
    3 Posts
    197 Views
    andrecool-68A

    “zencode” is an outdated plugin, I suggest installing the newer “Emmet” plugin from the same author!
    https://github.com/emmetio/
    https://emmet.io/

  • Combiner Plugin 64bit

    2
    0 Votes
    2 Posts
    523 Views
    chcgC

    See https://www.scout-soft.com/combine/, you might request a 64 bit version from the author at info@Scout-Soft.com.

  • Looking for a freelancer to develop a plugin: Misspelled Word Counter

    41
    0 Votes
    41 Posts
    3k Views
    Miguel LescanoM

    @Ekopalypse Thanks! I’ll check it out.

  • How detect codepage/encoding of current document?

    4
    0 Votes
    4 Posts
    883 Views
    EkopalypseE

    @WinterSilence

    I guess so, did a quick test with PythonScript plugin and it seems to do
    what it states it will do.

    4d4b7af0-b13c-472f-b3d7-a13c60c52c2c-image.png

    Do you suspect that this is not so?

  • asp classic or asp.net vb or vba or vb6

    1
    0 Votes
    1 Posts
    12 Views
    No one has replied
  • c# plugin, how to color highlight parts of text on each line?

    3
    0 Votes
    3 Posts
    3k Views
    EkopalypseE

    @Bas-de-Reuver

    You either use styles or indicators.
    An example of how you can do this is shown here.

  • Calling .js script using c# for a Plugin

    3
    0 Votes
    3 Posts
    197 Views
    NanyaRurirosN

    @PeterJones said in Calling .js script using c# for a Plugin:

    embed JS in C#

    Thank you!
    I will give it a look :)

  • Access NPP command-line from plugin

    4
    1 Votes
    4 Posts
    303 Views
    EkopalypseE

    @moon6969

    yes I see, I guess some kind of notification, as you wrote, is needed here.
    The wording NPPN_PARAMETERS_CHANGED might be a bit misleading
    as the mono-instance is still reporting its parameters correctly.
    Maybe NPPN_DIFFERENT_INSTANCE_MERGED?
    Native speakers - what do you suggest? :-)

  • Notepad++ Plugin development

    8
    0 Votes
    8 Posts
    553 Views
    EkopalypseE

    @Guenther-Sohler

    thit sounds like that you did not select an SDK when you installed Visual Studio, could that be?

  • quale plugin è stato usato per trovare errore nel file database no ok?

    7
    0 Votes
    7 Posts
    472 Views
    massimo la terraM

    @Ekopalypse ok certamente

  • Notification on update document without saving

    10
    0 Votes
    10 Posts
    534 Views
    WinterSilenceW

    @Alan-Kilborn The question is, do I correctly catch notifications or is there a better solution?

  • The link for Open User Defined language Folder... does not work

    6
    1 Votes
    6 Posts
    1k Views