Antonio Scandurra
72b017b01a
WIP: Start on requiring packages
2016-11-16 17:16:36 +01:00
Antonio Scandurra
e94ea55d90
🎨
2016-10-07 10:40:41 +02:00
Antonio Scandurra
9c5bddaa69
Reimplement block decorations without the shadow DOM
2016-10-07 10:40:41 +02:00
Antonio Scandurra
56a6510b25
Start on removing shadow DOM
2016-10-07 10:40:41 +02:00
Indrek Ardel
55f3311c01
Remove unused variables
2016-09-26 20:52:13 +03:00
Max Brunsfeld
36ecbd4ca4
🔥 Unused grammar registry parameter in TextEditorComponent
2016-07-28 10:06:42 -07:00
Max Brunsfeld
738a2b90dc
🔥 useShadowDOM setting
2016-07-28 10:02:16 -07:00
Antonio Scandurra
c8e742809b
Don't set an explicit width for LinesComponent
2016-05-30 15:06:36 +02: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
108513f994
Fix LinesYardstick specs to use the new tagCode-based scope structure
...
Also, remove specs testing RTL behavior. They don’t work as of today,
and I think we need a better approach to handle them, that doesn’t
solely rely on the DOM, but actually takes into account that e.g. (0, 0)
is the rightmost character on a right-to-left string.
2016-04-05 10:47:25 +02:00
Nathan Sobo
b5f9ed2b0e
Fix pixelPositionForScreenPosition
2016-01-13 12:17:01 -07:00
Antonio Scandurra
b03aa4bf40
Merge branch 'master' into as-cjk-soft-wrap
...
# Conflicts:
# spec/display-buffer-spec.coffee
2015-10-16 10:23:44 +02:00
Antonio Scandurra
4766c98bbe
Treat Korean characters as different kinds of chars
2015-10-15 21:02:21 +02:00
Antonio Scandurra
7394cc531c
Measure half width characters
2015-10-15 20:06:38 +02:00
Antonio Scandurra
abf306943a
🐛 Measure latin chars with subpixel font scaling
2015-10-15 18:49:54 +02:00
Antonio Scandurra
4c66341624
Measure double width char widths
2015-10-15 18:08:35 +02: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
61892f932b
Use cached text nodes instead of NodeIterator
2015-10-06 10:43:32 +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
eb80a393a8
Merge branch 'master' into as-double-reflow-measurements
2015-09-21 11:17:05 +02:00
Antonio Scandurra
13f82280a0
💚 Fix presenter specs
2015-09-21 11:05:35 +02:00
Antonio Scandurra
4318de43c9
wip
2015-09-20 21:02:25 +02:00
Antonio Scandurra
af41b71cd8
Redesign LinesYardstick
2015-09-20 12:10:09 +02:00
Nathan Sobo
2fdd40bd05
Remove SpacePen from lines-component
2015-09-18 20:48:49 -06:00
Antonio Scandurra
91bb8f518d
Merge branch 'master' into as-continuous-reflow
2015-09-17 16:58:37 +02:00
Antonio Scandurra
f86c9b2331
Let TextEditorComponent manage DOMElementPool
2015-09-15 10:58:24 +02:00
Antonio Scandurra
c8c69a99b9
Release free nodes after destroying TextEditor
2015-09-15 10:36:47 +02:00
Antonio Scandurra
f0bc6ca23a
🎨 Some renaming
2015-09-14 20:27:25 +02:00
Antonio Scandurra
ece15b2a24
Recycle tile nodes (and descendants)
2015-09-14 14:48:30 +02:00
Antonio Scandurra
9eed6c7834
Add "Continuous Reflow" mode
2015-09-07 13:25:13 +02:00
Antonio Scandurra
b5c0f5ac0b
Change lines container height based on boundingClientRect
2015-08-26 16:21:51 +02:00
Antonio Scandurra
9a81d2ec62
🐛 Create new stacking context for tiles
...
To create a new stacking context we need to isolate the container div. This
fixes a visual glitch on the wrap-guide whenever there are more than 5 tiles.
2015-07-28 16:00:46 +02:00
Antonio Scandurra
4e412755bf
Put tiles into a separate div
...
So that a new stacking context is created and tiles won’t overlap other
elements, such as cursors or the wrap-guide.
2015-07-27 20:29:02 +02:00
Antonio Scandurra
a7ff49ebaa
🎨
2015-06-13 17:36:20 +02:00
Antonio Scandurra
e893b5105b
Remove presenter as a dependency where possible
...
Although we have a couple of components which still access it, we
agreed it would have been just better to avoid relying on
`TextEditorPresenter` where possible and use it purposefully in other
places (e.g. `LinesComponent` which needs it to store text
measurements).
/cc: @jssln
2015-06-13 14:18:36 +02:00
Antonio Scandurra
b6049857ed
🎨
2015-06-12 19:00:15 +02:00
Antonio Scandurra
374aaac7b5
Rename to LinesTileComponent
2015-06-12 18:32:40 +02:00
Antonio Scandurra
119f297280
Merge branch 'master' into as-tiled-gutter
...
Conflicts:
src/lines-component.coffee
src/text-editor-presenter.coffee
2015-06-09 11:22:25 +02:00
Antonio Scandurra
cec6959e08
Extend highlights to the full editor width
2015-06-08 18:58:04 +02:00
Antonio Scandurra
da05e1e234
wip
2015-06-05 16:05:30 +02:00
Antonio Scandurra
8abdc67e7e
Revert "Use clientHeight for line-numbers and lines containers"
...
This reverts commit f2bab35f57c05d5a0bb21e9fb02117f802ff278b. It didn't actually
improve performance, nor memory usage, therefore I decided to avoid changing it
for the time being.
2015-06-04 15:19:42 +02:00
Antonio Scandurra
57fd553c69
Use clientHeight for line-numbers and lines containers
2015-06-04 15:18:10 +02:00
Antonio Scandurra
44991f1fb3
Make LineNumberGutterComponent a TiledComponent
2015-06-04 15:17:39 +02:00
Antonio Scandurra
7769c464da
Extract TiledComponent
2015-06-04 15:17:38 +02:00
Antonio Scandurra
c9a159aab3
🔥 Remove unused requires
2015-05-21 11:16:28 +02:00
Antonio Scandurra
1a5e2fe5dd
🎨
2015-05-21 10:48:04 +02:00
Antonio Scandurra
efeb129cff
Rename LinesComponent to TileComponent
2015-05-21 10:47:23 +02:00