- AuthorPosts
- June 13, 2018 at 12:24 am #23386LTTParticipant
Some editors (e.g. EditPad) select words this way:
Ctrl+Shift+Left extends to each word left.
Ctrl+Shift+Right extends to each word right.While moving is the same way as in EmEditor:
Ctrl+Left/Right goes to each word left.I feel EditPad’s word selecting is better. Thus we can include/exclude (any numbers of) white space(s) in any direction by just changing the direction on the right hand, without changing Ctrl+Shift+ on the left hand.
While in EmEditor, we have to release Ctrl key in such cases. Actions change on both hands.
—————
CHM:
/cmd/edit/left_word.htm
Description
This command ignores white space, and moves the cursor to the *end* of the *provious* word in the current line.According to the current behavior, should be “… the start of …”
February 12, 2019 at 8:57 am #25408LTTParticipant> Reverted the default behavior of the Word Right/Left (Extend) commands to the old behavior.
I need and prefer the new behavior of Ctrl+Shift+Left/Right.
But need and prefer the old behavior of Ctrl+Left/Right.Please read my post above and consider it again.
Please add an option(s) if possible. Thank you.
—————
BTW,
CHM: … *provious* …February 12, 2019 at 8:13 pm #25411Yutaka EmuraKeymasterI need to revert Word Right/Left (Extend) commands to previous behaviors because some users complain the behavior changes. However, I added registry values, and settings those values can alter the behaviors:
HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Common
WordLeftType
WordRightType
Both REG_DWORD
Please set 1 to both values for your preference.
On the next major version, I will add this option available to the Customize dialog.
Thanks,
February 13, 2019 at 12:49 pm #25419LTTParticipantGreat. Thank you.
And after a while of adaption and chewing, I realize that the new behavior in EmEditor is even better than in EditPad:
Ctrl+Shift+Left/Right extends to each word left/right. (EmEditor = EditPad)
This solves the issue of including/excluding space(s), e.g. makes it more friendly in Space(s)-SV editing.Difference:
EmEditor: Ctrl+Left/Right goes to each word left/Right.
EditPad: Ctrl+Left/Right goes to each word left. ( = The old behavior in EmEditor. Though by using Ctrl+Right we usually want to go to the next word Left, we lack a nimble way to go to the word Right.)Hope more users will give it a try and enjoy the new behavior.
February 13, 2020 at 11:26 am #26606LTTParticipantSuggestion 1:
Is it possible to make the alternative behavior also work for symbols?
I hope I can stop between a symbol and a whitespace character:
x = y
+ – * !Suggestion 2:
Is it possible to make “Delete Left/Right Word” commands also obey the two options?February 13, 2020 at 11:28 am #26607LTTParticipantBy the way,
▼ In these help pages, you use “start”:
/cmd/edit/right_word.htm
/cmd/edit/shift_left_word.htm
/cmd/edit/shift_right_word.htm▼ But in this page, you use “beginning”:
/cmd/edit/left_word.htmIt affects the search.
e.g. Search in the CHM:
start near word - AuthorPosts
- You must be logged in to reply to this topic.