Add more clock/reset keys and update docs
Provides additional keys to clock and reset the spreadsheet in GUI mode. Updated LyX manual to include GUI mode keys, including the new ones, to include some of the more recent features like bold and highlight, and also improved some phrasing throughout. Fixes #4.
This commit is contained in:
parent
eefc54818c
commit
c072cb9af4
1966
doc/teapot.lyx
1966
doc/teapot.lyx
File diff suppressed because it is too large
Load Diff
@ -262,11 +262,13 @@ updating = false;
|
|||||||
case FL_F+8: k = ctrl?K_RECALC:K_CLOCK; break;
|
case FL_F+8: k = ctrl?K_RECALC:K_CLOCK; break;
|
||||||
case FL_F+9: k = ctrl?K_RECALC:K_CLOCK; break;
|
case FL_F+9: k = ctrl?K_RECALC:K_CLOCK; break;
|
||||||
case FL_F+10: k = (Key)'/'; break;
|
case FL_F+10: k = (Key)'/'; break;
|
||||||
|
case FL_Tab: if (shift) { k = K_CLOCK; break; }
|
||||||
case FL_Enter:
|
case FL_Enter:
|
||||||
case FL_KP_Enter: k = alt?K_MENTER:K_ENTER; break;
|
case FL_KP_Enter: k = alt?K_MENTER:K_ENTER; break;
|
||||||
case 'c': if (ctrl) { do_mark(cursheet, 2); cut = false; k = K_NONE; } break;
|
case 'c': if (ctrl) { do_mark(cursheet, 2); cut = false; k = K_NONE; } break;
|
||||||
case 'v': k = ctrl?(cut?BLOCK_MOVE:BLOCK_COPY):(Key)'v'; break;
|
case 'v': k = ctrl?(cut?BLOCK_MOVE:BLOCK_COPY):(Key)'v'; break;
|
||||||
case 'x': if (ctrl) { do_mark(cursheet, 2); cut = true, k = K_NONE; } break;
|
case 'x': if (ctrl) { do_mark(cursheet, 2); cut = true, k = K_NONE; } break;
|
||||||
|
case 'r': if (ctrl) k = K_RECALC; break;
|
||||||
case FL_Insert: if (ctrl) { do_mark(cursheet, 2); cut = false; } k = !shift?K_NONE:cut?BLOCK_MOVE:BLOCK_COPY; break;
|
case FL_Insert: if (ctrl) { do_mark(cursheet, 2); cut = false; } k = !shift?K_NONE:cut?BLOCK_MOVE:BLOCK_COPY; break;
|
||||||
case FL_Delete: if (shift) { do_mark(cursheet, 2); cut = true; } k = shift?K_NONE:BLOCK_CLEAR; break;
|
case FL_Delete: if (shift) { do_mark(cursheet, 2); cut = true; } k = shift?K_NONE:BLOCK_CLEAR; break;
|
||||||
case FL_Home: k = ctrl?K_FIRSTL:shift?K_FSHEET:K_HOME; break;
|
case FL_Home: k = ctrl?K_FIRSTL:shift?K_FSHEET:K_HOME; break;
|
||||||
|
Loading…
Reference in New Issue
Block a user