• Notepad++ Rtf Editing plugin

    Locked
    2
    0 Votes
    2 Posts
    16k Views
    PeterJonesP

    Notepad++ can edit RTF natively. If you pasted this RTF source code into Notepad++, you would be able to edit it.

    {\rtf1\ansi{\fonttbl\f0\fswiss Helvetica;}\f0\pard This is some {\b bold} text.\par }

    If you want Notepad++ to render RTF, then you would need a plugin, similar the Preview HTML plugin or Markdown plugin. In fact, if you have a standalone RTF-to-HTML converter and the 32bit Notepad++, you could easily use that Preview HTML plugin to render it.

    However, if you want a WYSIWYG editor for the RTF – so it completely hides the codes, and just allows you to apply bold styles, etc, while you’re editing the text – that’s called a word processor, and isn’t what Notepad++ was built for. Your copy of Windows probably came pre-installed with Wordpad, which can handle RTF. Or get a full-featured word processor, like Microsoft Word or LibreOffice could handle it with no problem.

    But you can edit teh text, and even the control codes, of a RTF just fine in Notepad++, because it’s a text-based markup (like HTML, XML, Markdown, and others)

  • Exception alert box "Vector T too long" in Notepad++ 7.5.9

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    chcgC

    7.6 is out, still bundled with dspellcheck 1.4.6. But 7.6 has a major change in plugin location due to plugin admin, see https://notepad-plus-plus.org/news/notepad-7.6-released.html. Read section “For plugin users” to find your installed plugins again.

  • 0 Votes
    2 Posts
    847 Views
    dinkumoilD

    A plugin has to provide the infos required to create a menu entry during runtime. Notepad++ requests these infos by calling one of the functions a plugin DLL has to export and creats the menu item dynamically. Thus there is no way for a user to add Alt+Underlined char shortcuts to a plugin’s menu entry.

    But you can add a normal keyboard shortcut to an entry in the plugin’s submenu of the Plugins drop down menu via Shortcut Mapper ((menu) Settings -> Shortcut Mapper-> Plugin Commands).

  • toolbucket

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    pouemesP

    @pouemes said:

    Is there a solution to use toolbucket with files in subdirectories?
    thanks

    will do it
    thanks

  • 64 bit version C# template for notepad++ plugin for visual studio 2010

    6
    0 Votes
    6 Posts
    3k Views
    chcgC

    @Poonam-Joshi154 Is there a specific reason to use VS2010? VS2017 is available (as community edition free for private use https://visualstudio.microsoft.com/de/vs/community/)

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

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Alternative to NPPM_REMOVESHORTCUTBYCMDID is required

    Locked
    3
    1 Votes
    3 Posts
    979 Views
    Vitaliy DovganV

    Yes, it’s one of possible problems. Though we can treat a renamed item as a combination of deletion and creation of a new item, so it’s OK for shortcut to disappear :)
    Another big problem with hashing menu items names will appear if a plugin supports different languages in its interface. In such case, different language will lead to completely different item names. Though, in case of menu items added by user it should not be a problem - since these items are added by user who fully controls the item names. But the problem with renaming of a menu item (after a shortcut has already been asdigned) still remanis.
    Maybe it would be worth to add some kind of Menu Items Manager to Notepad++'s plugin interface to deal with custom menu items created and modified by plugins.

  • Can HackerTyper Features be Available Here ?

    Locked
    3
    0 Votes
    3 Posts
    1k Views
  • Rename a Tab without renaming the file?

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Scott SumnerS

    @akash10295 said:

    Rename a Tab without renaming the file?

    This cannot be done. But, to ease your pain slightly, you can hover the mouse over any tab, and after a slight delay, the path to the file of that tab will pop up. I know, it’s not ideal…

  • XML Tools 2.4.9 x64 released for tests

    17
    1 Votes
    17 Posts
    168k Views
    Michael  NicholsonM

    This plugin requires vcruntime140.dll, not included into package and in installation instruction

  • XMLTools 2.4.9.2 64-bit not compatible with Notepad++ 7.5.9 64-bit

    Locked
    2
    0 Votes
    2 Posts
    5k Views
    chcgC

    Maybe you what to use https://github.com/bruderstein/nppPluginManager/releases/tag/v1.4.12 for automatic installation. For me it is working. Otherwise you could check https://github.com/bruderstein/npp-plugins-x64/blob/master/plugins/plugins64.xml#L1228 how it is installed and redo the steps manually.

    <download>https://sourceforge.net/projects/npp-plugins/files/XML%20Tools/Xml%20Tools%202.4.9%20Unicode/Xml%20Tools%202.4.9.2%20x64%20Unicode.zip/download</download> <copy from="dependencies\libiconv-2.dll" to="$NPPDIR$\" validate="true"/> <copy from="dependencies\libwinpthread-1.dll" to="$NPPDIR$\" validate="true"/> <copy from="dependencies\libxml2-2.dll" to="$NPPDIR$\" validate="true"/> <copy from="dependencies\libxslt-1.dll" to="$NPPDIR$\" validate="true"/> <copy from="dependencies\zlib1.dll" to="$NPPDIR$\" validate="true"/> <copy from="install.txt" to="$PLUGINDIR$\doc\XmlTools"/> <copy from="XMLTools.dll" to="$PLUGINDIR$\" validate="true"/> <copy from="dependencies\libcurl.dll" to="$NPPDIR$\" validate="true"/>
  • two questions on my first plugin

    4
    3 Votes
    4 Posts
    1k Views
    Mario RosenbohmM

    Hello everyone,

    “see the forest for the trees” 8-)

    in file PluginInfrastructure/UnmanagedExports.cs in the function “static void beNotified(IntPtr notifyCode)” in the else statement

    else { Main.OnNotification(notification); }

    Main.OnNotification(notification); … oh no
    That is an callback. I am so stup…

    have a nice day
    Mario

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

    Locked
    2
    0 Votes
    2 Posts
    981 Views
    Mario RosenbohmM

    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

  • New Plugin Manager update crashes the app whenever it is accessed

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    chcgC

    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

  • Paste text into search field

    Locked
    1
    0 Votes
    1 Posts
    551 Views
    No one has replied
  • SOLID support

    Locked
    3
    0 Votes
    3 Posts
    902 Views
    Teodor DutcheviciT

    Thank you!

  • NP++ 64bit plugins

    6
    0 Votes
    6 Posts
    9k Views
    chcgC

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

  • Installing NppFTP plugin on Notepad++ v7 64 bit

    6
    0 Votes
    6 Posts
    71k Views
    Anand JamdadeA

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

  • [Plugin Update] LuaScript v0.8

    Locked
    6
    6 Votes
    6 Posts
    3k Views
    dailD

    @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