Android Library to make it easy to create an Code editor or IDE that support any languages and themes, with auto complete, auto indenting, snippets and more features
I've tracked a bug back to the mKeyListener that is being used to increment currentIndentation within CodeView.java
For example, if I write the following statement:
var foo = "bar";
The key listener is tracking every space character that I type, and when a new line is created, it adds that much indentation. It's actually adding {space_char}*2 amount of indentation, because the key listener is triggered twice for each character (key_down and key_up events).
I think a better implenmentation for this key listener is required. Until this is fixed, I cannot use the auto indentation feature :(
Hello!
I've tracked a bug back to the
mKeyListener
that is being used to incrementcurrentIndentation
withinCodeView.java
For example, if I write the following statement:
var foo = "bar";
The key listener is tracking every space character that I type, and when a new line is created, it adds that much indentation. It's actually adding {space_char}*2 amount of indentation, because the key listener is triggered twice for each character (key_down and key_up events).
I think a better implenmentation for this key listener is required. Until this is fixed, I cannot use the auto indentation feature :(