• 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.

  • [New Plugin] npp.connections

    10
    0 Votes
    10 Posts
    6k Views
    vladk1973V

    @chcg said:

    Unbekannt Es wurden keine Symbole geladen

    Try with new version. I reload zip yesterday. I clear cyrillic symbols from combobox default text. I think, the error will be disappear

    Added for x86 with https://npppm.bruderste.in/plugins/view/nppconnection.

    I tried to do that, but no messages comes to my email. I’m still waiting, but nothing happens

    Thank’s for your interest

  • ShellExecute Failed (2):

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • [New Plugin] NppDoctypes

    2
    0 Votes
    2 Posts
    1k Views
    chcgC

    @jonaskohl What about a 64bit version? Ideally this is just a recompile. For publishing the plugin with the pluginmanager a zipfile of the dll is needed. For x64 see https://github.com/bruderstein/npp-plugins-x64 and the PM itself https://bruderste.in/npp/pm/ and https://github.com/bruderstein/nppPluginManager.

  • 0 Votes
    7 Posts
    3k Views
    Geert VancompernolleG

    @MAPJe71 said:

    Your system might contain more than one functionList.xml and Notepad++ is using a different one than you’d expect or one of the plugins is interfering, try running N++ without plugins.

    Well, you are absolutely right! There was another functionlist.xml file located in my roaming directory. I’ve kicked out that one and now all is working fine.

    Great catch, didn’t see it myself!

  • [Bug] 0 equals 1???

    4
    1 Votes
    4 Posts
    3k Views
    pnedevP

    Hello all,

    @Dinesh-J-Prakash , thank you for reporting this.
    @Claudia-Frank , thank you for commenting.
    @guy038 , thank you for the detailed investigation.

    This problem has already been reported in the GitHub project page (https://github.com/pnedev/compare-plugin/issues/128)
    and I have already fixed it in the development branch. I’m preparing a new release but since it is a major plugin rework and I’m quite busy these days it is taking longer than I thought. I hope I’ll be able to release the new version in month or two.
    Just FYI the problem was with the hashing function used in the compare process.

    BR

  • Plugin Menu Bar Entry

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    jonaskohlJ

    I’ve already tried to look into TextFX’s source code, but I don’t really understand it. As I said, I’m fairly new to Notepad++ plugin development and the structure of TextFX’s source code is quite different to mine (which uses Notepad++'s C++ plugin template).