This is a very simple text editor, where you can type a Lua expression that is too long for the command line. When you load a file the current directory is changed to the file directory.
Simply executes dostring(lnpadGet()).
To use the Notepad inside your application you just have to include the header "lnotepad.h" and call the function luaNotepadCreate("parent", CloseFlag). Check the LUACMD.C file for an example. And do not forget to call utlCreateButtonImages once to initialize the toolbar images, and also luaNotepadKill and utlKillButtonImages after the program ends the message loop.
Returns the text in the Notepad.
Replaces the text in the Notepad.
Insert the given text at the cursor position.
Add to the text in the Notepad.
Saves the text in the Notepad to a file with the given filename.
Loads the text from a file with the given filename.
Clears the Notepad contents.