sublimetext-syntaxfold
sublimetext-syntaxfold copied to clipboard
feature_request(enhancement): single line folding
1. Summary
It would be nice, if Sublime Text SyntaxFold will support folding text in single line.
2. Argumentation
I use Sublime Text TableEditor plugin for tables creating. Example table:
I can have a long text in a cell.
Big monitor:
Small monitor — bad table:
I want fold text, if line length in a cell is long. But I can't do it.
3. Configuration
User/syntax_fold.sublime-settings
:
{
"config":
[
{
"scope": "text.genius.kira",
"startMarker": "!fold",
"endMarker": "!end"
}
]
}
Demo__SyntaxFold--Kireopardy.kira
:
Parts of Demo__SyntaxFold--Kireopardy.kira
:
!fold Sasha Best !end
!fold
Sasha Leader
!end
4. Steps to reproduce
I run fold_all
command (Alt+0, Alt+0).
5. Expected behavior
Multiline and single-line texts fold:
6. Actual behavior
Multiline text fold, single-line not:
Thanks.