ManiacDC / TypingAid

Word AutoCompletion Utility
http://www.autohotkey.com/board/topic/49517-ahk-11typingaid-v2200-word-autocompletion-utility/
GNU General Public License v3.0
138 stars 45 forks source link

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

Open eddbs opened 8 years ago

eddbs commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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

eddbs commented 8 years ago

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

eddbs commented 8 years ago

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 commented 8 years ago

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.