fred_gaou:
--------------------------------------------------------------------------------
Ok thanks for details.
By the way, what would be the codes to add so that
- all text justify left (like pspad does in "format->block format")
- remove blank lines (like pspad does in "edit->lines manipulation")
:-D
--------------------------------------------------------------------------------
You can use runPSPadAction(...) for that; in this case add:
runPSPadAction("aBlockLeft");
to the end of the function (after actEd.text(outputTxt); )
It seems that this command replaces starting and trailing spaces automatically;
There is "aRemoveSpaces" command but it opens a dialog, which is probably not
what you want.
Check the file readme.rtf in the Script directory of PSPad for available
commands an functions.
vbr
--
<http://forum.pspad.com/read.php?2,48923,48936>
PSPad freeware editor http://www.pspad.com