changeset 17875:8fde5edabedd

Display '...' for ND-arrays in GUI Variable window. * libinterp/octave-value/ov-base-mat.cc(short_disp): If matrix is not empty, nor has 2 dimensions, then just print '...'.
author Rik <rik@octave.org>
date Thu, 07 Nov 2013 10:06:06 -0800
parents 28e9562d708b
children b951a8351fd7
files libinterp/octave-value/ov-base-mat.cc
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/octave-value/ov-base-mat.cc	Thu Nov 07 09:54:38 2013 -0800
+++ b/libinterp/octave-value/ov-base-mat.cc	Thu Nov 07 10:06:06 2013 -0800
@@ -494,6 +494,8 @@
       if (nel <= max_elts)
         os << "]";
     }
+  else
+    os << "...";
 }
 
 template <class MT>