Mercurial > octave
diff libinterp/octave-value/ov-re-mat.cc @ 24668:d4dd741b2794
new octave_value functions for formatting output
* ov.h, ov.cc, ov-base.h, ov-base.cc, and numeric/matrix-like objects:
(get_edit_display_format): New function.
(edit_display): Pass float_display_format as argument.
* pr-output.h, pr-output.cc: New variants of the octave_print_internal
functions that accept display formats. Expose functions for getting
display formats.
* variable-editor-model.cc: Maintain display format for model.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 01 Feb 2018 06:36:50 -0500 |
parents | f5ad5d6f16fd |
children | 6652d3823428 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-re-mat.cc Wed Jan 31 22:21:51 2018 -0600 +++ b/libinterp/octave-value/ov-re-mat.cc Thu Feb 01 06:36:50 2018 -0500 @@ -71,6 +71,7 @@ #include "ov-cx-diag.h" #include "ov-lazy-idx.h" #include "ov-perm.h" +#include "pr-flt-fmt.h" #include "pr-output.h" #include "variables.h"