MarkdownEditing icon indicating copy to clipboard operation
MarkdownEditing copied to clipboard

Keep headlines folded when cutting-n-pasting and moving them around

Open glow12121 opened this issue 3 years ago • 2 comments

Hi,

I've just installed MarkdownEditing in ST4 and the feature I appreciate most is being able to fold/unfold sections of the text. The feature would be even nicer if it was possible to cut and paste folded sections while keeping them still folded. Currently, they unfold automatically when being pasted.

glow12121 avatar Jan 11 '23 13:01 glow12121

No plugin functionality of Markdown is involved in copy & paste operations.

Even though it may proably be possible to modify this behavior via plugin, this is more or less a core issue of Sublime Text, which effects all folded regions in all syntaxes.

causing core issues are:

  • https://github.com/sublimehq/sublime_text/issues/494
  • https://github.com/sublimehq/sublime_text/issues/5801

deathaxe avatar Jan 11 '23 16:01 deathaxe

Thank you for explaining, got it.

glow12121 avatar Jan 12 '23 06:01 glow12121