diff libgui/src/m-editor/octave-qscintilla.cc @ 28548:605b9e811bf3

maint: merge stable to default.
author John W. Eaton <jwe@octave.org>
date Thu, 09 Jul 2020 13:04:54 -0400
parents 2969b94cac9f dc53b7b7af8b
children 82ccc4e69ba3
line wrap: on
line diff
--- a/libgui/src/m-editor/octave-qscintilla.cc	Wed Jul 08 08:15:27 2020 -0400
+++ b/libgui/src/m-editor/octave-qscintilla.cc	Thu Jul 09 13:04:54 2020 -0400
@@ -810,7 +810,7 @@
     // Take selected code and extend it by commands for echoing each
     // evaluated line and for adding the line to the history (use script)
     QString code = QString ();
-    QString hist = QString ("### Begin selected code\n");
+    QString hist = QString ();
 
     // Split contents into single lines and complete commands
     QStringList lines = selectedText ().split (QRegExp ("[\r\n]"),
@@ -840,7 +840,6 @@
         hist += line_history + "\n";
       }
 
-    hist += "### End selected code\n";
     octave_stdout << hist.toStdString () << "\n";
 
     // Create tmp file with the code to be executed by the interpreter