Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

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

@Lukas-Q

Description

@Lukas-Q

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions