• COBOL Plugin Development

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    chcgC

    Some examples referencing sourceforge downloads are outdated and more up to date plugin examples of donho are available from:
    https://github.com/npp-plugins/plugindemo
    https://github.com/npp-plugins/plugintemplate

  • NppExec v0.6 beta 1 has been realeased!

    16
    7 Votes
    16 Posts
    7k Views
    chcgC

    @dinkumoil Checkback with Dave Brotherstone showed that the server was not working as expected. The missing sync happened and the 2 week schedule is in place again.

  • 0 Votes
    5 Posts
    3k Views
    dinkumoilD

    @Scott-Sumner

    To have a consistent user experience it would be better like you wrote. But I also agree that this needs so much effort that no one should hope to get these features.

    I think the proponents of the two-button solution missed a point. It seems they prefer to have two buttons because they want to speed up doing SEARCHES. For this use case Notepad++ offers some powerful alternatives:

    Keyboard shortcuts for forward (F3) and backward (SHIFT+F3) searching. With support of the “Customize Toolbar” plugin one can even have toolbar buttons for both of that. The seemingly overlooked though very useful “Incremental Search” (CTRL+ALT+I) function where forward and backward search buttons are already present. This function even provides a separate input field for the search term (which is integrated seamlessly into the UI), case sensitive search, highlighting of matches and it displays the matches count. The also seemingly overlooked “Find (Volatile) Next” (CTRL+ALT+F3) and “Find (Volatile) Previous” (CTRL+ALT+SHIFT+F3) functions. These functions search the next/previous word under the cursor, the quickest way to start a search because its needless to input a search term somewhere.

    I guess the initial intent when introducing the two-button search mode was to reduce the number of UI-elements and to simplify the work with this dialog. But the current design of the dialog has not only totally failed this aim, the oposite is the case.

    In my opinion the “Search & Replace” dialog should be used for more sophisticated search/replace tasks, that’s the reason why it has so much options. And instead of complaining about missing functions and demanding changes to a program users should investigate thoroughly the UI and the options dialog, often they will find useful treasures.

  • Notepad++ 7.5.6 for Clojure by modifying config files of Lisp

    3
    1 Votes
    3 Posts
    2k Views
    linpengchengL

    I hope that notepad++ officially supports Clojure,
    These configuration file can be merged into notepad++.
    I don’t understand C++ and git, I can’t pull rquests.

  • XMLTools is causing problem with NPP

    4
    0 Votes
    4 Posts
    4k Views
    chcgC

    What do you see under ?->Debug Info? For me:

    Notepad++ v7.5.6 (64-bit)
    Build time : Mar 19 2018 - 00:23:17
    Path : C:\Program Files\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : ComparePlugin.dll DSpellCheck.dll mimeTools.dll NppConverter.dll nppcrypt.dll NppFTP.dll PluginManager.dll XMLTools.dll

  • plugin manager update error

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    chcgC

    Please check at https://github.com/bruderstein/nppPluginManager/issues and create a new issue there.

  • C# plugin - error 0x0000071A closing WPF window

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    moon6969M

    Using Spy++ I can see these messages to my WPF window/wrapper when NPP closes down…

    <000015> 001A0C64 S WM_GETTEXT cchTextMax:512 lpszText:0012D7A8 <000016> 001A0C64 R WM_GETTEXT cchCopied:5 lpszText:0012E910 ("A") <000017> 001A0C64 S message:0x0090 [Unknown] wParam:00000000 lParam:00000000 <000018> 001A0C64 R message:0x0090 [Unknown] lResult:00000000 <000019> 001A0C64 S WM_WINDOWPOSCHANGING lpwp:0012FBFC <000020> 001A0C64 R WM_WINDOWPOSCHANGING <000021> 001A0C64 S WM_WINDOWPOSCHANGED lpwp:0012FBFC <000022> 001A0C64 R WM_WINDOWPOSCHANGED <000023> 001A0C64 S message:0x0272 [Unknown] wParam:00000000 lParam:00000000 <000024> 001A0C64 R message:0x0272 [Unknown] lResult:00000000 <000025> 001A0C64 S WM_DESTROY <000026> 001A0C64 R WM_DESTROY <000027> 001A0C64 S WM_NCDESTROY <000028> 001A0C64 R WM_NCDESTROY

    Does anyone know what 0x0090 and 0x0272 messages are?

    I hooked the messages in my WPF code which gave this:

    MSG 90 (0, 0) = ??? MSG 46 (0, 1244516) = WM_WINDOWPOSCHANGING MSG 47 (0, 1244516) = WM_WINDOWPOSCHANGED MSG 272 (0, 0) = ??? The thread 0x2920 has exited with code 0 (0x0). MSG 2 (0, 0) = WM_DESTROY MSG 82 (0, 0) = WM_NCDESTROY Exception thrown at 0x73F008F2 (KernelBase.dll) in notepad++.exe: 0x0000071A: The remote procedure call was canceled, or if a call time-out was specified, the call timed out. The thread 0x1b9c has exited with code 0 (0x0).

    Is it interesting that a thread exits after Msg 0x272 ? Perhaps NPP expects a non-zero reply to this message?

  • Modern way to detect if a file is dirty - ?

    Locked
    2
    0 Votes
    2 Posts
    1k Views
  • Debugging "Plugin Crash"

    14
    0 Votes
    14 Posts
    8k Views
    shrout1S

    Ok, I’ve merged the branch back into master and it seems like everything works… I don’t know what the XPML functionality is supposed to be, and without a working version I’m not sure how to troubleshoot it. I’ve removed the XPML options from the menu.

    The functional 32 bit version of the plugin is available here:

    https://github.com/shrout1/xpatherizernpp

  • 1 Votes
    6 Posts
    4k Views
    Erwin MarschalkE

    I have it now. I compiled the plugin template without any changes. The only thing was, the C++Builder has a project option ‘C++ Compiler/Output/Create Underscore for Symbolnames’, which is checked by default. It must be unchecked.

    Conclusion, Npp Plugins can also developed with Embarcadero’s C++ Builder.

    Erwin

  • Compare Plugin X64

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    dinkumoilD

    Your 32-Bit version is an outdated v1.x. The current version of the plugin (v2.0) lacks the option “Align Matches”. I guess it’s not necessary anymore.

  • Style configurator does not work

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Can I get Spellcheck plugin code in C#?

    Locked
    4
  • Customize Toolbar 4.1 (64-bit) released

    Locked
    4
    2 Votes
    4 Posts
    5k Views
    MAPJe71M

    @dave-user any plans on making the source available on SourceForge or GitHub?

  • [New Plugin] Scintillua++

    11
    7 Votes
    11 Posts
    8k Views
    Roy ActionR

    I just wanted to say thank you for that awesome plugin … finally some proper SASS highlighting (with some minor modifications of the “sass.lua”). This plugin deserves more attention!!!

    Best regards

  • Rename temporary tab

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Can we have Ctrl + Shift + R (Open Resource..) equivalent for Notepad++?

    3
    0 Votes
    3 Posts
    2k Views
    Aman S. AnejaA

    Hello @guy038,

    That is excellent. I tried your suggestion and it works perfectly.

    Thanks a ton!

  • How to use?

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    akinuriA

    This is weird (or not). I’ve just installed C++ and now the C# Plugin showed up in the New Project window.

  • [New Plugin] NppQrCode

    Locked
    1
    1 Votes
    1 Posts
    6k Views
    No one has replied
  • I need to develope custom plugin

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    PeterJonesP

    I don’t have the “log” language to which you refer… but many of the language lexers allow for adding custom keywords to existing styles. For example, Settings > Style Configurator, Language = LISP, select Style = FUNCTION WORD and you can add other custom keywords to the User-defined keywords box. It may be that your “log” language has similar – so if “log” shows up in the Language selection column, then look through it’s various Style column items, and see which ones have customizeable boxes. Any that do, you should be able to add keywords into those styles.

    That description assumes the “log” language is above the vertical bar (ie, above “Define your language…”) in the Language pulldown. If the “log” language is below the “Define your language…”, then it’s a User Defined Language (UDL), and the methodology will be different.

    Go to Language > Define your language..., then in the User language pulldown, select “log”. Go to the “Keywords List” tab, and either add your keywords to the existing styles, or if some of your 8 groups are empty, you can create new group(s) with unique style(s) in any empty groups. Ivan Radić has made available documentation on how to use UDL v2.1.