Ctrl+Backspace and Ctrl+Delete

Started by: sirfoobar1 voices1 posts

Hello, Thank you for a wonderful product. I think it would be terrific if there were an option to have Ctrl+Backspace and Ctrl+Delete work like other Windows programs. In most other Windows programs: Ctrl+Backspace works the same as: Ctrl+Shift+Left, Backspace. Ctrl+Delete works the same as: Ctrl+Shift+Right, Delete. I have coded macros to emulate this behavior but I bet this is something that others would like as a built-in option. I missed it for a long time. //delete_left_word.jsee
// Behavior like ctrl+backspace in most Windows editors

// If there is selected text, then delete the selection only. 
// Otherwise delete like: shift+ctrl+left, backspace.

if (document.selection.Text.length > 0) {
	document.selection.Delete();
} else {
	document.selection.WordLeft( true );
	document.selection.Delete();
}
//delete_right_word.jsee
// Behavior like ctrl+delete in most Windows editors

// If there is selected text, then delete the selection only. 
// Otherwise delete like: shift+ctrl+right, delete.

if (document.selection.Text.length > 0) {
	document.selection.Delete();
} else {
	document.selection.WordRight( true );
	document.selection.Delete();
}
All the best, Garth

1 posts in this topic