If i write text with some non latin basic english letters like Ä,Ö, Ü, ä, ö, ü and may also other letters wich are not limited to the english language, and if the cursor is at the end of such a word that contains such a letter, then the combination of Shift+Enter tries to select the word before the cursor, and the selection will always break before the non standard english character.
Words like:
"Wörter" will select "rter"
"Auswählen" will select "hlen"
"Fälschlich" will select "lschlich"
This makes in any case no sense at all.
There is also an other thing about the command Key-Stroke in general.
There are a lot of text input systems which allow users to use Enter for hard line-break, while they allow Shift+Enter as non-hard-line break, editors who do not make this difference often let the shift+Enter combination combination empty by default and produce some hard line-break in code, where it does not matter.
Strange Selection on non Latin Letters
- Rickard Johansson
- Site Admin
- Posts: 6980
- Joined: 19 Jul 2006 14:29
Re: Strange Selection on non Latin Letters
Shift+Enter is used to "Expand abbreviation at cursor" (Emmet shortcuts https://docs.emmet.io/cheat-sheet/).
You can change the keyboard shortcuts in "Environment / Customize keyboard...".
You can change the keyboard shortcuts in "Environment / Customize keyboard...".
Re: Strange Selection on non Latin Letters
Yes, thank you, i am still figuring out if this selection thing is a cool thing or if it is nasty.Rickard Johansson wrote: 28 Aug 2026 13:52 Shift+Enter is used to "Expand abbreviation at cursor" (Emmet shortcuts https://docs.emmet.io/cheat-sheet/).
You can change the keyboard shortcuts in "Environment / Customize keyboard...".
Some times i can use it, some times it is not what i want.
How ever...
If it is a handy good thing it still has a problem when it selects words which contain non latin letters.
It should select the whole word as it does with words which only contain the latin letters A-Z and a-z but as soon there is some fancy letter like Ä. Ö. Ü or ä, ö, ü in it, it will only select the word from the end to and before the fancy letter.
In some odd languages such letters are more or less just normal an appear more or less often.
There are also other odd letters in some languages, and i just guess they have the same problem.
If there is a word like "Wörter" (Words) it will select only the last part before the "ö" ("rter") but it should select the whole word "Wörter" including the "Wö".
Same thing happens with Words like "Wärmeleitpaste" or "Schmieröl" or "Fingerübung", i guess words with the "ß" character https://en.wikipedia.org/wiki/%C3%9F used by many people will also be problematic.
Some languages also use other fancy characters.
Norway: Å å, Ø ø, Æ æ
Danish: Å å, Ø ø, Æ æ
Swedish: Å å
Islandic: Þ þ Ð ð Æ æ Á É Í Ó Ú Ý á é í ó ú ý
Finnish: Å å
May they even use runes ᚨ ᛖ ᛁ ...
So may this need a general solution to not just select only latin letters but select every thing from the end back to the next white-space or punctuation , . - ! ? ... with out it.
