• Login
Community
  • Login
  1. Home
  2. Notepad++ & Plugin Development
Log in to post
Load new posts
  • Recently Replied
  • Recently Created
  • Most Posts
  • Most Votes
  • Most Views
  • M

    Howto get Notapad++ GUI-language on C#?

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Oct 23, 2018, 8:26 AM
    Oct 22, 2018, 11:56 AM
    0 Votes
    2 Posts
    997 Views
    M Oct 23, 2018, 8:26 AM

    Hello,
    now i have found a solution, the file [\AppData\Roming\Notepad++\nativeLang.xml] contains the selected GUI-language.
    A litle sourcecode arount and its work fine: ;-)

    The C#-function give back the implement short language id:

    private String getLanguage() { String result = ""; StringBuilder sbIniFilePath = new StringBuilder(Win32.MAX_PATH); Win32.SendMessage(PluginBase.nppData._nppHandle, (uint)NppMsg.NPPM_GETPLUGINSCONFIGDIR, Win32.MAX_PATH, sbIniFilePath); String iniFilePath = sbIniFilePath.ToString(); if (iniFilePath.EndsWith(@"plugins\Config")) { iniFilePath = iniFilePath.Replace(@"\plugins\Config", @"\nativeLang.xml"); String readline = null; Int16 counter = 0; // <Native-Langue name="English" filename="english.xml" version="6.8.2"> using (System.IO.StreamReader fileReader = System.IO.File.OpenText(iniFilePath)) { while (counter < 30) // check counterMax { readline = fileReader.ReadLine(); counter++; if (readline.ToLowerInvariant().Contains("<native-langue")) { string[] split = Regex.Split(readline, "^(.*)(<Native-Langue)(\\s+)(name=\")(((?!\").)*)(\")(.*)$"); if ((split != null) && (split.Length > 4)) readline = split[5]; else readline = null; counter = 31; // Set counter to => max } else readline = null; } fileReader.Close(); } if (readline != null) { switch (readline.ToLowerInvariant()) { case "deutsch": result = "DE"; break; case "english": result = "EN"; break; default: result = "EN"; break; } } } return result; }

    regards Mario

  • M

    New Plugin Manager update crashes the app whenever it is accessed

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Oct 17, 2018, 2:56 AM
    Oct 16, 2018, 2:19 PM
    0 Votes
    2 Posts
    1k Views
    C Oct 17, 2018, 2:56 AM

    Pluginmanager version 1.4.12?
    Which plugin was recommended to be updated?
    Is N++ the 64 bit version?
    Which kind of N++ installation do you have? Zip\installer? Admin\NonAdmin?

    You could report the issue here https://github.com/bruderstein/nppPluginManager/issues

  • A

    Paste text into search field

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Oct 13, 2018, 8:21 PM
    Oct 13, 2018, 8:21 PM
    0 Votes
    1 Posts
    574 Views
    No one has replied
  • T

    SOLID support

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Oct 13, 2018, 7:59 PM
    Oct 13, 2018, 3:06 PM
    0 Votes
    3 Posts
    961 Views
    T Oct 13, 2018, 7:59 PM

    Thank you!

  • K

    NP++ 64bit plugins

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Oct 13, 2018, 6:47 PM
    Apr 18, 2018, 12:20 AM
    0 Votes
    6 Posts
    9k Views
    C Oct 13, 2018, 6:47 PM

    See https://github.com/mpcabd/PyNPP/pull/2#issuecomment-362668391, unfortunately no reaction so far.

  • N

    Installing NppFTP plugin on Notepad++ v7 64 bit

    Watching Ignoring Scheduled Pinned Locked Moved 64 bit nppftp plugin unix ssh
    6 Oct 6, 2018, 8:29 PM
    Oct 5, 2016, 11:07 PM
    0 Votes
    6 Posts
    71k Views
    A Oct 6, 2018, 8:29 PM

    @ashkulz it works for me , thanks u saved my life

  • D

    [Plugin Update] LuaScript v0.8

    Watching Ignoring Scheduled Pinned Locked Moved
    6 Oct 4, 2018, 1:46 AM
    Sep 29, 2018, 8:45 PM
    6 Votes
    6 Posts
    3k Views
    D Oct 4, 2018, 1:46 AM

    @guy038

    Some of them as you have found are fairly simple to understand. To clarify the rest of them you listed:

    winfile.attributes is a UTF-8 implementation of the LuaFileSystem library’s attributes function. It is able to query various file attributes. I recommend looking at the link to see the full details. winfile.dir is a UTF-8 implementation of the LuaFileSystem library’s dir function. And as you guess is used for iterating directories. An example can be seen here for recursively walking a directory. winfile.execute is a UTF-8 implementation of the Lua built-in function os.execute for executing shell commands winfile.loadfile is a UTF-8 implementation of the Lua built-in function load for loading (i.e. parsing and compiling) Lua code winfile.open is a UTF-8 implementation of the Lua built-in function io.open for reading and writing to files. winfile.popen is a UTF-8 implementation of the Lua built-in function io.popen to start an external process and return a file descriptor for reading/writing
  • G

    Need to show error line which is needs to be linked with respective line

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Oct 2, 2018, 9:35 AM
    Sep 4, 2018, 8:02 AM
    0 Votes
    2 Posts
    2k Views
    D Oct 2, 2018, 9:35 AM

    This is not the right place to post a feature request for a Notepad++ plugin. The site of the respective plugin should be used for that.

    In case of the XML plugin it would be this site (it’s a compound site for a bunch of Npp plugins). And there you can find this ticket which already addresses your issue. It was opened one year ago, maybe we will see a fix for it in the next release.

  • P

    What's going with HexEdit plugin?

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Sep 21, 2018, 5:45 PM
    Sep 20, 2018, 5:00 PM
    1 Votes
    2 Posts
    1k Views
    C Sep 21, 2018, 5:45 PM

    There are some releases available, latest:

    https://github.com/chcg/NPP_HexEdit/releases/tag/0.9.5.19

    , but currently not fixed issues are:
    https://github.com/chcg/NPP_HexEdit/issues/1

    And less critical:
    https://github.com/chcg/NPP_HexEdit/issues/3

  • O

    New plugin - Maxscript Explorer

    Watching Ignoring Scheduled Pinned Locked Moved
    9 Sep 21, 2018, 5:17 PM
    Jun 21, 2017, 9:55 AM
    0 Votes
    9 Posts
    6k Views
    C Sep 21, 2018, 5:17 PM

    You could try to register at https://npppm.bruderste.in/users/register, but that could last some time as @bruderstein is not so often around right now.

    And if you are planning a X64 version: https://github.com/bruderstein/npp-plugins-x64

  • L

    has a plugin like sublime plugin BracketHighlighter?

    Watching Ignoring Scheduled Pinned Locked Moved brackethighligh
    14 Sep 19, 2018, 5:58 PM
    Sep 21, 2017, 2:26 PM
    0 Votes
    14 Posts
    13k Views
    C Sep 19, 2018, 5:58 PM

    @scott-sumner
    Added your script under https://github.com/bruderstein/PythonScript/blob/master/scripts/Samples/BracketHighlighter.py. Hope that is ok for you. If you have more example scripts to add just let me know. Would be happy to add more of them.

  • MarkRHM

    HTML Tag Attribute Editor Dialog

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Sep 15, 2018, 8:44 PM
    Sep 15, 2018, 8:44 PM
    0 Votes
    1 Posts
    829 Views
    No one has replied
  • K Chandrasekhar OmkarK

    Plugin Manager to be re-enabled

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Sep 13, 2018, 1:27 PM
    Sep 13, 2018, 10:34 AM
    0 Votes
    2 Posts
    2k Views
    PeterJonesP Sep 13, 2018, 1:27 PM

    This FAQ has links that explain why that isn’t going to happen, and how to manually install the Plugin Manager.

  • Nikhil ChauhanN

    syntax highlight plugin is not available in notepad 7.5.8?

    Watching Ignoring Scheduled Pinned Locked Moved
    1 Sep 9, 2018, 6:53 PM
    Sep 9, 2018, 6:53 PM
    0 Votes
    1 Posts
    730 Views
    No one has replied
  • Micah OffermannM

    .dll failed to copy in Program Files

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Sep 5, 2018, 9:07 PM
    Sep 5, 2018, 6:00 PM
    0 Votes
    2 Posts
    1k Views
    C Sep 5, 2018, 9:07 PM

    Are you copying the files manually? Or by PluginManager?

  • Dario de JudicibusD

    Code Snippet Plugin

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Sep 5, 2018, 9:00 PM
    Sep 5, 2018, 10:22 AM
    0 Votes
    2 Posts
    2k Views
    C Sep 5, 2018, 9:00 PM

    Is the observed crash of Snippets the known one https://github.com/ffes/nppsnippets/issues/14 ? Or a new one for which you might create an new issue to get it fixed.

  • Roberto Shayer LyraR

    NppFTP - Failure retrieving contents of directory /

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Aug 31, 2018, 7:13 PM
    Aug 18, 2018, 11:50 AM
    1 Votes
    3 Posts
    3k Views
    C Aug 31, 2018, 7:13 PM

    Current release of nppftp: https://github.com/ashkulz/NppFTP/releases/tag/v0.27.4 with updated crypto support from openssl and libssh

  • Hussam Mahmoud El-MaghrabyH

    Find in Files "Keyword" and the following "#" of lines

    Watching Ignoring Scheduled Pinned Locked Moved
    3 Aug 31, 2018, 12:36 PM
    Aug 31, 2018, 6:57 AM
    0 Votes
    3 Posts
    1k Views
    Scott SumnerS Aug 31, 2018, 12:36 PM

    @Hussam-Mahmoud-El-Maghraby

    To get good help, you’re probably going to have to show a bit more data. Sure, some ambitious people here could make some guesses (i.e., do a lot of mental work), but why put them thru that?

    Put 4 spaces on the front of every line of data in Notepad++ before copying and pasting here, for best results. If you see a black background on your data in the preview pane as you are composing your post, you are doing it right. Such a black box would look like this:

    I acutally have 4 spaces before the "I", when I was Composed Me, too, but before my "M"
  • Ben SaundersB

    Notepad++ 7.5.8 (64-bit, Windows) auto-exiting when selecting "spell check" menu option

    Watching Ignoring Scheduled Pinned Locked Moved
    2 Aug 28, 2018, 11:22 PM
    Aug 28, 2018, 6:23 PM
    0 Votes
    2 Posts
    1k Views
    C Aug 28, 2018, 11:22 PM

    @Ben-Saunders

    seems to be a known issue which can be solved updating the plugin.

    Cheers
    Claudia

  • Szász-Fábián JózsefS

    NPPFTP crash after connecting

    Watching Ignoring Scheduled Pinned Locked Moved
    4 Aug 28, 2018, 9:01 AM
    Feb 18, 2018, 7:10 AM
    0 Votes
    4 Posts
    3k Views
    Tim WilsonT Aug 28, 2018, 9:01 AM

    I think I’ve found the issue here… basically I moved my SSH keys to a new folder so it couldn’t find the .pem file.

    This seem to be what causes NP to crash completely.

The Community of users of the Notepad++ text editor.
Powered by NodeBB | Contributors