You are here: PSPad forum > Bug report / Hlášení chyb > Move Cursor word right or left
Posted by: xmasmc | Date: 2025-03-04 07:46 | IP: IP Logged
I update pspad from an old version, now the behavior of moving the cursor to next or previous word changed.
Now with the hotkeys CTRL-LEFT or CTRL-RIGHT the cursor moves to next word (letter) and NOT to the next non whitespace character.
For me this is very bad behavior, the most other editors like notepad, notepad+ .... go to the next non whitespace character and not to the next letter.
Possible t make a option to change this ?
Thank you
Helmut
Posted by: vbr | Date: 2025-03-04 19:15 | IP: IP Logged
xmasmc:I update pspad from an old version, now the behavior of moving the cursor to next or previous word changed.
Now with the hotkeys CTRL-LEFT or CTRL-RIGHT the cursor moves to next word (letter) and NOT to the next non whitespace character.
For me this is very bad behavior, the most other editors like notepad, notepad+ .... go to the next non whitespace character and not to the next letter.Possible t make a option to change this ?
Thank you
Helmut
Hi,
I am not sure about the version difference, but this functionality may be also driven via scripting (besides the built-in core).
There might be a script like Ingkcpos (visible in the Scripts menu and saved in the directory ...\Script\JScript\ingkcpos.js, with bindings for Ctrl+(Shift+)Left/Right
I don't know, whether it is currently a part of the PSPad distribution.
It only works with scripting enabled - in 32bit PSPad version only:
Pspad Settings: System integration [x] WSH scripting support
You may check, whether this makes a difference in cursor movement, alternatively, the Ingkcpos script could be tweaked for a desired word boundaries.
hth,
vbr
Posted by: xmasmc | Date: 2025-03-05 07:59 | IP: IP Logged
Thank You very much, I forgot that I make exactly this 12 years ago.
I found the script in my old installation called "298-ingkcpor_v0.7"
the file ingkcpos.js is from the year 2013.
I tried out with portable version 32bit 5.5.1 and it works
Posted by: pspad | Date: 2025-03-05 09:31 | IP: IP Logged
Old script works. I try to keep it compatible as much as possible
Editor PSPad - freeware editor, © 2001 - 2025 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR