Outline display using disp
This MR allows to restore scilab 2024.0 more verbose output when using disp() since we have introduced the outline display when printing the output of expressions on the command line.
It fixes the problems of:
- empty disp() output for empty sparse matrix, struct, list
- missing type (was in outline only) in output of disp() for a handle
It adds the outline when using disp() for all types but Double, Bool, Int (it can be tuned in disp() gateway).
--> gcf
ans = [Figure] with properties:
children: [Axes]
figure_position = [200,200]
figure_size = [610,562]
(...)
--> disp(gcf())
[Figure] with properties:
children: [Axes]
figure_position = [200,200]
figure_size = [610,562]
(...)
--> x=struct("a",1)
x = [struct] with fields:
a = 1
--> disp(x)
[struct] with fields:
a = 1
x = [2x2 double]
0.2312237 0.8833888
0.2164633 0.6525135
--> disp(x)
0.2312237 0.8833888
0.2164633 0.6525135
--> struct()
ans = [0x0 struct] with no field
--> disp(struct())
[0x0 struct] with no field
--> spzeros(0,0)
ans = [0x0 sparse]
--> disp(spzeros(0,0))
[0x0 sparse]
Edited by Stéphane MOTTELET