[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40272] Issues with "run selection" from edito
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #40272] Issues with "run selection" from editor |
Date: |
Mon, 14 Oct 2013 21:14:41 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 |
URL:
<http://savannah.gnu.org/bugs/?40272>
Summary: Issues with "run selection" from editor
Project: GNU Octave
Submitted by: philipnienhuis
Submitted on: Mon 14 Oct 2013 11:14:40 PM CEST
Category: GUI
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Philip Nienhuis
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Changeset 17636:230ffaf80ac9 "fix enabling copy, cut and run selection actions
depending on selected text" (warmly welcomed! thanks for making this) has
problems.
For example, the following sequence in the editor:
x = 1:0.1:10;
for ii=1:10
figure ();
plot (x, sin (x * log (ii)));
endfor
(note newline/empty line included in selection)
gives in the GUI terminal on MinGW:
x = 1:0.1:10;^M^Jfor ii=1:10^M^J figure ();^M^J plot (x, sin (x * log
(ii)));^M^Jendfor
...and nothing happens, no error messages either, except that (only) variable
x appears in the workspace.
I first thought the inserted Esc characters spoiled the party. However, when
doing the same on Linux no Esc characters appear but no plots are produced
either, and also here only variable x is created. (Apparently the ^M^J are
EOLs)
Indentation or not makes no difference.
Simply copy/paste using Ctrl-C in editor and Ctrl-V in the terminal makes the
show run fine on MinGW and Linux.
Then again, a simple
tic; a = 10; toc
goes fine on MinGW and Linux.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40272>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #40272] Issues with "run selection" from editor,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #40272] Issues with "run selection" from editor, Torsten, 2013/10/15
- [Octave-bug-tracker] [bug #40272] Issues with "run selection" from editor, Philip Nienhuis, 2013/10/15
- [Octave-bug-tracker] [bug #40272] Issues with "run selection" from editor, Torsten, 2013/10/15
- [Octave-bug-tracker] [bug #40272] Issues with "run selection" from editor, Philip Nienhuis, 2013/10/15
- [Octave-bug-tracker] [bug #40272] Issues with "run selection" from editor, Philip Nienhuis, 2013/10/15
- [Octave-bug-tracker] [bug #40272] Issues with "run selection" from editor, Torsten, 2013/10/16
- [Octave-bug-tracker] [bug #40272] Issues with "run selection" from editor, Philip Nienhuis, 2013/10/16
- [Octave-bug-tracker] [bug #40272] Issues with "run selection" from editor, Torsten, 2013/10/16