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

Array Index [end] causes code-folding to break #248

Open
Lukas-Q opened this issue Oct 17, 2014 · 0 comments
Open

Array Index [end] causes code-folding to break #248

Lukas-Q opened this issue Oct 17, 2014 · 0 comments

Comments

@Lukas-Q
Copy link

Lukas-Q commented Oct 17, 2014

This bug might be related to Issue #225 but has a different characteristic.

Julia allows for calling the Array Index [end] to give you the last element of an array. However if one uses this in Julia Studio 0.4.5 on a Windows 7 - 64bit machine (I had no other system available for testing so far) the [end] is interpreted by Julia Studio's code-folding algorithm as the end of a foldable block. Eg:

unfolded

folded
This minimal example also shows, that the last "end" command somehow starts a new folding block for Julia-Studio. This one however is not collapsable (clicking the little arrow doesn't do anything).

This bug can be rather annoying especially in large documents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant