comparison liboctave/ChangeLog @ 6913:f779c83d6ccf

[project @ 2007-09-18 18:58:12 by jwe]
author jwe
date Tue, 18 Sep 2007 18:58:13 +0000
parents c8081f4c094f
children b84be419beab
comparison
equal deleted inserted replaced
6912:66c7da4ee7a1 6913:f779c83d6ccf
1 2007-09-18 John W. Eaton <jwe@octave.org>
2
3 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set,
4 command_editor::event_hook_set): New static data.
5 (default_command_editor::set_startup_hook,
6 gnu_readline::set_startup_hook,
7 default_command_editor::restore_startup_hook,
8 gnu_readline_restore_event_hook):
9 Rename from do_set_startup_hook and do_set_event_hook.
10 (gnu_readline::operate_and_get_next): Call
11 command_editor::add_startup_hook, not
12 command_editor::set_startup_hook.
13 (command_editor::startup_handler, command_editor::event_handler):
14 New functions.
15 (command_editor::add_startup_hook, command_editor::add_event_hook,
16 command_editor::remove_startup_hook,
17 command_editor::remove_event_hook): Rename from set_startup_hook
18 and restore_startup_hook. Handle hook sets here.
19 * cmd-edit.cc (gnu_history::do_goto_mark):
20 Call remove_startup_hook instead of restore_startup_hook.
21
1 2007-09-17 John W. Eaton <jwe@octave.org> 22 2007-09-17 John W. Eaton <jwe@octave.org>
2 23
3 * lo-utils.cc (octave_read_complex, octave_read_double): Skip 24 * lo-utils.cc (octave_read_complex, octave_read_double): Skip
4 leading whitespace. 25 leading whitespace.
5 26