[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53421] Excessive whitespace displaying struct
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #53421] Excessive whitespace displaying struct.array |
Date: |
Thu, 22 Mar 2018 16:53:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 |
Follow-up Comment #3, bug #53421 (project octave):
Might it be worth looking at compacting multiple blank lines into one though?
When an array is inside a struct, you get a blank line for the array, and then
the surrounding blank line for the struct.
>> A = 1:10
A =
1 2 3 4 5 6 7 8 9 10
>> s.A = 1:10
s =
scalar structure containing the fields:
A =
1 2 3 4 5 6 7 8 9 10
That's two blank lines at the end, one from the row vector s.A, and one for
the struct s.
This can get a little pathological:
>> struct_levels_to_print (10)
>> s.s.s.s.A = 1:10
s =
scalar structure containing the fields:
A =
1 2 3 4 5 6 7 8 9 10
s =
scalar structure containing the fields:
s =
scalar structure containing the fields:
s =
scalar structure containing the fields:
A =
1 2 3 4 5 6 7 8 9 10
Five blank lines at the end for all the nesting.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53421>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/