pviswanathan / ChromeAutoTextExpander

Google Chrome Extension : Auto Text Expander - listens for keypresses on pages that support it and will auto-replace text as you type. Keywords: javascript jquery chrome text expander replacement.
MIT License
157 stars 45 forks source link

Incorrect behaviour in Cloud9 IDE. #36

Open Maffyou opened 7 years ago

Maffyou commented 7 years ago

Hi,

First of all - thanks for making Auto Text Expander, it's great!

I’ve noticed the Cloud9 IDE is not quite fully compatible with the plugin.

Normally, you type a unique trigger-word, and Auto Text Expander will immediately delete what you typed and replace/expand it with the programmed string. Simple. However, in the Cloud9 IDE, the trigger word does not get deleted - it just remains at the start of the expanded string. Also, Auto Text Expander does not even trigger until you’ve typed your trigger-word PLUS pressed an extra key (doesn’t matter which key in particular, you just need to press something else that is a printable character - arrow keys have no effect). Furthermore, this extra character then gets shunted down the expanded string and appears embedded towards the end. So you need to locate this extraneous character, manually delete it, then manually delete the trigger-word from the very beginning of the expanded text.

I haven’t experienced this behaviour anywhere else. I’ve used the codeanywhere IDE and had no issues there.

I submitted this error to Cloud9 and they suggested I ask one of you devs to reproduce it in their editor demo - https://ace.c9.io/build/kitchen-sink.html. Do you see this behaviour here?

Thanks in advance for any attention on this issue.