-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Issue by thehogfather
Wednesday Aug 12, 2015 at 13:44 GMT
Originally opened as adobe/brackets#11584
Ref: #10893
Some simple tests for code-folding. Specifically it tests the following:
- Gutter fold marks are rendered on startup
- Folding code creates a folded region in editor
- Expanding code clears the folded region in editor
- Clearing the text marker on folded region expands it and updates the fold gutter
- Folded lines have a folded (i.e., closed) marker in the gutter
- Foldable lines have a foldable (i.e., open) marker in the gutter
- Persistence of fold states work as expected - i.e., fold states are saved and restored when persistence is enabled
- Persistence of fold states can be disabled
- Minimum fold size is obeyed
- Code folding can be disabled
- Selecting text does not trigger fold marks when `makeSelectionsFoldable' is disabled
- Selecting text triggers fold marks when `makeSelectionsFoldable' is enabled
- Successively selecting text only triggers fold region for the last selection
thehogfather included the following code: https://github.com/adobe/brackets/pull/11584/commits
Metadata
Metadata
Assignees
Labels
No labels