[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53105] Variable Editor: "Up" button should wo
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #53105] Variable Editor: "Up" button should work for structs |
Date: |
Mon, 19 Feb 2018 22:12:17 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #3, bug #53105 (project octave):
Attached is a fix. The good news is that the current test for cells and
matrices checks the *last* character. This means that something like the
following also functions properly with the fix:
y{1} = struct ('f1', 2, 'f2', [3 4]);
y{2} = struct ('f1', 2, 'f2', [3 4]);
openvar y;
The displayed names are y{1,1} then y{1,1}.f2. In the latter case the last
character is neither '}' nor ']'.
The bad news is that Up doesn't produce a proper editable view if the
"up-level" name window is deleted. E.g., in your example, close the 's'
window and then press up. But I think that is a bug reported somewhere else:
https://savannah.gnu.org/bugs/index.php?53176
...or close to it.
(file #43369)
_______________________________________________________
Additional Item Attachment:
File name: octave-variable_editor_structures-djs2018feb19.patch Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53105>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/