Hello I guess you need it in scripting. There are functions like caretX(), caretY(), setCaretPos(x, y), setBlockBegin(), setBlockEnd(), blockBeginX(), blockBeginY(), selStart(), selEnd()
You can combine it, cause current cursor (caret) position is automatically blocke begin and settings block end is current position + length of word... -- <https://forum.pspad.com/read.php?2,71900,71902> PSPad freeware editor https://www.pspad.com
