octave-maintainers
[Top][All Lists]
Advanced

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

Run editor selection


From: Torsten Lilge
Subject: Run editor selection
Date: Sun, 20 Oct 2019 17:41:51 +0200

Hi everyone,

I would like to discuss the desired behavior, when running code, which
is selected in the gui's editor ("Run Selection"). Currently the
selected code is executed in the console line by line. This does not
work if a keyboard command is included, which is more or less ignored
(see https://savannah.gnu.org/bugs/?42705).

Using Fsource of a temp. file or Feval would solve this issue. However,
in this case, the commands themselves are not displayed in the console
and are not added to the history. This in turn could be fixed by, e.g.,
extending the selected text by commands for displaying and updateing the
history.

What is the desired behavior here, execute the selected portion of code
like a script or as if it was manually entered into the console?

Best,
Torsten





reply via email to

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