I have the following in an HTML file opened in Sublime:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>code folding bug</title>
</head>
<body>
<div>
<textarea>I am the very model of a modern Major-General,
I've information vegetable, animal, and mineral,
I know the kings of England, and I quote the fights historical.</textarea>
</div>
</body>
</html>
This is what it looks like:
Notice, it shows that I can collapse (with the ▼ on the left) only the <head>
and <body>
elements (not the <div>
or <textarea>
).
If I collapse the <body>
element it get's weirder with only the first two lines inside the element disappearing:
I am using Sublime Text 3 (build 3126) on Windows 10 x64 with Package Manager being the only package installed.