# HG changeset patch # User Torsten # Date 1381782427 -7200 # Node ID b4783277bd115f9f95c16a5d17b271f7e1f09612 # Parent 57750dc54ab675422b1586298dee9316987e2e65 *octave-qscintilla.cc: fix edit function at cursor by shortcut Ctrl-E diff -r 57750dc54ab6 -r b4783277bd11 libgui/src/m-editor/octave-qscintilla.cc --- 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); }