[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53033] Variable editor: allow empty cells to
[Octave-bug-tracker] [bug #53033] Variable editor: allow empty cells to be edited and value cells to be emptied
Fri, 9 Feb 2018 17:44:07 -0500 (EST)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48
Update of bug #53033 (project octave):
Status: Fixed => In Progress
Open/Closed: Closed => Open
Follow-up Comment #4:
Reopening - I don't think it is complete yet:
a = num2cell (rand (2));
then right-click any cell, select "clear" => sets it to numeric 0, while I'd
expect to see empty (0x0 matrix).
Also IMO the Del key should be usable for emptying cell array cells or struct
fields (works Matlab), but OK that may be a feature request.
In the above example, assigning a char value to a cell with previous numeric
value works for any cell. However, if/once a cell contains a char value, in
the VE it can only be assigned another char value.
IOW, the VE doesn't understand that leading quote is required to indicate a
numeric value and a missing leading quote indicates numeric or maybe logical
In Matlab, char value are shown decorated with quotes. Maybe it is better if
Octave would do the same - IIRC the VE as it was last year behaved like that.
(hg id a979bb895b64 avoid reinterpret_cast ...)
Reply to this item at:
Message sent via/by Savannah