Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with AutoIndentation (in the context of Javascript) #44

Open
cody1024d opened this issue Feb 6, 2024 · 0 comments
Open

Issue with AutoIndentation (in the context of Javascript) #44

cody1024d opened this issue Feb 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cody1024d
Copy link

cody1024d commented Feb 6, 2024

Hello!

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 :(

@AmrDeveloper AmrDeveloper added the enhancement New feature or request label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants