Thanks Jan, I would like to see this script functions too. I have tested to find an "SelStart"-function in the last weeks. I know i can get the "SelEnd" with editor.caretX but i have not found an way to get the start position of an selection so i think "SelStart" would come in handy here.
-- <http://forum.pspad.com/read.php?2,42233,42239> PSPad freeware editor http://www.pspad.com
