aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-01-29 23:44:07 +1000
committerDavid Walter Seikel2014-01-29 23:44:07 +1000
commit21986cb07031e8eba705db20575ee40fd27d372b (patch)
treee2ec606049324fd96a980519d431f39a97efd4cd
parentClean up some comments. (diff)
downloadboxes-21986cb07031e8eba705db20575ee40fd27d372b.zip
boxes-21986cb07031e8eba705db20575ee40fd27d372b.tar.gz
boxes-21986cb07031e8eba705db20575ee40fd27d372b.tar.bz2
boxes-21986cb07031e8eba705db20575ee40fd27d372b.tar.xz
Clean up some comments.
-rw-r--r--boxes.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/boxes.c b/boxes.c
index f04ebec..6f90eff 100644
--- a/boxes.c
+++ b/boxes.c
@@ -2158,7 +2158,6 @@ struct function simpleEditCommands[] =
2158 {"endOfLine", "Go to end of line.", 0, {endOfLine}}, 2158 {"endOfLine", "Go to end of line.", 0, {endOfLine}},
2159 {"executeLine", "Execute a line as a script.", 0, {executeLine}}, 2159 {"executeLine", "Execute a line as a script.", 0, {executeLine}},
2160 {"leftChar", "Move cursor left one character.", 0, {leftChar}}, 2160 {"leftChar", "Move cursor left one character.", 0, {leftChar}},
2161 {"nop", "Do nothing.", 0, {nop}},
2162 {"quit", "Quit the application.", 0, {quit}}, 2161 {"quit", "Quit the application.", 0, {quit}},
2163 {"rightChar", "Move cursor right one character.", 0, {rightChar}}, 2162 {"rightChar", "Move cursor right one character.", 0, {rightChar}},
2164 {"save", "Save.", 0, {saveContent}}, 2163 {"save", "Save.", 0, {saveContent}},
@@ -2206,7 +2205,6 @@ struct keyCommand simpleCommandKeys[] =
2206// readline uses these same commands, and defaults to emacs keystrokes. 2205// readline uses these same commands, and defaults to emacs keystrokes.
2207struct function simpleEmacsCommands[] = 2206struct function simpleEmacsCommands[] =
2208{ 2207{
2209 {"nop", "Do nothing.", 0, {nop}},
2210 {"delete-backward-char", "Back space last character.", 0, {backSpaceChar}}, 2208 {"delete-backward-char", "Back space last character.", 0, {backSpaceChar}},
2211 {"delete-window", "Delete a box.", 0, {deleteBox}}, 2209 {"delete-window", "Delete a box.", 0, {deleteBox}},
2212 {"delete-char", "Delete current character.", 0, {deleteChar}}, 2210 {"delete-char", "Delete current character.", 0, {deleteChar}},
@@ -2312,7 +2310,6 @@ struct context simpleEmacs =
2312// TODO - Some of these might be wrong. Just going by the inadequate joe docs for now. 2310// TODO - Some of these might be wrong. Just going by the inadequate joe docs for now.
2313struct function simpleJoeCommands[] = 2311struct function simpleJoeCommands[] =
2314{ 2312{
2315 {"nop", "Do nothing.", 0, {nop}},
2316 {"backs", "Back space last character.", 0, {backSpaceChar}}, 2313 {"backs", "Back space last character.", 0, {backSpaceChar}},
2317 {"abort", "Delete a box.", 0, {deleteBox}}, 2314 {"abort", "Delete a box.", 0, {deleteBox}},
2318 {"delch", "Delete current character.", 0, {deleteChar}}, 2315 {"delch", "Delete current character.", 0, {deleteChar}},
@@ -2542,7 +2539,6 @@ struct context simpleMcedit =
2542 2539
2543struct function simpleNanoCommands[] = 2540struct function simpleNanoCommands[] =
2544{ 2541{
2545 {"nop", "Do nothing.", 0, {nop}},
2546 {"backSpaceChar", "Back space last character.", 0, {backSpaceChar}}, 2542 {"backSpaceChar", "Back space last character.", 0, {backSpaceChar}},
2547 {"delete", "Delete current character.", 0, {deleteChar}}, 2543 {"delete", "Delete current character.", 0, {deleteChar}},
2548 {"down", "Move cursor down one line.", 0, {downLine}}, 2544 {"down", "Move cursor down one line.", 0, {downLine}},
@@ -2677,8 +2673,6 @@ void viStartOfNextLine(view *view)
2677// TODO - ex uses "shortest unique string" to match commands, should implement that, and do it for the other contexts to. 2673// TODO - ex uses "shortest unique string" to match commands, should implement that, and do it for the other contexts to.
2678struct function simpleViCommands[] = 2674struct function simpleViCommands[] =
2679{ 2675{
2680 {"nop", "Do nothing.", 0, {nop}},
2681
2682 // These are actual ex commands. 2676 // These are actual ex commands.
2683 {"insert", "Switch to insert mode.", 0, {viInsertMode}}, 2677 {"insert", "Switch to insert mode.", 0, {viInsertMode}},
2684 {"quit", "Quit the application.", 0, {quit}}, 2678 {"quit", "Quit the application.", 0, {quit}},