Open Kristinita opened 6 years ago
It would be nice, if Sublime Text SyntaxFold will support folding text in single line.
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.
User/syntax_fold.sublime-settings:
User/syntax_fold.sublime-settings
{ "config": [ { "scope": "text.genius.kira", "startMarker": "!fold", "endMarker": "!end" } ] }
Demo__SyntaxFold--Kireopardy.kira:
Demo__SyntaxFold--Kireopardy.kira
Parts of Demo__SyntaxFold--Kireopardy.kira:
!fold Sasha Best !end
!fold Sasha Leader !end
I run fold_all command (Alt+0, Alt+0).
fold_all
Multiline and single-line texts fold:
Multiline text fold, single-line not:
Thanks.
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
:Demo__SyntaxFold--Kireopardy.kira
:Parts of
Demo__SyntaxFold--Kireopardy.kira
: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.