Live data from Hacker News

Show HN: Behave.js – Coding Behaviors for textarea elements

jakiestfu.github.com

71–76 of 76 posts

Re: Show HN: Behave.js – Coding Behaviors for textarea elements

#71

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.

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

#72
post #31

It 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.

Fixed!

Re: Show HN: Behave.js – Coding Behaviors for textarea elements

#74

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.

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

True; I am getting my habits from Sublime Text 2 and Eclipse. These don't indent the unhighlighted line below. Guess there are two ways to go :)

Re: Show HN: Behave.js – Coding Behaviors for textarea elements

#75

Earlier quoted context omitted.

Keeping the indentation level on new lines would be nice too.

Indentation levels should be converting line to line, is it not for you?

Nope (Chrome 24.0.1312.56 on OS X 10.6.8).

Re: Show HN: Behave.js – Coding Behaviors for textarea elements

#76
post #31

It 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

sweet. Thanks for fixing.
Post reply on HN