News for hackers. Stuff that matters.
Re:AutoJS – JS library for textarea lookahead by dspillett on Monday November 25, 2013 @10:11AM (#6794386)
When I type quickly I often hit on key before properly releasing the next (I am a terrible typist in other ways too, chances are many other people are likewise!). This seems to make your code think I've accepted the current suggestion so I end up with extra words embedded in what I am typing, for instance "test" comes out as "termst" if the bad key event ordering occurs with the e and s keys.

It works great if I make an effort to properly release one key before touching the next though, and I suspect this problem could be checked for and mitigated with a little extra logic in your event handlers.

Re:AutoJS – JS library for textarea lookahead by owenjones on Monday November 25, 2013 @10:18AM (#6794440)
I see a similar issue, if I type:

  'int'
It outputs:

  'intot|'  <-- | cursor
Otherwise, pretty cool!
Re:AutoJS – JS library for textarea lookahead by atmb4u on Monday November 25, 2013 @10:14AM (#6794410)
Will definitely look into this issue. Thanks for the suggestion.
Re:AutoJS – JS library for textarea lookahead by grandpa on Monday November 25, 2013 @10:20AM (#6794459)
This is what happened when I tried typing the first sentence on your web site: http://i.imgur.com/jQGHwQc.png
Re:AutoJS – JS library for textarea lookahead by atmb4u on Monday November 25, 2013 @12:30PM (#6795427)
Have a look at it now. That issue is fixed. Thanks a lot for the constructive comments.
Re:AutoJS – JS library for textarea lookahead by ankit84 on Monday November 25, 2013 @10:24AM (#6794481)
yes. this happens when i tried typing. I am a fast typist