changeset 17655:b4783277bd11

*octave-qscintilla.cc: fix edit function at cursor by shortcut Ctrl-E
author Torsten <ttl@justmail.de>
date Mon, 14 Oct 2013 22:27:07 +0200
parents 57750dc54ab6
children 0c5f50706ba3
files libgui/src/m-editor/octave-qscintilla.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/m-editor/octave-qscintilla.cc	Mon Oct 14 11:04:46 2013 -0700
+++ b/libgui/src/m-editor/octave-qscintilla.cc	Mon Oct 14 22:27:07 2013 +0200
@@ -76,7 +76,7 @@
 void
 octave_qscintilla::context_edit ()
 {
-  if (hasSelectedText ())
+  if (get_actual_word ())
     contextmenu_edit (true);
 }