Commit Graph

59 Commits

Author SHA1 Message Date
Max Brunsfeld
36ecbd4ca4 🔥 Unused grammar registry parameter in TextEditorComponent 2016-07-28 10:06:42 -07:00
Antonio Scandurra
f4a31261d0 Delete indent guides code from the presenter and the component
…because we're handling that behavior in `TextEditor` and `DisplayLayer`
now.
2016-05-01 11:48:39 +02:00
Antonio Scandurra
57442781ec Fix bug when positioning cursors after the fold-marker 2016-04-28 13:31:28 +02:00
Antonio Scandurra
e3773f24fc 🔥 Delete obsolete code 2016-04-26 10:05:35 +02:00
Nathan Sobo
99ede51e75 Delete duplicated method 2016-04-08 18:16:28 -06:00
Antonio Scandurra
a532000af4 Handle only buffer coordinates in TokenIterator 2016-04-07 13:39:13 +02:00
Nathan Sobo
bbef4c67c3 Get the TextEditorComponent specs green 2016-04-04 11:21:41 -06:00
Antonio Scandurra
fd960e9a37 Merge branch 'master' into ns-use-display-layers 2016-04-04 15:25:50 +02:00
Antonio Scandurra
34f9ad8710 Add top/bottom ruler before/after a block decoration 2016-03-22 11:20:55 +01:00
Nathan Sobo
d62ef599cd Replace tokens with tagCodes in DisplayLayer.prototype.getScreenLines 2016-03-18 15:57:49 -06:00
Nathan Sobo
1a2f306db3 🚿 Remove commented code 2016-03-18 15:57:03 -06:00
Nathan Sobo
0243a345b7 Merge branch 'master' into ns-use-display-layers 2016-02-09 12:42:57 -07:00
Nathan Sobo
acbacae6d5 Use TokenizedBuffer as a text decoration layer and render tags 2016-01-13 18:23:22 -07:00
Nathan Sobo
8e1a772a24 Replace spaces w/ non-breaking spaces when rendering text nodes 2016-01-13 12:17:01 -07:00
Nathan Sobo
b5f9ed2b0e Fix pixelPositionForScreenPosition 2016-01-13 12:17:01 -07:00
Nathan Sobo
924d880fa8 WIP: Start rendering lines from DisplayLayers 2016-01-13 12:17:01 -07:00
Antonio Scandurra
6e5c3e0212 Insert following block decorations into the DOM 2016-01-12 12:51:29 -07:00
Antonio Scandurra
f2a0221519 Make sure block decorations are always in the right spot 2015-12-03 18:16:10 +01:00
Antonio Scandurra
cc4344735e 💚 Fix specs 2015-12-03 17:11:38 +01:00
Antonio Scandurra
14b126ace0 🎨 2015-12-03 16:06:36 +01:00
Antonio Scandurra
f22bd5d0ae 🐎 Use ids instead of classes 2015-12-03 11:52:10 +01:00
Antonio Scandurra
d24290357a Implement block decorations in the components land 2015-12-01 13:36:23 +01:00
Nathan Sobo
4c51d29868 Merge remote-tracking branch 'origin/master' into ns-alternative-test-env 2015-10-07 16:10:29 -05:00
Antonio Scandurra
534f038631 Don't use atom globals in TokenIterator 2015-10-07 15:25:02 -05:00
Antonio Scandurra
eba18092fb Don't use atom globals in LinesComponent 2015-10-07 15:25:02 -05:00
Antonio Scandurra
175c21f47e Cache built text nodes 2015-10-06 10:35:01 +02:00
Antonio Scandurra
dede68011f Recycle text nodes in lines 2015-10-06 10:18:05 +02:00
Antonio Scandurra
c79cc87172 Prepare DOMElementPool to account for text nodes 2015-10-06 10:02:04 +02:00
Antonio Scandurra
56488748db 🔥 Remove dead code 2015-10-05 14:37:22 +02:00
Antonio Scandurra
72093da1a7 🔥 🎉 Remove scoped character width 2015-09-29 17:32:20 +02:00
Antonio Scandurra
6f7b98178c Fix linting errors 2015-09-28 15:40:43 +02:00
Antonio Scandurra
af41b71cd8 Redesign LinesYardstick 2015-09-20 12:10:09 +02:00
Antonio Scandurra
d78c166d6b Merge branch 'master' into as-double-reflow-measurements 2015-09-17 11:32:26 +02:00
Antonio Scandurra
42e58f1dd3 💚 Use tokenizedLine.id to refer to lines 2015-09-17 11:10:32 +02:00
Antonio Scandurra
8b52538213 Pool highlight elements 2015-09-17 10:35:20 +02:00
Antonio Scandurra
bae4d7d336 🔥 2015-09-16 17:59:04 +02:00
Antonio Scandurra
a6c13d097a Render the longest screen row without painting it 2015-09-15 16:53:55 +02:00
Antonio Scandurra
ad83a03440 Merge branch 'master' into as-recycle-nodes
# Conflicts:
#	src/line-numbers-tile-component.coffee
#	src/lines-tile-component.coffee
2015-09-15 11:50:54 +02:00
Antonio Scandurra
ce4281821d Replace insertAdjacentText with textContent 2015-09-14 20:31:21 +02:00
Antonio Scandurra
f0bc6ca23a 🎨 Some renaming 2015-09-14 20:27:25 +02:00
Antonio Scandurra
4349b152d5 🎨 2015-09-14 18:22:31 +02:00
Antonio Scandurra
f52e000bec 🔥 Remove unused code 2015-09-14 18:14:12 +02:00
Antonio Scandurra
6b2e7a6765 🎨 2015-09-14 17:36:45 +02:00
Antonio Scandurra
ece15b2a24 Recycle tile nodes (and descendants) 2015-09-14 14:48:30 +02:00
Antonio Scandurra
ccb8623a88 🎨 Extract a buildElement helper function 2015-09-14 12:01:33 +02:00
Antonio Scandurra
9af7795a7e Avoid skipping null bytes
Now that we build DOM nodes via `document.createElement`, there's no need to
skip null byte characters (nor to avoid to pair them) because the browser will
keep them in the document (unlike `innerHTML`).
2015-09-14 11:45:29 +02:00
Antonio Scandurra
a44f7116a2 Start building nodes via document.createElement 2015-09-14 11:34:13 +02:00
Antonio Scandurra
de0b61393c Minimize allocations 2015-09-14 10:57:59 +02:00
Antonio Scandurra
246476f759 🎨 2015-09-09 14:26:47 +02:00
Antonio Scandurra
b997b8c189 🔥 Remove line node style.top 2015-09-08 18:52:25 +02:00