aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2017-03-25 06:47:10 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2017-03-25 06:57:17 +0100
commit90baf34034af9363ee4cfa1654a8cc72dfc8c62e (patch)
treeb4b912e42c0246d735b33f1f0babb1475acba1ab /doc
parent2491d5f30573d9e5e72b3c7d2eac8788bbe69dd4 (diff)
downloadsciteco-90baf34034af9363ee4cfa1654a8cc72dfc8c62e.tar.gz
0,8ED: Automatic case-folding of commands
* when enabled, it will automatically upper-case all one or two letter commands (which are case insensitive). * also affects the up-carret control commands, so they when inserted they look more like real control commands. * specifically does not affect case-insensitive Q-Register specifications * the result are command lines that are better readable and conform to the coding style used in SciTECO's standard library. This eases reusing command lines as well. * Consequently, string-building and pattern match characters should be case-folded as well, but they aren't currently since State::process_edit_cmd() does not have sufficient insight into the MicroStateMachines. Also, it could not be delegated to the MicroStateMachines. Perhaps they should be abandoned in favour of embeddedable regular state machines; or regular state machines with a stack of return states?
Diffstat (limited to 'doc')
-rw-r--r--doc/sciteco.7.template17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template
index 2fdcd43..47100e9 100644
--- a/doc/sciteco.7.template
+++ b/doc/sciteco.7.template
@@ -375,6 +375,23 @@ effectively switches between undo and redo modes.
The modifier also influences the behaviour of the TAB key.
T}
T{
+Case insensitive command character
+T};\(em;Any letter;T{
+Beginning of case-insensitive commands
+.br
+(automatic case folding enabled)
+T};T{
+At the beginning of case-insensitive commands,
+the case of letters is inverted.
+One or two letter commands will thus typically
+be inserted in upper case.
+This only happens if bit 3 of the \fBED\fP flags
+is set, e.g. by executing:
+.EX
+0,8ED
+.EE
+T}
+T{
.SCITECO_TOPIC ^J enter LF CR
Insert end of line sequence
T};10;^J, Return, Enter;T{