• Compare Plugin

    22
    0 Votes
    22 Posts
    140k Views
    YaronY

    Hello Jay,

    The links I posted were outdated. Sorry.
    Pavel Nedev frequently updates the Compare Plugin Repository. I’d recommend to follow it.
    And let’s not forget to thank Pavel for his remarkable work. :)

    The files git2.dll & sqlite3.dll are for the “Git Diff” command/functionality.
    If you don’t use that command you don’t need those DLLs.

    Best regards.

  • Not able to set dock position at the bottom of notepad++

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    dailD

    Using DWS_DF_CONT_BOTTOM gives the default position but does not force it to go there. Notepad++ remembers the location of the window and will open it back up in the previously known position. I think those settings are stored the config.xml file under <GUIConfig name="DockingManager"

  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Combine Plugin Not working Win10

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Please, Need node.js

    Locked
    2
    0 Votes
    2 Posts
    4k Views
    Frank OrellanaF

    What do you mean by “is replaced by the variable”??

    As I understand Node.js language is nothing but javascript so using javascript as the language type should work fine, I’ve worked with Node.js files and they seem to work fine even with the back ticks (template strings) which I think is what you are trying to use.

    Maybe your problem is another but I don’t seem to get it from your question, maybe you can clarify a little bit more.

  • 0 Votes
    6 Posts
    18k Views
    chcgC

    @Dave-Brotherstone :
    Could you have a look at these issues.

  • PHP autocompletion plugin

    4
    0 Votes
    4 Posts
    9k Views
    StanDogS

    I fixed the verification problem of the file ccc.dll of the PHP autocompletion plugin. The plugin version was not changed, so there will be no update notification. If the “bleeding edge” update channel is used (Plugin Manager v1.4.1 and above), then the installation works already now. In the normal update channel the warning might still appear for the next 2 weeks or so, until the list is updated.

  • Increasing 30 Style limit for plugin lexers

    6
    0 Votes
    6 Posts
    3k Views
    William NewberyW

    Took a quick shot a 1, would look something like:

    //PluginInterface.h static const int NPPLEX_SET = 1; // Configure a Scintilla lexer when it is being set as the active lexer // This is passed to the ILexer via PrivateCall(NPP_LEX_SET, ISetLexerConfig) class ISetLexerConfig { public: // The Scintilla window this lexer is for virtual HWND getScintilla() = 0; // Adds the styles defined by a language (overwrites any existing style with the same ID) // By default Notepad++ will have added the styles for the lexers own language already virtual void addStyles(const TCHAR *languageName) = 0; }; //ScintillaEditView.cpp end of void ScintillaEditView::setExternalLexer(LangType typeDoc) class SetLexerConfig : public ISetLexerConfig { public: explicit SetLexerConfig(ScintillaEditView *self) : _self(self) {} virtual HWND getScintilla()override { return _self->getHSelf(); } virtual void addStyles(const TCHAR *languageName)override { LexerStyler *pStyler = (_self->_pParameter->getLStylerArray()).getLexerStylerByName(languageName); if (pStyler) { for (int i = 0; i < pStyler->getNbStyler(); ++i) { _self->setStyle(pStyler->getStyler(i)); } } } private: ScintillaEditView *_self; }; SetLexerConfig setLexerConfig(this); execute(SCI_PRIVATELEXERCALL, NPPLEX_SET, reinterpret_cast<LPARAM>(&setLexerConfig));

    Then the lexer can just do something like:

    config->addStyles(L"Scss"); config->addStyles(L"Javascipt"); config->addStyles(L"Markdown"); config->addStyles(L"Ruby");

    As well as having a convenient handle to the Scintilla control for more advanced things outside the Notepad++ style GUI.

    Not really looked at the “word lists” yet, but should be same idea (maybe included in addStyles).

    It also occurred to me that maybe some of this could be put in the XML file, which I guess would be approach 4.

  • PICK BASIC STYLE PLUGIN?

    2
    0 Votes
    2 Posts
    4k Views
    William NewberyW

    You could look to see if anyone wrote a BASIC “lexer” for Scintilla (the editor control Notepad++ uses). There is a Visual Basic one already in Notepad++ but guess there is enough differences for that to not really work (sorry, never used BASIC or VB or VB.net)? I also found one in the current source for “blitzbasic”, “purebasic” and “freebasic”, but does not appear to be active in Notepad++.

    https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/scintilla/lexers/LexBasic.cxx

    To just color “keywords” (e.g. “if”, “else”, “return”, etc.) you have the built in “User defined language” feature (Language -> define Your language…).

    If there are language features you want more complex than what that can handle (context sensitive keywords, string interpolation, etc.) you can write your own lexer DLL. I have been prototyping some stuff at https://github.com/wnewbery/npp-languages which creates a plugin DLL for Notepad++ to load extra languages/styles from. Still deciding how want to deal with code folding, etc., but you have the default ones as complete examples of the lexer part.

    The file extension thing would mean you must manually select the language each time. Although personally a more plugable way would be great as a feature, BASIC is not alone for that (e.g. things like makefile, Gemfile, or Linux scripts using a shebang)

  • .NET Plugin: Dockable Dialog freezes Notepad++

    11
    1 Votes
    11 Posts
    5k Views
    Kasper GraversenK

    In the past I’ve tried contacting don ho… but he has never replied. It is really shit how important information is never updated. Many people are willing to help out but none of them has access to anything utility this site…

  • Heads up: New Plugin Manager admin address

    3
    2 Votes
    3 Posts
    2k Views
    bycn82 bbbbB

    1, tried to register, but not sure success or failed
    2, login always failed,
    3, no way to reset the password

    Did you test it before?

  • [Plugin Update] DoxyIt v0.2.8

    Locked
    2
    2 Votes
    2 Posts
    2k Views
    Jim DaileyJ

    @dail Thanks. This looks really useful.

  • [Plugin Update] Elastic Tabstops v1.1

    Locked
    1
    2 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    5 Posts
    4k Views
    Thunder TT

    Thanks for your reply. I thought that it’s not easy to implement this feature; I thought of sending this post after I’ve installed several plugins (mostly old) and Notepad++ crashed the next time I launched it and I couldn’t figure out which plugin caused the crash. though I solved the problem later.

  • SnippetPlus not showing new snippets until restart.

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • graph plug in

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    dailD

    Not as far as I know. Honestly, you are probably better off using an actual spreadsheet program.

  • [Plugin update] XMLTools 2.4.7

    7
    1 Votes
    7 Posts
    103k Views
    dailD

    @Nick-C Because this post is from over a year ago when 64-bit notepad++ was not even available. Check out this post from 6 days ago.

  • Advanced Syntax Highlighting

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • A lot of confusion on my head :)

    2
    0 Votes
    2 Posts
    2k Views
    pnedevP

    About ComparePlugin:

    The “unofficial” 1.5.6.8 is actually not that unofficial but is rather a development version that is fully functional and is available in x86 and x64 variant. I’ll soon release it “officially” as version 2.0.0.0 but before that there are a few more issues I’d like to fix.
    You can get the current development version from https://github.com/jsleroy/compare-plugin
    through the AppVeyor build https://ci.appveyor.com/project/jsleroy/compare-plugin/history
    The library DLLs for the corresponding variant (x86 or x64) can be found here https://github.com/jsleroy/compare-plugin/tree/master/libs.

    BR

  • Get Scintilla HWND for an ILexer/syntax highlighter plugin

    Locked
    6
    0 Votes
    6 Posts
    4k Views
    dailD

    Ok. I just wanted to make sure you weren’t heading down a path you didn’t need to :). Under normal situations, an external lexer can be fully contained within a plugin.