Hey,

while playing around with the userland I recognized that the editor is
lacking some functionality. So I implemented it in this patch:
- deleting a word before the caret with shortcut CTRL-W (vim-like)
- moving caret word by word using by the shortcuts CTRL-LEFT / CTRL-RIGHT,
also stopping at the beginning and end of a line
- selecting individual words by using the shortcuts CTRL-SHIFT-LEFT /
CTRL-SHIFT-RIGHT
Thereby I fixed a bug where the caret would not move to the previous line,
when located at the beginning of a line and moved to the left.
Over the above I added the letter_check(wchar_t) function to the libc. It
checks whether the assigned character contains a printable character
(a-zA-Z) or not.

Please feel free to comment and complain ;-)

Cheers,
Tobias

Attachment: edit.patch
Description: Binary data

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to