Bram: -------------------------------------------------------------------------------- ... [1] If the line ends on whitespace + > 1 char, and i press ctlr + right arrow to navigate in that line, then when he has arrived at the position right before the char combination, the next jump will be to the end of the current line -> OK ... So is the current pspad behavior or bug or a feature ? If it is a feature can I change the behavior via scripting ? (in which case I will take a look into pspad scripting). --------------------------------------------------------------------------------
Hi, I can confirm this behaviour, single character words before the end of line seem to be skipped somehow (with and without scripting active). I think, this should be fixed internally (maybe some pattern for word or word-boundary needs to be tweaked?). In case, you are interested in scripting, this functionality can certainly be achieved that way. You can tweak the mentioned ingkpos or another script or write an own implementation. I also attempted to code a customisable cursor movement in my ancient script, which haven't been updated for a long time: http://www.vbr.wz.cz/pspad/poor-man-s-REplace.html http://www.vbr.wz.cz/pspad/re-repl-e.js It seems to be working somehow, in the default pattern, i set the cursor at each word beginning and also word end. The word (boundary) pattern can be adjusted for individuall needs, possibly /\S+[ ]*/g may work (?) (I think, there are (were?) some limitations with regard to \w etc. with regard to non-ascii unicode characters via scripting in PSPad; hence the simpler whitespace-based pattern.) - Looking at the code now, I am not sure, why it needed to be that complicated, there might be some peculiarities for former versions od the scripting (?) hth, vbr -- <https://forum.pspad.com/read.php?2,79584,79585> PSPad freeware editor https://www.pspad.com
