Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • M

      Using C++ standard library in Notepad++ plugins.

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      53 Views
      CoisesC
      @matsnorberg: Notepad++ is compiled with static linking, and it’s best to do that for plugins as well. Right-click the project, select Properties, then C++ > Code Generation and set Runtime Library to /MT for Release builds and /MTd for debug builds. If you use the official plugin template, the supplied solution file already sets static linking. Note that this is OK because Notepad++ and plugins never pass C++ objects between one another. The plugin API is a pure C interface. The only time this might cause a problem is if your DLL links further DLLs which were compiled with dynamic linking. A side note: you might want to take a look at a project I created, NppCppMSVS: Visual Studio Project Template for a Notepad++ C++ Plugin. It’s a template you can add to Visual Studio so that you can easily start a new plugin project directly from Visual Studio. As noted in the readme, This project is not a part of Notepad++ and is not endorsed by the author of Notepad++. With that understanding, you might want to take a look at its documentation and see if you think it would be an easier place to start than the official plugin template (which is a GitHub template, not a Visual Studio template).
    • Thomas KnoefelT

      [New Plugin] MultiReplace

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      97
      3 Votes
      97 Posts
      102k Views
      Thomas KnoefelT
      Hi @guy038, thanks for testing again! Yes, F4 and Shift+F4 only work while the focus is in the MultiReplace Search Results window. That’s on purpose: in the editor, F4 and Shift+F4 belong to the Search results of Notepad++ itself. I don’t want to use a keyboard hook or any other trick to take them away from Notepad++, both results windows should work side by side. That’s also why there’s no F4 next to the menu entries. If you want to step through the MultiReplace results from the editor, give Next Search Result and Previous Search Result (Plugins > MultiReplace) a free shortcut in Settings > Shortcut Mapper > Plugin commands. If you prefer F4 and Shift+F4 for them, you first have to remove these keys from Next Search Result and Previous Search Result of Notepad++ in the Main menu tab, otherwise Notepad++ keeps them. About using the Find All of Notepad++ and of MultiReplace at the same time: what exactly did you see? A few steps to reproduce it would help me a lot.
    • K

      Notepad++ context menu removal

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      191 Views
      MarkusBodenseeM
      Just uncheck option to install Context Menu Entry during installation process. [image: 1796197902606-2a392e19-0f64-443e-8b07-5bc37213f35d-image.jpeg]