Sublime Forum

Code folding HTML breaks with <textarea>

#1

This forum wouldn’t let me post more than one image, so here’s my question:

Why does code folding HTML in Sublime break with my <textarea>?

0 Likes

#2

Code folding is based on indentation. I imagine as all of textarea is not indented to the same level, it is broken.

0 Likes

#3

7 years later I still have the same problem in Sublime 4. Code folding breaks on a textarea tag. It is very annoying scrolling when you have large pages. Does anyone have a solution to this problem.

My understanding is the the problem is due to indentation. Therefore to solve I need to stop the wrapping of the long text area line so this remains on singe line. Is it possible ensure that a text area tag does not wrap ? Would that work ?

0 Likes