Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi line matrices and cell arrays without ellipsis line continuation indicator #22

Closed
davidvarga opened this issue Sep 30, 2016 · 0 comments
Assignees

Comments

@davidvarga
Copy link
Owner

davidvarga commented Sep 30, 2016

Currently, if matrices and cell arrays are declared using multiple lines, but no ellipsis line continuation indicator (...) is used, the elements of these containsers dont get formatted.

In these cases the ellipsis line continuation indicator (...) should be also inserted.

Example

c = { 1+2+3 1*2  -12  -10/5
   -1    -2    -3   -4
10*(6+5) 10 10 10}

b = [1+2 2 3
    4 5+4 6
    7 8+4 9
    10 11+4 12]

The expected formatting is

c = {1 + 2 + 3, 1 * 2, -12, -10 / 5; ...
    -1, -2, -3, -4; ...
    10 * (6 + 5), 10, 10, 10}

b = [1 + 2, 2, 3; ...
    4, 5 + 4, 6; ...
    7, 8 + 4, 9; ...
    10, 11 + 4, 12]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant