• [Plugin Update] GedcomLexer v0.3.0-r82

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Interact on oppening file

    7
    0 Votes
    7 Posts
    4k Views
    Claudia FrankC

    Nice to see that I’m not the only one whose “clear view” depends on coffee consumption :-D
    Just ready for another cup …

    Cheers
    Claudia

  • Folder as Workspace - Customizing context menu

    3
    0 Votes
    3 Posts
    2k Views
    Hrach TumasyanH

    Hello. In the source of “Folder as Workspace” there are commented lines of code for context menu that are:
    notepad-plus-plus/PowerEditor/src/WinControls/FileBrowser/fileBrowser.cpp
    line 753. IDM_FILEBROWSER_DELETEFOLDER
    line 775. IDM_FILEBROWSER_DELETEFILE

    this are quite good context menu items for “Folder as Workspace”. The thing is that I’ve no any experience regarding Notepad++ code editing who can include above functionalities to the code for the upcoming version.

    Thank you for your attention

  • Develop a plugin

    13
    0 Votes
    13 Posts
    8k Views
    GFdevelopG

    Edit: new version without string errors, I have only tested unicode 32 bit, please test ansi 32 and 64 bit, and unicode 64 bit.

    download
  • Function List for language with External Lexer

    2
    0 Votes
    2 Posts
    2k Views
    Stan MitchellS

    So after digging into this, a solution did materialize. I’ll share it in case someone else may need it some day…

    The message NPPM_GETLANGUAGENAME can be sent to Npp to request the language name string for a value of the LangType enumeration. This enumeration ends with the value L_EXTERNAL which corresponds to the first external lexer. By iterating from L_EXTERNAL to the limit of external lexers (+15), the (non-localized) name of each external lexer is retrieved and compared to the desired lexer’s name - on finding a match the LangType (or langId) is known. If the supplied LangType value exceeds the range of defined lexers, the string “Normal text” is returned as the language name.

    NPPM_GETLANGUAGENAME was added to Npp in version 5.9.3

  • Idea for new plugin

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • ¿How to install Securepad Pluggin in notepad v7.2.2 (64 bit)?

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    dailD

    Quote from the Notepad++ website:

    Note that the most of plugins (including Plugin Manager) are not yet available in x64

  • New Plugin - NPP.PasteRelativePath

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Compare Plugin

    22
    0 Votes
    22 Posts
    141k 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
    6k 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
    3k 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.