[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65637] `short_disp` doesn't show ellipsis at
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #65637] `short_disp` doesn't show ellipsis at end of long arrays |
Date: |
Wed, 24 Apr 2024 15:24:14 -0400 (EDT) |
Follow-up Comment #4, bug #65637 (group octave):
I don't think your latest change is the right thing for printing "]". Maybe
the attached change instead? But now this is not such a trivial change and
I'm not sure of the best way to indicate that a character array has been
truncated.
I tested with
classdef boolmxcls
properties
x01 = reshape (1:9, 1, 9);
x02 = reshape (1:10, 1, 10);
x03 = reshape (1:11, 1, 11);
x04 = reshape (1:8, 2, 4)';
x05 = reshape (1:10, 2, 5)';
x06 = reshape (1:12, 2, 6)';
x07 = reshape (1:9, 9, 1);
x08 = reshape (1:10, 10, 1);
x09 = reshape (1:11, 11, 1);
x10 = reshape (1:8, 4, 2)';
x11 = reshape (1:10, 5, 2)';
x12 = reshape (1:12, 6, 2)';
x20 = @sin;
x21 = 13;
x22 = {1, 2, 3, "foobar"};
x23 = 1:2:200;
x24 = struct ('a', {1, 2, 3}, 'b', {4, 5, 6});
x25 = "this is a very long string this is a very long string this is a
very long string this is a very long string this is a very long string this is
a very long string";
endproperties
endclassdef
(file #55971)
_______________________________________________________
Additional Item Attachment:
File name: bug65637-short_disp-ellipsis-v3.patch Size: 7KiB
<https://file.savannah.gnu.org/file/bug65637-short_disp-ellipsis-v3.patch?file_id=55971>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-d3aec29d5294756baedbbbd2796ad0b2d841864b.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65637>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65637] `short_disp` doesn't show ellipsis at end of long arrays, Markus Mützel, 2024/04/24
- [Octave-bug-tracker] [bug #65637] `short_disp` doesn't show ellipsis at end of long arrays, Markus Mützel, 2024/04/24
- [Octave-bug-tracker] [bug #65637] `short_disp` doesn't show ellipsis at end of long arrays, John W. Eaton, 2024/04/24
- [Octave-bug-tracker] [bug #65637] `short_disp` doesn't show ellipsis at end of long arrays, Markus Mützel, 2024/04/24
- [Octave-bug-tracker] [bug #65637] `short_disp` doesn't show ellipsis at end of long arrays,
John W. Eaton <=
- [Octave-bug-tracker] [bug #65637] `short_disp` doesn't show ellipsis at end of long arrays, Markus Mützel, 2024/04/25
- [Octave-bug-tracker] [bug #65637] `short_disp` doesn't show ellipsis at end of long arrays, Rik, 2024/04/29