Issue by petetnt
Tuesday Dec 01, 2015 at 07:48 GMT
Originally opened as adobe/brackets#11964
In #11909 we added a lineRender hack from https://codemirror.net/demo/indentwrap.html. This hack alone works fine for files using spaces as whitespace. However, the PR was missing this additional hack from the pages stylesheet:
.CodeMirror pre > * { text-indent: 0px; }
This PR adds that, thus fixing #11963
@abose@stowball@rroshan1
edit: Steps to repro:
- Create new file foo.html
- Set indentation to Tab size: 4 from Brackets
- Write
<h1>Foo</h1>
- Try to indent it with by pressing tab
-> Text doesn't move at all
After PR:
- Create new file foo.html
- Set indentation to Tab size: 4 from Brackets
- Write
<h1>Foo</h1>
- Try to indent it with by pressing tab
-> Tabs work as indented and the indent-wrap hack still works too
petetnt included the following code: https://github.com/adobe/brackets/pull/11964/commits
Tuesday Dec 01, 2015 at 07:48 GMT
Originally opened as adobe/brackets#11964
In #11909 we added a
lineRenderhack from https://codemirror.net/demo/indentwrap.html. This hack alone works fine for files using spaces as whitespace. However, the PR was missing this additional hack from the pages stylesheet:This PR adds that, thus fixing #11963
@abose@stowball@rroshan1edit: Steps to repro:
<h1>Foo</h1>-> Text doesn't move at all
After PR:
<h1>Foo</h1>-> Tabs work as indented and the
indent-wraphack still works toopetetnt included the following code: https://github.com/adobe/brackets/pull/11964/commits