Kevin Sawicki
227454e27e
Remove ### style visibility comments
2014-02-06 10:40:45 -08:00
Kevin Sawicki
932a792289
Remove Private: prefix
2014-02-06 10:02:53 -08:00
Ben Ogle
b959fc0a6a
use @
2013-12-16 15:46:07 -08:00
Ben Ogle
77b5fd47ca
Dont re-atomicize atomic tokens.
...
Fixes #1318
2013-12-16 15:34:27 -08:00
Kevin Sawicki
365d69a19c
Add missing s to invisible
2013-12-06 08:26:59 -08:00
Kevin Sawicki
776b267396
💄 Correct indent
2013-12-06 08:26:59 -08:00
Kevin Sawicki
77e4b7f90f
Use value ivar when invisible.tab is falsy
2013-12-06 08:26:59 -08:00
Kevin Sawicki
32d301ef34
typo: invisibles not invisible
2013-12-06 08:26:59 -08:00
Kevin Sawicki & Nathan Sobo
7ae432fad5
Place entire hard tab value inside span
...
Previously only the first character was included in the span.
2013-12-06 08:26:59 -08:00
probablycorey
d21a5a6836
Use string concatenation instead of array concatenation
2013-10-21 15:17:41 -07:00
probablycorey
02dd79feeb
Use module variable naming conventions
2013-10-18 15:36:25 -07:00
probablycorey
ff5ee45dc7
Fix return value for getValueAsHTML
2013-10-18 13:53:11 -07:00
probablycorey
fd062a7c4f
Split long spans into multiple spans
...
If a span has more than 2^16 chars and has the style `white-space: pre` Chrome
won't render it.
2013-10-18 11:44:56 -07:00
Kevin Sawicki
216a5e61fd
Update underscore-extensions requires
2013-10-15 13:50:16 -07:00
Ben Ogle
bd8c14355c
Move regexes out into variables
2013-10-07 10:28:12 -07:00
Ben Ogle
1a6884ff71
Remove the ALL_CAPS vars replace with CapCamelCase
2013-10-07 10:28:11 -07:00
Ben Ogle
156b6a9490
Make wrapCharacters -> escapeString. Use a regex.
...
The `htmlForScreenRows` benchmark went from ~3.5 ms to ~2.9ms for a
call to htmlForScreenRows over the entire screen range.
🐎
2013-10-07 10:28:11 -07:00
Ben Ogle
5a772d7078
Move back to the node walker and Range()
...
This is slower than the span compute, but rendering lines without
tons of spans is much faster than with
2013-10-07 10:28:11 -07:00
Ben Ogle
8a3f137519
Speed up token html generation. 20ms -> 6ms
...
Character replace was most of it. Removing regex creation, array
creation and joins seems to reduce the GC pressure. Calling 500 times,
GC spent 100ms less time.
2013-10-07 10:28:10 -07:00
Ben Ogle
914288ab86
Wrap each char in a span; compute left position by measuring each span.
...
This is is faster and simpler than the old method. Running each function
20,000 times yielded these results:
Old: 3750ms
This method: 1523ms
By looking up each char's width in a dict: 29ms
2013-10-07 10:28:08 -07:00
Kevin Sawicki
41fc4f7fe6
Use relative require paths in src/ files
2013-09-20 10:02:20 -07:00
Matt Colyer
8e2777ccc0
Get class visibility correct
2013-08-27 10:16:59 -07:00
Kevin Sawicki
76332c76bd
Flatten src directory
...
* Move src/app to src/
* Move src/stdlib to src/
* Remove src/app and src/stdlib from NODE_PATH
2013-08-19 20:13:57 -07:00