This is great! I removed Ace because it was too heavy for my purpose. Indent Issue: Type in at least 3 lines, highlight the middle lines using shift+down-arrow, tab(indent), notice the line below the highlighted lines indents too.
Show HN: Behave.js – Coding Behaviors for textarea elements
71–76 of 76 posts
Re: Show HN: Behave.js – Coding Behaviors for textarea elements
#72It absolutely crashed Firefox 18.0.1 under Mac. I typed hgjj]{return}{return}{return}{return} and it just beachballed. I had to force quit the browser. Happened the second time I tried it too.
Chromium 24.0.1302.0 (162733) on OS X 10.8.2: Same issue as above, although I just had to close out the tab instead of forcing the browser to close. The issue is with the ']', and ONLY after I hit the return key. The entire page becomes unresponsive afterwards.
Re: Show HN: Behave.js – Coding Behaviors for textarea elements
#73Re: Show HN: Behave.js – Coding Behaviors for textarea elements
#74This is great! I removed Ace because it was too heavy for my purpose. Indent Issue: Type in at least 3 lines, highlight the middle lines using shift+down-arrow, tab(indent), notice the line below the highlighted lines indents too.
I see what you're talking about. Coda and Aptana both do the same thing, and the reason is you're selecting the \n new line character when you do shit+down-arrow. Try shift + down-arrow + left-arrow
Re: Show HN: Behave.js – Coding Behaviors for textarea elements
#75Re: Show HN: Behave.js – Coding Behaviors for textarea elements
#76It absolutely crashed Firefox 18.0.1 under Mac. I typed hgjj]{return}{return}{return}{return} and it just beachballed. I had to force quit the browser. Happened the second time I tried it too.
Thank you for catching this, there are multiple instances where the same bug causes an infinite loop, muahaha. Will fix soon