undo.c (119610) | undo.c (157184) |
---|---|
1/* readline.c -- a general facility for reading lines of input 2 with emacs style editing and completion. */ 3 4/* Copyright (C) 1987, 1989, 1992 Free Software Foundation, Inc. 5 6 This file is part of the GNU Readline Library, a library for 7 reading lines of text with interactive input and history editing. 8 --- 223 unchanged lines hidden (view full) --- 232 int count, key; 233{ 234 if (!rl_undo_list) 235 rl_ding (); 236 else 237 { 238 while (rl_undo_list) 239 rl_do_undo (); | 1/* readline.c -- a general facility for reading lines of input 2 with emacs style editing and completion. */ 3 4/* Copyright (C) 1987, 1989, 1992 Free Software Foundation, Inc. 5 6 This file is part of the GNU Readline Library, a library for 7 reading lines of text with interactive input and history editing. 8 --- 223 unchanged lines hidden (view full) --- 232 int count, key; 233{ 234 if (!rl_undo_list) 235 rl_ding (); 236 else 237 { 238 while (rl_undo_list) 239 rl_do_undo (); |
240#if defined (VI_MODE) 241 if (rl_editing_mode == vi_mode) 242 rl_point = rl_mark = 0; /* rl_end should be set correctly */ 243#endif |
|
240 } | 244 } |
245 |
|
241 return 0; 242} 243 244/* Do some undoing of things that were done. */ 245int 246rl_undo_command (count, key) 247 int count, key; 248{ --- 15 unchanged lines hidden --- | 246 return 0; 247} 248 249/* Do some undoing of things that were done. */ 250int 251rl_undo_command (count, key) 252 int count, key; 253{ --- 15 unchanged lines hidden --- |