[{"data":1,"prerenderedAt":460},["ShallowReactive",2],{"project-5114055":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":35,"aspects":36,"strip":47,"post_text":48,"what":49,"said":89,"maker_in_thread":228,"shape":240,"grid":244,"attempts":423,"same_week":424,"maker_shows":296,"maker_hidden":452,"reader_version":453,"card":454},"5114055","Behave.js","Coding Behaviors for textarea elements","title","Show HN: Behave.js – Coding Behaviors for textarea elements","http:\u002F\u002Fjakiestfu.github.com\u002FBehave.js\u002F","jakiestfu.github.com","jakiestfu",1359090103,2013,180,72,85,1739,5,"notable","languages","javascript library","library",[24,25,26,27,28],"textarea","javascript","auto indent","code editor","autocomplete","mixed",0.015,{"positive":32,"neutral":33,"mixed":34,"critical":34},7,20,8,43,{"design":37,"idea":40,"execution":42,"docs":45,"performance":46},{"positive":38,"critical":39},2,0,{"positive":41,"critical":39},3,{"positive":43,"critical":44},1,6,{"positive":39,"critical":39},{"positive":39,"critical":38},[41,39,39,41,39,18,18,41,41,43,41,41,18,18,41,41,41,41,41,41,41,43,43,18,41,41,43,39,41,18,41,39,41,41,41,43,41,43,43,18],null,{"problem":50,"audience":48,"pricing":48,"motivation":48,"time_to_build":48,"stack":66,"openness":86,"stage":87,"team_size":88},{"value":51,"source":52,"evidence":53},"Plain textareas lack editor behaviors like auto-indent, tab handling and bracket auto-pairing","commenter",[54,58,62],{"id":55,"by":56,"text":57},"5114146","Permit","I like this a lot. I really wish they'd add the tab functionality to Stack Overflow. I can't count the times I've tabbed out of the text box there.",{"id":59,"by":60,"text":61},"5114354","evincarofautumn","You should have the option to make backspace delete a full level of indentation, if soft tabs are on.",{"id":63,"by":64,"text":65},"5120272","Ygg2","Auto expanding for ', [, { (, \" is great, but this should be configurable on a language basis. In other languages it's not uncommon to have things like `http:\u002F\u002Furi.com` or…",[67,78],{"value":68,"source":52,"evidence":69},"JavaScript",[70,74],{"id":71,"by":72,"text":73},"5114537","thewarrior","Really good work . Was reading your code to catch up on some javascript , but didn't understand what you're doing here . Surely this is a bug ?…",{"id":75,"by":76,"text":77},"5114305","tantalor","On further inspection, it must be a constructor. The second case is incorrect. The function assigns to \"this\", which would be undefined in strict mode, or the global object. Very…",{"value":79,"source":80,"evidence":81},"jQuery not required","inferred",[82],{"id":83,"by":84,"text":85},"5116019","WickyNilliams","Question: What does this do for accessibility if navigating with a keyboard? How would one genuinely tab out of the field? Suggestion: Big notice somewhere saying \"NO JQUERY…","open_source","beta","unknown",{"praise":90,"objections":114,"requests":153,"questions":191,"alternatives":202},[91,110],{"value":92,"source":52,"evidence":93},"Simple, elegant, lightweight alternative to heavy editors like Ace",[94,98,102,106],{"id":95,"by":96,"text":97},"5114549","BOSH","I like it very much. Simple and elegant solution. Will try to find a use for this lib.",{"id":99,"by":100,"text":101},"5114951","TomasSedovic","Thanks so much for the LDT link, it's exactly what I was looking for (and thought impossible). I can't speak for the GP, but my problem with ACE et al. is that they replace the…",{"id":103,"by":104,"text":105},"5116611","bink-lynch","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),…",{"id":107,"by":108,"text":109},"5114231","nbashaw","This is awesome. I'm using http:\u002F\u002Face.ajax.org\u002F right now in production and it's a huge heavyweight pain (but still the best thing out there). If only this had syntax…",{"value":111,"source":52,"evidence":112},"Useful for Stack Overflow style tab handling",[113],{"id":55,"by":56,"text":57},[115,130,142],{"value":116,"source":52,"evidence":117},"Infinite loop crashes on certain bracket and newline input",[118,122,126],{"id":119,"by":120,"text":121},"5114568","user24","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…",{"id":123,"by":124,"text":125},"5116186","chewmieser","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 ']',…",{"id":127,"by":128,"text":129},"5115458","solarbunny","Try to type in: {}]]] and press Enter...",{"value":131,"source":52,"evidence":132},"Undo and indentation behave incorrectly",[133,137,138],{"id":134,"by":135,"text":136},"5114870","apathetic","When you undo, it's undoing it very weirdly.",{"id":59,"by":60,"text":61},{"id":139,"by":140,"text":141},"5123859","MasterScrat","Nope (Chrome 24.0.1312.56 on OS X 10.6.8).",{"value":143,"source":52,"evidence":144},"No syntax highlighting",[145,149],{"id":146,"by":147,"text":148},"5114364","hilti","Great landing page. Just add syntax highlighting and it'll be perfect.",{"id":150,"by":151,"text":152},"5114653","justplay","It is cool but it will more cool if you add highlighting.",[154,163,173,177,184],{"value":155,"source":52,"evidence":156},"Syntax highlighting",[157,158,159],{"id":146,"by":147,"text":148},{"id":150,"by":151,"text":152},{"id":160,"by":161,"text":162},"5114797","Narretz","Ideally, highlighting should be pluggable into the textarea from another source.",{"value":164,"source":52,"evidence":165},"Autocomplete and hover hints",[166,170],{"id":167,"by":168,"text":169},"5114206","est","Now please add mouse-hover hint box, dropdown list for auto completion and I am sold",{"id":171,"by":168,"text":172},"5114290","Okay, suppose this line: ``` result = someFunction(param1, param2='ok') ``` mouse over to `someFunction`, a small box shows brief description of function, what it does, how many…",{"value":174,"source":52,"evidence":175},"Configurable auto-expansion per language",[176],{"id":63,"by":64,"text":65},{"value":178,"source":52,"evidence":179},"Keep indentation on new lines and backspace deleting an indent level",[180,181],{"id":59,"by":60,"text":61},{"id":182,"by":140,"text":183},"5114766","Keeping the indentation level on new lines would be nice too.",{"value":185,"source":52,"evidence":186},"Elastic tabstops",[187],{"id":188,"by":189,"text":190},"5114725","DoubleCluster","Ohh... shiny! Can we also get Elastic tabstops? http:\u002F\u002Fnickgravgaard.com\u002Felastictabstops\u002F",[192,198],{"value":193,"source":52,"evidence":194},"Is the constructor called with new?",[195],{"id":196,"by":76,"text":197},"5114286","> var editor = new Behave({ > var editor = Behave({ Is it a constructor or not?",{"value":199,"source":52,"evidence":200},"Does it work with keyboard navigation and accessibility?",[201],{"id":83,"by":84,"text":85},[203,211,218,224],{"value":204,"source":52,"evidence":205},"Ace editor",[206,207],{"id":107,"by":108,"text":109},{"id":208,"by":209,"text":210},"5114381","chr1","Maybe you'll like http:\u002F\u002Fkueblc.github.com\u002FLDT\u002Fexamples\u002Fgeneric.html? but if you fix undo, add bracket matching, etc it will become huge too. Also wanted to ask why do you think…",{"value":212,"source":52,"evidence":213},"CodeMirror",[214],{"id":215,"by":216,"text":217},"5116806","thousande","Use CodeMirror (http:\u002F\u002Fcodemirror.net\u002F) for this, or Ace",{"value":219,"source":52,"evidence":220},"Sublime Text 2",[221],{"id":222,"by":104,"text":223},"5116501","Have you looked at Sublime Text 2? http:\u002F\u002Fwww.sublimetext.com\u002F2 I switched about a year ago and I am very pleased. EDIT: This shows it off better: http:\u002F\u002Fwww.sublimetext.com\u002F",{"value":225,"source":52,"evidence":226},"LDT",[227],{"id":208,"by":209,"text":210},{"comments":229,"answered":38,"key":230},12,[231,234,237],{"id":232,"text":233},"5114469","Yes, I will implement that tomorrow, thank you",{"id":235,"text":236},"5116372","Indentation levels should be converting line to line, is it not for you?",{"id":238,"text":239},"5116406","The option to disable tabs behavior is there. When to do that is up to you;]",{"commenters":241,"max_depth":44,"maker_replies":229,"first_comment_mins":242,"lifespan_hours":243},46,33,84,[245,249,253,257,260,262,264,268,271,273,277,280,282,284,286,287,289,291,293,294,295,297,300,304,306,309,310,313,315,317,320,323,325,329,332,334,336,338,341,345,346,348,350,353,355,358,360,361,364,367,369,373,376,378,379,381,384,385,387,388,390,391,393,394,398,401,405,407,411,413,416,418],[246,39,41,247,248,39],"5114187","project\u002Fmixed\u002Fdesign","danso",[250,39,39,251,252,39],"5114203","other\u002Fneutral\u002Fnone","codewright",[254,39,39,255,256,39],"5115090","commenter\u002Fneutral\u002Fnone","aarondf",[258,39,39,255,259,39],"5115201","jgj",[261,39,39,255,248,39],"5115808",[263,39,39,255,252,39],"5115893",[265,39,41,266,267,39],"5114704","project\u002Fneutral\u002Fidea","gojomo",[269,39,39,251,270,39],"5114753","afandian",[272,39,39,255,267,39],"5114813",[274,39,18,275,276,39],"5115015","project\u002Fpositive\u002Fdesign","tripzilch",[278,39,39,251,279,39],"5115230","the1",[55,43,18,281,56,39],"project\u002Fpositive\u002Fidea",[59,38,41,283,60,39],"project\u002Fneutral\u002Fexecution",[232,38,39,285,11,43],"maker\u002Fneutral\u002Fnone",[182,38,41,283,140,39],[235,38,39,288,11,43],"maker\u002Fneutral\u002Fexecution",[139,38,43,290,140,39],"project\u002Fcritical\u002Fexecution",[107,41,41,292,108,39],"project\u002Fmixed\u002Fidea",[208,41,41,283,209,39],[99,41,39,255,100,39],[71,296,41,283,72,39],4,[298,18,18,281,299,39],"5114379","evoxed",[301,44,41,302,303,39],"5114298","project\u002Fneutral\u002Fdesign","fidz",[305,44,39,251,76,39],"5114308",[307,32,18,281,308,39],"5114936","jamiebicknell",[238,32,39,285,11,43],[311,34,41,247,312,39],"5114401","valgaze",[314,34,41,302,76,39],"5114430",[316,34,41,302,108,39],"5114460",[83,318,41,319,84,39],9,"project\u002Fneutral\u002Fdocs",[321,322,39,285,11,43],"5114480",10,[63,324,41,266,64,39],11,[326,229,41,327,328,39],"5115256","project\u002Fmixed\u002Fnone","kalms",[103,330,41,331,104,39],13,"project\u002Fmixed\u002Fexecution",[333,330,39,288,11,43],"5117630",[335,330,41,283,104,39],"5121066",[146,337,41,247,147,39],14,[119,339,43,340,120,39],15,"project\u002Fcritical\u002Fperformance",[342,339,41,343,344,39],"5114622","project\u002Fneutral\u002Fperformance","axelfreeman",[123,339,43,340,124,39],[347,339,39,285,11,43],"5117659",[349,339,39,285,11,43],"5117598",[351,339,18,352,120,39],"5129171","maker\u002Fpositive\u002Fexecution",[188,354,41,266,189,39],16,[356,354,39,357,11,43],"5116386","maker\u002Fneutral\u002Fidea",[196,359,41,319,76,39],17,[75,359,43,290,76,39],[362,359,39,251,363,39],"5114322","state",[365,359,39,251,366,39],"5114547","jeffmess",[368,359,39,288,11,43],"5114353",[370,371,39,251,372,39],"5114228",18,"ctruman",[374,375,41,283,76,39],"5114416",19,[377,375,39,288,11,43],"5114473",[95,33,18,275,96,39],[167,380,41,266,168,39],21,[382,380,39,251,383,39],"5114213","visarga",[222,380,39,251,104,39],[386,380,39,357,11,43],"5114217",[171,380,41,266,168,39],[150,389,41,292,151,39],22,[160,389,41,302,161,39],[392,389,41,302,151,39],"5114899",[215,389,41,266,216,39],[395,396,43,290,397,39],"5114701",23,"culshaw",[399,396,39,400,104,39],"5116565","commenter\u002Fneutral\u002Fexecution",[402,403,41,331,404,39],"5114723",24,"thomasfl",[134,406,43,290,135,39],25,[408,409,39,251,410,39],"5114852",26,"swah",[127,412,43,290,128,39],27,[414,412,43,290,415,39],"5115468","wheaties",[417,412,39,288,11,43],"5116383",[419,420,18,421,422,39],"5114733",28,"maker\u002Fpositive\u002Fnone","Inversechi",[],[425,430,434,439,443,447],{"id":426,"name":427,"points":428,"category":429},"5120301","Vinepeek",286,"consumer_social",{"id":431,"name":432,"points":428,"category":433},"5127400","My Weekend Hack","learning_science",{"id":435,"name":436,"points":437,"category":438},"5137028","Phosphor",155,"dev_tools",{"id":440,"name":441,"points":442,"category":429},"5120444","SplinterNet",153,{"id":444,"name":445,"points":446,"category":429},"5120578","Forking Recipes",134,{"id":448,"name":449,"points":450,"category":451},"5132239","Domainmasher",113,"productivity",false,"v2",{"id":455,"name":5,"line":6,"ai":452,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":456,"top":18,"kw":457,"maker":11,"domain":10,"tier":19,"attempts":39,"strip":458,"url":9,"mix":459,"praise":92,"objection":116,"sub":21},5114055,0.02,[24,25,26,27,28],"3003055331335533333331153310353033313115",[32,33,34,34],1793990890148]