diff src/input.cc @ 3933:f9ea3dcf58ee

[project @ 2002-05-15 03:21:00 by jwe]
author jwe
date Wed, 15 May 2002 03:21:01 +0000
parents 55648fc616c8
children 1ea29376e43e
line wrap: on
line diff
--- a/src/input.cc
+++ b/src/input.cc
@@ -476,6 +476,15 @@
 
   command_editor::set_name ("Octave");
 
+  // XX FIXME XXX -- this needs to include a comma too, but that
+  // causes trouble for the new struct element completion code.
+
+  static char *s = "\t\n !\"\'*+-/:;<=>[\\]^`~";
+
+  command_editor::set_basic_word_break_characters (s);
+
+  command_editor::set_completer_word_break_characters (s);
+
   command_editor::set_basic_quote_characters ("\"");
 
   command_editor::set_completion_function (generate_completion);