I am writing a notepad++ plugin using c# template http://sourceforge.net/projects/sourcecookifier/files/other%20plugins/NppPlugin.NET.v0.5.zip/download.
Does anyone know how do I read all the current document text as I need to read all the text to string?
Does anyone know the function which reads the current document text?
Notepad++ is a free text editor that comes with a lot of cool features. For instance, auto-save, syntax highlighting, tab support, multiple views, macros, and much more. If the core functionality is not enough, there are also many plugins available. My personal favorite is TextFX.
Installing an Included Notepad++ Plugin To install a plugin, check the box for the plugin you want to install and then click Install. The Plugins Admin dialog box automatically closes, and you'll see a warning telling you that Notepad++ will exit and restart to complete the installation. Click Yes.
In general: almost exactly the same as if you were compiling it from the command line. Please note that Notepad++ is not a compiler: if you do not have a separate executable that can compile your source code into an executable, Notepad++ cannot compile it for you.
Referencing the Scintilla API documentation should get you pointed in the right direction:
http://www.scintilla.org/ScintillaDoc.html#SCI_GETTEXT
The Demo project that you linked has an example of sending the messages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With