Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Fold Regions #42

Open
hillbear opened this issue Jun 19, 2015 · 4 comments
Open

Fold Regions #42

hillbear opened this issue Jun 19, 2015 · 4 comments
Assignees

Comments

@hillbear
Copy link

Whenever I wrap a block of code within a region, the plugin does not parse it as code that can be folded.

Can this ability be added to the script, or is this something I can force in Atom configuration?

@jrsconfitto
Copy link
Owner

Thanks for letting me know. i’ll take a look and see what we can do to support it.

@hillbear
Copy link
Author

Thanks! Just for example purposes, this is what I am referring to: ISE 3 Regions

@jrsconfitto jrsconfitto self-assigned this Jun 26, 2015
@jrsconfitto
Copy link
Owner

i think i've got an idea of how to make this work, but i need to try it. i think related information can be found in the textmate manual section on folding.

@jrsconfitto
Copy link
Owner

Nevermind that earlier idea. Looks like Atom doesn't respect the foldingStartMarker and foldingStopMarker in a grammar, but instead is indentation based, which may make regions difficult? Ref: atom/first-mate#48 (comment).

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

No branches or pull requests

2 participants