Settings KeyboardSettings/en: Unterschied zwischen den Versionen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
Zeile 10: | Zeile 10: | ||
Typical dead key sequences are: |
Typical dead key sequences are: |
||
* <KBD>"</KBD> (double quote) followed by a vowel, |
* <KBD>"</KBD> (double quote) followed by a vowel, to get German Umlaut characters ä, ö, ü or other language's diacritical characters with two dots above (ÿ, ë etc.). |
||
to get German Umlaut characters ä, ö, ü |
|||
or other language's diacritical |
|||
characters with two dots above (ÿ, ë etc.). |
|||
* French accents are entered by <KBD>'</KBD> (quote), <KBD>`</KBD> (backquote) |
* French accents are entered by <KBD>'</KBD> (quote), <KBD>`</KBD> (backquote) or <KBD>^</KBD>, followed by the character, to get é, è, ê etc.<br>The c-cedille is entered with <KBD>,</KBD> (comma) followed by <KBD>c</KBD>. |
||
or <KBD>^</KBD>, |
|||
followed by the character, to get é, è, ê etc. |
|||
<br>The c-cedille is entered with <KBD>,</KBD> (comma) followed by <KBD>c</KBD>. |
|||
* Spanish "ñ" (n-tilde) by <KBD>~</KBD> followed by <KBD>n</KBD>. |
* Spanish "ñ" (n-tilde) by <KBD>~</KBD> followed by <KBD>n</KBD>. |
||
Dead key handling can be enabled locally via the code editor's |
Dead key handling can be enabled locally via the code editor's menu ("<VAR>More</VAR>" - "<VAR>Misc</VAR>" - "<VAR>Dead Keys</VAR>") or globally via the settings dialog (in "<I>Look and Feel</I> - <I>Keyboard Settings</i>"). |
||
menu ("<VAR>More</VAR>" - "<VAR>Misc</VAR>" - "<VAR>Dead Keys</VAR>") |
|||
or globally via the settings dialog (in "<I>Look and Feel</I> - <I>Keyboard Settings</i>"). |
|||
In some apps (Workspace and System Browser), this may also be found in the lower-right info&status area, |
In some apps (Workspace and System Browser), this may also be found in the lower-right info&status area, as a popup of the edit mode field (the one, which shows "I" for "insert mode"). |
||
as a popup of the edit mode field (the one, which shows "I" for "insert mode"). |
|||
Global dead key enablement is a session flag and defaults to false, |
Global dead key enablement is a session flag and defaults to false, because most programmers feel hindered by them, when entering program code. |
||
because most programmers feel hindered by them, when entering program code. |
|||
To enable it by default for all views, add the following line to your |
To enable it by default for all views, add the following line to your |
||
<CODE>"display.rc"</CODE> or <CODE>"private.rc"</CODE> file: |
<CODE>"display.rc"</CODE> or <CODE>"private.rc"</CODE> file: |
||
WindowSensor deadKeysEnabled:true |
|||
</PRE></CODE> |
|||
Of course, you can also evaluate this in a workspace. |
Of course, you can also evaluate this in a workspace. |
||
<br>To disable, evaluate: |
<br>To disable, evaluate: |
||
WindowSensor deadKeysEnabled:false |
|||
</PRE></CODE> |
|||
=== Dead Key followed by Space === |
=== Dead Key followed by Space === |
||
In expecco, a space character following a dead-key will insert both the dead key |
In expecco, a space character following a dead-key will insert both the dead key and the character. This is different from other systems, where the space is "eaten" and only the dead key is entered. |
||
and the character. This is different from other systems, |
|||
where the space is "eaten" and only the dead key is entered. |
|||
We found this inconvenient for programmers, |
We found this inconvenient for programmers, where strings or comments with initial space are relatively common. If you do not like this feature, evaluate |
||
WindowSensor deadKeyEatsSpace:true. |
|||
where strings or comments with initial space are relatively common. |
|||
If you do not like this feature, evaluate "<CODE>WindowSensor deadKeyEatsSpace:true</CODE>". |
Version vom 18. September 2020, 16:51 Uhr
This dialog controls if dead keys are handled and presents the mapping from Ctrl- and Cmd-Keys to edit functions.
Dead Key Processing[Bearbeiten]
This can be enabled globally via the keyboard settings dialog, or locally for individual editor views.
If dead keys are enabled, some characters act as "Dead Key, these are not printed but will modify the next character typed.
Typical dead key sequences are:
- " (double quote) followed by a vowel, to get German Umlaut characters ä, ö, ü or other language's diacritical characters with two dots above (ÿ, ë etc.).
- French accents are entered by ' (quote), ` (backquote) or ^, followed by the character, to get é, è, ê etc.
The c-cedille is entered with , (comma) followed by c.
- Spanish "ñ" (n-tilde) by ~ followed by n.
Dead key handling can be enabled locally via the code editor's menu ("More" - "Misc" - "Dead Keys") or globally via the settings dialog (in "Look and Feel - Keyboard Settings").
In some apps (Workspace and System Browser), this may also be found in the lower-right info&status area, as a popup of the edit mode field (the one, which shows "I" for "insert mode").
Global dead key enablement is a session flag and defaults to false, because most programmers feel hindered by them, when entering program code.
To enable it by default for all views, add the following line to your
"display.rc"
or "private.rc"
file:
WindowSensor deadKeysEnabled:true
Of course, you can also evaluate this in a workspace.
To disable, evaluate:
WindowSensor deadKeysEnabled:false
Dead Key followed by Space[Bearbeiten]
In expecco, a space character following a dead-key will insert both the dead key and the character. This is different from other systems, where the space is "eaten" and only the dead key is entered.
We found this inconvenient for programmers, where strings or comments with initial space are relatively common. If you do not like this feature, evaluate
WindowSensor deadKeyEatsSpace:true.