indentation issue #27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On
8b5c31d4b8, each time I return to the line the text is indented.I'll need way more context to know what you're talking about here. Which demo page, which browser, what exactly does 'returning to the line' mean?
I've tested on firefox and chrome with same issue :
Code is following:
Full code http://friendpaste.com/IPOddWE0fhil4NkAX6U6I
I've just a textarea on the page. return to the line means when I hit the return to create a new line it automatically indent from 2 chars next line: http://bayimg.com/HadKOAADP
Maybe try reading the manual? http://codemirror.net/2/manual.html#option_enterMode
It's still odd that the default js mode indent from 2 spaces when you go on the line. This isn't usual at all.
You either didn't finish your line with a semicolon, or opened a new block.
ok.