Clean up unimplemented editing mode stuff
parent
78ff548b93
commit
c929a696eb
5
edit.h
5
edit.h
|
@ -29,7 +29,7 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
enum EditMode {
|
enum EditMode {
|
||||||
EditEmacs,
|
EditInsert,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Edit {
|
struct Edit {
|
||||||
|
@ -63,9 +63,6 @@ enum EditFn {
|
||||||
// Perform an editing function.
|
// Perform an editing function.
|
||||||
int editFn(struct Edit *e, enum EditFn fn);
|
int editFn(struct Edit *e, enum EditFn fn);
|
||||||
|
|
||||||
// Perform a vi-mode editing function.
|
|
||||||
int editVi(struct Edit *e, wchar_t ch);
|
|
||||||
|
|
||||||
// Insert a character at the cursor.
|
// Insert a character at the cursor.
|
||||||
int editInsert(struct Edit *e, wchar_t ch);
|
int editInsert(struct Edit *e, wchar_t ch);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue