• language select on notepad launch

    9
    0 Votes
    9 Posts
    1k Views
    lubysjL

    @Ekopalypse , thanks. I will need to dig a bit to get a around.

  • Compare Plugin v2.0 updated for Notepad 7.7 and above

    37
    10 Votes
    37 Posts
    45k Views
  • Notepad++ Language List

    7
    2 Votes
    7 Posts
    2k Views
    Michael VincentM

    @Michael-Vincent said in Notepad++ Language List:

    I may “borrow” that :-)

    @dinkumoil

    It’s in Pascal! argh! I converted your recommendation into C++ (i think):

    TCHAR langName[MAX_PATH]; lang_menu.clear(); do { SendMessage( nppData._nppHandle, NPPM_GETLANGUAGENAME, i, ( LPARAM ) langName ); lang_menu.push_back( wstrtostr( langName )); i++; } while ( strcmp( wstrtostr( langName ).c_str(), "External" ) != 0 ); lang_menu.push_back( "GLOBAL" );

    This way no dependence on L_EXTERNAL or the Notepad_plus_msgs.h file.

    Thanks for taking the time to recommend that!

    Cheers.

  • Plugin bug report: "BookmarksDook" disables "Session Snapshot"

    1
    0 Votes
    1 Posts
    509 Views
    No one has replied
  • problem by test my plugin with pluginmanager

    2
    0 Votes
    2 Posts
    452 Views
    MarioRosiM

    … okay solution is found …

    The setup-zip only include the file for “Notepad++/plugin/MYPLUGINNAME/.*”-files. Not into subdir, but direct in root!

    On Github create an “release” with versionnumber and desription. Put in the setup-zip.

    Now can install the plugin over pluginmanager.

    regards Mario

  • Howto close current file / editor witout savequestion

    10
    1 Votes
    10 Posts
    2k Views
    MarioRosiM

    @ all

    i have found a solution:

    IScintillaGateway editor = new ScintillaGateway(PluginBase.GetCurrentScintilla()); editor.SetSavePoint(); Win32.SendMessage(PluginBase.nppData._nppHandle, (uint)NppMsg.NPPM_MENUCOMMAND, 0, NppMenuCmd.IDM_FILE_CLOSE);

    work wit current tab.
    thanks for inspiration

  • My plugin is not working with newer versions

    3
    0 Votes
    3 Posts
    495 Views
    pnedevP

    @Roy-Messi ,

    Your plugin’s DLL needs to be located in
    Notepad++_install_folder\plugins\YourPluginName\YourPluginName.dll

    Check if it is there.

  • Plug-in (multiline find and replace) in 7.8.4 version

    4
    0 Votes
    4 Posts
    577 Views
    anisere yinkaA

    @gurikbal-singh thanks so much really appreciate. Can I get your direct mail for further inquiry, am just new

  • XML Tools and Validating using Assert(ion) Tags

    5
    0 Votes
    5 Posts
    2k Views
    EkopalypseE

    @FlurDeChiken

    How could I have missed that? Thanks for mentioning it.
    Another arrow in my quiver. :)

  • How to change order of document?

    8
    0 Votes
    8 Posts
    4k Views
    Prahlad-Makwana4145P

    Hello, @Oleksandr

    Follow these steps, To change order of document:

    Step 1 :-First and foremost, add some marking letters or numbers before the section contents
    and apply them with the same level of heading style.
    Step 2 :-Next click “View” tab.
    Step 3 :-Then check the “Navigation Pane” box in “Show” group.
    Step 4 :-Now there shall be the navigation pane on the screen. You can see all sections with the
    same level of heading style applied are there. You just need to click and drag it to the
    position you want

    I hope above Information will be useful for you.
    Thank you.

  • How to detect ESC keypressed ?

    4
    1 Votes
    4 Posts
    1k Views
    morbacM

    Thanks you both for your help.

    I followed your suggestion (low level keyboard hook) and I can now handle ESC key pressed.

    Best Regards

  • Zen coding plugin problem solved

    2
    1 Votes
    2 Posts
    781 Views
    Alan KilbornA

    @Steve-Mullock

    You used the term “Plugin Manager” twice. Did you really mean that, or do you mean “Plugins Admin”?

  • AnalysePlugin Updated to version 1.12-R43

    2
    3 Votes
    2 Posts
    460 Views
    matteshM

    One more update done to fix an annoying bug (#75) where loading from recent list is not working.
    Version is now v1.12-R44
    Best Regards, Mattes

  • Can't add item to plugin menu

    7
    0 Votes
    7 Posts
    1k Views
    Alan KilbornA

    @Ekopalypse

    What I meant, I said badly.

    “it ITS” should have been “in ITS” for one thing.

    I thought (maybe wrongly) that the OP didn’t see an exported function from the plugin DLL called anywhere by other code (within the plugin), so they thought it was unused.

  • Two questions about Project Panel and Docked Windows

    4
    0 Votes
    4 Posts
    792 Views
    Vitalii DovganV

    Thank you, I’ll try it!

  • HOW do I get the NppPluginlist.dll ??????

    3
    0 Votes
    3 Posts
    2k Views
    guy038G

    Hi, @pnedev and All,

    Seemingly, the nppPluginList.dll file, exists in portable installations of N++, too ! After a quick search, I can confirm you that this file is present, in <Installation path of Notepad++.exe>\plugins\Config, since the v7.6.2 release !

    Best Regards,

    guy038

  • XMLTools 3.0.0

    1
    4 Votes
    1 Posts
    711 Views
    No one has replied
  • Advice developing plugin that should process large files

    3
    0 Votes
    3 Posts
    639 Views
    joakim wennergrenJ

    Since ScintillaStreams is something I wrote I can give you some tips.

    Reading 100 MB from N++ is going to take a few seconds, not matter how you do it. In order to not lock up the N++ interface you have to make sure you do the processing in a different thread, e.g. something like

    Task.Factory.StartNew(() => { var data = ScintillaStreams.StreamAllText(); while (line != null) { line = data.ReadLine(); //etc. } // Only interact with N++ on the main thread this.Invoke((Action)(() => { MessageBox.Show("The stuff is finished", "MyPlugin"); })); });

    The way ScintillaStreams works is by getting a pointer to the N++ text buffer, and read it as “raw” as possible. This is likely going to crash horribly if the user modifies the text while it’s reading, so giving control back to the user is kind of a two-edged sword. I still feel it’s worth it though, the user experience is much better. Also consider showing the status of your progress somehow so the users feels something is happening.

    I don’t know why “the process never seems to finish”. A 10Mb file should take a second or so to read

  • Background Image Cover with an rgba(0,0,0,0.5) filter

    2
    0 Votes
    2 Posts
    521 Views
    Alan KilbornA

    @ben74

    Well, here’s a comment.

  • No puedo previsualizar en ningún navegador notepad++ x64

    2
    0 Votes
    2 Posts
    439 Views
    PeterJonesP

    I think this same question was addressed in the other thread. Let’s keep it to one topic, rather than two.