• Function list customization

    2
    0 Votes
    2 Posts
    358 Views
    PeterJonesP

    @Stephan-Romhart-0 said in Function list customization:

    Are there any plans that the function list can be customized? Probably font-size or icons?

    No plans for that, that I’m aware of: I doubt anyone has ever made an official feature request like that.

    And I’m dubious that it would receive any attention, even if someone were to make an official request. The font-size just follows the Windows standard size for interface elements (which is the size that Notepad++ uses for menu text and similar text elements)

  • Function list parser for classes

    14
    0 Votes
    14 Posts
    1k Views
    Stephan Romhart 0S

    @Stephan-Romhart-0
    My final javascript class parser I use now for work is the folling:

    <parser displayName="JavaScript" id="javascript_function" commentExpr="(?s:/\*.*?\*/)|(?m-s://.*?$)"> <classRange mainExpr="class [A-Za-z_$]*\s*\{" openSymbole ="\{" closeSymbole="\}"> <className> <nameExpr expr="Klasse: [A-Za-z_$]*" /> </className> <function mainExpr="^\t[A-Za-z_$]*\([a-zA-Z,=0-9]*\)\s*\{"> <functionName> <funcNameExpr expr="[A-Za-z_$][\w$]*" /> </functionName> </function> </classRange> </parser>

    It works for me at the moment, because I use only js classes with declaration.

  • Styling Speed tied to Visible Area

    9
    0 Votes
    9 Posts
    614 Views
    Thomas KnoefelT

    @Coises said in Styling Speed tied to Visible Area:

    Have you checked whether setting different options for SCI_SETIDLESTYLING makes any difference?

    I tested them right now, and they make no difference. They seem to be more tied to a direct lexer implementation, as they control the threads for styling.

  • Plugin DLL becomes incompatible after calling CreateLexer()

    4
    0 Votes
    4 Posts
    372 Views
    Thomas KnoefelT

    @Thomas-Knoefel Just a short update on my achievements. I managed to compile everything using the original N++ sources. However, upon further investigation, I realized that if I wanted to use the Lexer, I would need to adapt a lot of code to fit into the plugins framework.
    I decided to run some tests by setting the styles without a Lexer. Remarkably, I found that using Styles instead of Indicatorstyles (which I initially used for my first test) was much faster than expected.
    Surprisingly, the speed almost matches that of a Lexer (even if it is 3 times slower, it still offers good usability for that purpose).But i think i will probably leave the N++ Source Code next to the Plugin to have a better updated in future for some other files.

  • NppExec v0.8.6 has been released!

    26
    7 Votes
    26 Posts
    3k Views
    Vitalii DovganV

    One more idea that requires help of someone familiar with HTML.
    It would be great to add a search index (ability to search for a given word) to the online NppExec Manual.
    I’ve created the corresponding issue on github, please feel free to comment right there:
    https://github.com/d0vgan/nppexec/issues/80

  • Unable to check a toolbar button on startup

    2
    0 Votes
    2 Posts
    273 Views
    rdipardoR

    Every menu item should have a Boolean property similar to the _init2Check member of the FuncItem interface type. Setting this to true makes the checkmark appear.

    Assuming your plugin initializes its menu items in a constructor, the ::setInfo function is where you would assign the restored state to each item’s _init2Check member, or whatever your implementation calls it. One of my own plugins does exactly that by reading values from an *.ini file.

    ::setInfo is called by N++ before ::getFuncsArray, and long before the toolbar gets drawn. Up to now you’ve been calling a window procedure, but your menu items need to be created and configured even before there is any window to receive messages.

  • NPP on arm ?

    3
    0 Votes
    3 Posts
    714 Views
    PeterJonesP

    @David-Slipper ,

    Notepad++ is a Windows application.

    Ones that are easily accessible on Ubuntu are running in a Wine or similar environment, and are unofficial distributions.

    So if you have that environment, you may be able to manually download the ARM version that @terry-r mentioned and get it to run. And maybe whoever supplies the easy-to-install bundle for Ubuntu might choose to eventually distribute one for ARM Ubuntu as well.

    But Notepad++ developers do not support it running on any non-Windows environment, and do not and will not supply bundles for non-Windows environments

  • Debugging Npp .exe without a debugger (beginner)

    Moved
    15
    0 Votes
    15 Posts
    1k Views
    Victorel PetrovichV

    @PeterJones said in Debugging Npp .exe without a debugger (beginner):

    I assumed @Victorel-Petrovich wouldn’t mind it being moved

    True

  • SQLinForm x64 crashes with N++ 8.5.5

    10
    0 Votes
    10 Posts
    972 Views
    Guido ThelenG

    @rdipardo @Alan-Kilborn it looks like there is a fix now available. https://community.notepad-plus-plus.org/post/88610

    Thanks for all your feedback!

  • how to add/use external libraries in plugin

    12
    0 Votes
    12 Posts
    2k Views
    Joseph SamuelJ

    @rdipardo :

    BinaryKits.Zpl.Viewer as a project reference and building it yourself.

    sure, thanks for the suggestion. will try that way…

  • Cannot run NppPlugindemo in Npp8.5.4 X64

    5
    0 Votes
    5 Posts
    390 Views
    EkopalypseE

    @909369409 said in Cannot run NppPlugindemo in Npp8.5.4 X64:

    C:\Program Files\Notepad++\plugins\Demo\NppPluginDemo.dll

    You need to rename the directory under plugins like C:\Program Files\Notepad++\plugins\NppPluginDemo\NppPluginDemo.dll

    or rename the plugin.dll to demo.dll like C:\Program Files\Notepad++\plugins\Demo\demo.dll

  • Call graph

    7
    0 Votes
    7 Posts
    1k Views
    Victorel PetrovichV

    @dinkumoil thanks, I will try it.

  • PythonScript/NppExec question

    9
    1 Votes
    9 Posts
    1k Views
    PeterJonesP

    @Ekopalypse , @Alan-Kilborn , and others,

    I think the difference is that in the situation called, there are two layers: there’s the NppExec script, which is being called by the shortcut; then the NppExec is using SendMessage to activate the PythonScript menu from a “click the menu equivalent”.

    So while the shortcut is associated with the NppExec script, it’s keys are still “active” when the menu is “clicked”, so the PS check of “am I being Ctrl+Clicked” sees the Ctrl from the NppExec shortcut and the click from the NppExec SendMessage.

    Whereas, when you just run a PythonScript with a keyboard shortcut, it isn’t also getting the “clicked” attribute.

    At least, that’s what I’ve gathered from the evidence given in this dicsussion; I could easily be wrong.

  • How to use StyleSetBack properly

    5
    0 Votes
    5 Posts
    414 Views
    Michael LeungM

    @rdipardo Oh wow that worked great!

    Really appreciate the time you guys took to help me, thanks!

  • linter plugin notepad++ 8.5 compatibility

    1
    3 Votes
    1 Posts
    273 Views
    No one has replied
  • Can "File Status Auto Detection" be changed programmatically?

    7
    2 Votes
    7 Posts
    657 Views
    mkupperM

    @Vitalii-Dovgan If you preserve a file’s modified time stamp then Notepad++ does not notice it has changed. Thus it’s possible to sneak in and make changes without triggering the pop-up.

    Of course, that also means Notepad++'s in-memory copy of an open file would be out of sync with with what’s on disk. If you do File / Reload from Disk then Notepad++ will pick up the new file contents. Reload from Disk is also available in the right click menu for the file’s tab.

  • New Plugins Home (Round 2)

    57
    8 Votes
    57 Posts
    57k Views
    Alexander VerbitskyA

    @pnedev Sorry for necroposting, but why no one said magic words “Group policies”? Chromium (and Chrome ofc) extensively uses this feature. Yes, in order to use this feature Notepad++ should provide administrative templates, but it is not that hard.

  • [New plugin] JSON escape/unescape plugin

    2
    5 Votes
    2 Posts
    3k Views
    Victorel PetrovichV

    @Alexander-Verbitsky Congratulations!

  • Auto paste the selected text automatically into One File

    17
    -3 Votes
    17 Posts
    3k Views
    Michael VincentM

    @Vitalii-Dovgan said in Auto paste the selected text automatically into One File:

    I’ve found the idea of the Clipboard Monitor to be interesting enough to experiment with and to include it into NppExec Manual.

    You are amazing! I simply could not use Notepad++ without NppExec.

    Cheers.

  • New version of HTML Tag

    39
    9 Votes
    39 Posts
    14k Views
    Michael VincentM

    @rdipardo said in New version of HTML Tag:

    By urgent request,

    My “urgent request” and thank you for promptly adding this feature. Certainly not expected to be this quick, but you are a very talented and dedicated developer and I do appreciate your commitment to Notepad++ and supporting the plugin ecosystem.

    This will certainly make my workflow (currently involves creating / editing XML schemas and docs) much easier as the tags update and change in the flux of this development period and auto-selecting the matching tags (sometimes far away in the document and nested) for renaming saves so much manual time.

    Cheers.