weimingtom / jota-text-editor

Automatically exported from code.google.com/p/jota-text-editor
0 stars 0 forks source link

Suggestion: Move cursor full word with ctrl-arrow. #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using Jota on a Transformer Prime. Many programs move the cursor an entire word 
when using ctrl+arrow. Is it possible to add this behaviour to Jota? Currently 
it moves the cursor a single character, just like without ctrl.

Original issue reported on code.google.com by blacksh...@gmail.com on 19 Nov 2012 at 6:43

GoogleCodeExporter commented 8 years ago
I downloaded the source and added the functionality for my own version. (Works 
very similar to how it does in RichEdit control on Windows, the main difference 
being how it handles apostrophes.) It also works for Ctrl+Backspace and 
Crtl+Delete (Forward Delete).

However, the code I wrote is integrated into the key-event handler, so it’s 
not customizable to an arbitrary key combo. If I have time, I will prepare a 
more customized code snippet to show the author.

Original comment by Vu.Digg...@gmail.com on 1 Nov 2013 at 6:57