diff options
Diffstat (limited to '')
-rw-r--r-- | boxes.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1902,7 +1902,7 @@ void editLine(view *view, int16_t X, int16_t Y, int16_t W, int16_t H) | |||
1902 | buffer[0] = 0; | 1902 | buffer[0] = 0; |
1903 | } | 1903 | } |
1904 | 1904 | ||
1905 | // TODO - If the view->context has on event handler, use it, otherwise look up the specific event handler in the context modes ourselves. | 1905 | // TODO - If the view->context has an event handler, use it, otherwise look up the specific event handler in the context modes ourselves. |
1906 | if (command[0]) // Search for a bound key. | 1906 | if (command[0]) // Search for a bound key. |
1907 | { | 1907 | { |
1908 | if (BUFFER_LEN <= strlen(command)) | 1908 | if (BUFFER_LEN <= strlen(command)) |
@@ -2090,7 +2090,7 @@ struct context simpleEmacs = | |||
2090 | // Construct a simple joe / wordstar editor, using joe is the reference, seems to be the popular Unix variant. | 2090 | // Construct a simple joe / wordstar editor, using joe is the reference, seems to be the popular Unix variant. |
2091 | // Esc x starts up the command line. | 2091 | // Esc x starts up the command line. |
2092 | // Has multi control key combos. Mostly Ctrl-K, Ctrl-[ (Esc), (Ctrl-B, Ctrl-Q in wordstar and delphi), but might be others. | 2092 | // Has multi control key combos. Mostly Ctrl-K, Ctrl-[ (Esc), (Ctrl-B, Ctrl-Q in wordstar and delphi), but might be others. |
2093 | // Can't find a single list of comand mappings for joe, gotta search all over. sigh | 2093 | // Can't find a single list of command mappings for joe, gotta search all over. sigh |
2094 | // Even the command line keystroke I stumbled on (Esc x) is not documented. | 2094 | // Even the command line keystroke I stumbled on (Esc x) is not documented. |
2095 | // Note that you don't have to let go of the Ctrl key for the second keystroke, but you can. | 2095 | // Note that you don't have to let go of the Ctrl key for the second keystroke, but you can. |
2096 | 2096 | ||
@@ -2387,7 +2387,7 @@ struct context simpleNano = | |||
2387 | 2387 | ||
2388 | 2388 | ||
2389 | // Construct a simple vi editor. | 2389 | // Construct a simple vi editor. |
2390 | // Only vi is not so sibple. lol | 2390 | // Only vi is not so simple. lol |
2391 | // The "command line" modes are /, ?, :, and !, | 2391 | // The "command line" modes are /, ?, :, and !, |
2392 | // / is regex search. | 2392 | // / is regex search. |
2393 | // ? is regex search backwards. | 2393 | // ? is regex search backwards. |