Posted 11 years ago
by Mikko Tikkanen
First of all, good job with the editor, looking quite nice so far!
First thing that I stumbled on when quickly testing it out:
When people type something like... ("|" being cursor)
function() {|}
When enter is pressed between curly braces for the function content...
function() {
|}
However, after indentation it ends up looking like so...
function() {
|
}
Thus, it would make sense to automatically insert empty line and indent it when enter is pressed between curly braces.