octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #42705] Commands continue to be sent to the te


From: Richard
Subject: [Octave-bug-tracker] [bug #42705] Commands continue to be sent to the terminal if breakpoint hit
Date: Sun, 20 Jul 2014 23:15:53 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0

Follow-up Comment #2, bug #42705 (project octave):

I'm not sure what you mean by this? If I highlight the following in the editor
and do 'Run Selection', all lines are sent to the terminal.

++
x = 1
y = 5
--

i.e. I get the following output:

++
>> x = 1

x =  1
>> y = 5

y =  5
--

This is what I expect since as per the followng code in octave_qscintilla.cc

++
octave_qscintilla::contextmenu_run (bool)
{
  QStringList commands = selectedText ().split (QRegExp("[rn]"),
                                                QString::SkipEmptyParts);
  for (int i = 0; i < commands.size (); i++ )
    emit execute_command_in_terminal_signal (commands.at (i));
}
--

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42705>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]