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

List not closed after clearing the text via Ctrl+A → Backspace.. #71

Open
eddbs opened this issue Dec 14, 2015 · 5 comments
Open

List not closed after clearing the text via Ctrl+A → Backspace.. #71

eddbs opened this issue Dec 14, 2015 · 5 comments

Comments

@eddbs
Copy link

eddbs commented Dec 14, 2015

In order to clear all the text quickly, I always press "Ctrl+A" and then press "Backspace", so in this case the List should close too, I would love to see the fix to this issue on a new version, thank you! (:

@ManiacDC
Copy link
Owner

Maybe I can handle some limited examples of this, but this really opens up a can of worms. I really just track keypresses, moving the cursor or changing an existing word is never accounted for. There's no way to easily do this with AHK.

I will look into trying to handle Ctrl-A, at least in limited cases.

@ManiacDC
Copy link
Owner

BTW, I'm classing this as an enhancement because it's new functionality. It was never designed to handle this case.

@eddbs
Copy link
Author

eddbs commented Dec 16, 2015

Ok ok, so I'll wait for this enhancement, thank you for the support! :)

@eddbs
Copy link
Author

eddbs commented Dec 16, 2015

The thing is that in my script I have a textbox with no multiline, so it just select the whole single line to clear it all by pressing Ctrl+A and backspace, and here it's an example of how it looks after clearing the textbox:

http://snag.gy/dVcFx.jpg

So I think that yes, the solution would be to handle something like: Ctrl+A → Backspace = Close the List.

@Theclaws
Copy link

Hi @ManiacDC

You're right, this is a Pandora's box... if you're going to cover Ctrl-A, Backspace, then you might want to also cover Ctrl-A, Delete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants