This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We should add a filter to the return marks to get only marks related to codefolding e.g.,
This makes retrieving the first item as done in the next line work as intended since other marks might exist on the line.
There is an isFold function
updateFoldInfo
that can be moved out of that scope and reused for this purpose instead of redefining a lambda expression in the filter argument.