Lines Matching defs:editor
451 GlEditor editor; /* The style of editing, (eg. vi or emacs) */
1036 * Change the editor style being emulated.
1038 static int gl_change_editor(GetLine *gl, GlEditor editor);
1813 gl->editor = GL_EMACS_MODE;
2004 if(gl_change_editor(gl, gl->editor))
2608 if(gl->editor == GL_NO_EDITOR)
4313 gl_delete_chars(gl, nc, gl->editor == GL_EMACS_MODE || gl->vi.command);
4322 (gl->editor==GL_EMACS_MODE));
4382 if(gl->editor == GL_VI_MODE && !gl->vi.command && !gl->insert) {
4505 if(gl->editor == GL_EMACS_MODE) {
4539 gl->editor == GL_EMACS_MODE || gl->vi.command);
5078 if(gl->editor == GL_VI_MODE && gl_cursor_left(gl, 1, NULL))
5359 (gl->editor==GL_VI_MODE && gl->ntotal>0))) {
5421 (gl->editor==GL_VI_MODE && gl->ntotal>0))) {
6028 if(gl->editor == GL_VI_MODE) {
6505 "The argument of editor should be vi or emacs.");
6868 * Get the line-editor resource object.
6920 * Change the style of editing to emulate a given editor.
6924 * editor GlEditor The type of editor to emulate.
6929 static int gl_change_editor(GetLine *gl, GlEditor editor)
6932 * Install the default key-bindings of the requested editor.
6934 switch(editor) {
6950 _err_record_msg(gl->err, "Unknown editor", END_ERR_MSG);
6957 gl->editor = editor;
6963 if(gl->editor != GL_NO_EDITOR && gl->input_fp)
7624 int next = gl->editor == GL_EMACS_MODE ?
7699 if(gl->editor == GL_VI_MODE)
8011 if(gl->editor == GL_VI_MODE && !gl->vi.command) {
8198 if(gl->editor == GL_NO_EDITOR) {
10290 if(gl->editor != GL_NO_EDITOR && gl_start_newline(gl, 1))
10454 * gl GetLine * The line editor resource object.
10485 * gl GetLine * The line editor resource object.
10533 * gl GetLine * The line editor resource object.
10580 * data void * The pointer to a GetLine line editor resource object
10601 * gl GetLine * The line editor resource object.
10674 * gl GetLine * The line editor resource object.
10766 * gl GetLine * The line editor resource object.
11830 * gl GetLine * The line editor resource object.
12716 * this would subseuqnely appear as bogus input to the line editor.