Commit Graph

25582 Commits

Author SHA1 Message Date
Antonio Scandurra
2ffa7da59e 🐎 Remove rows to measure in the next frame 2015-10-02 12:38:19 +02:00
Antonio Scandurra
33523751ea Thoroughly test LinesYardstick interactions 2015-10-01 18:34:41 +02:00
Antonio Scandurra
e1c3d2ef57 🐎 Avoid recomputing state for lines twice 2015-10-01 17:42:44 +02:00
Antonio Scandurra
63ce6cae03 🐛 Fix an issue where yardstick cache wasn't being emptied 2015-10-01 14:20:53 +02:00
Antonio Scandurra
b16d2a59f2 💚 2015-10-01 13:58:13 +02:00
Antonio Scandurra
b6a0db916f 🐛 Fix wrong pixel to screen position conversion 2015-10-01 13:05:50 +02:00
Antonio Scandurra
e94ff33d83 🐛 Exclude invalid tiles 2015-10-01 12:58:02 +02:00
Antonio Scandurra
116f92d816 🐎 Mark soft-wrapped lines in TokenizedLine 2015-10-01 11:15:55 +02:00
Antonio Scandurra
243dea1a1c 🎨 Move pixel-related code to LinesYardstick
* 🔥 Remove useless 'scoped char width' methods
2015-10-01 11:03:25 +02:00
Antonio Scandurra
58219a243e Slightly more precise conversion to screen positions 2015-09-30 18:20:48 +02:00
Antonio Scandurra
2b6973d4b1 Fix a 🐛 where some invalid lines were being measured 2015-09-30 17:44:43 +02:00
Antonio Scandurra
bca3be32e6 Avoid to call ::prepareScreenRows explicitly 2015-09-30 16:23:49 +02:00
Antonio Scandurra
bb709f58d9 🐎 Cache pixel positions 2015-09-30 16:15:49 +02:00
Antonio Scandurra
59d6974f89 🐎 Remove AcceptFilter
...so that Chrome doesn't need to switch to user space when iterating over line
nodes.
2015-09-30 16:03:36 +02:00
Antonio Scandurra
0edb69047b 🐛 Move accidentally leftover statement 2015-09-30 15:39:37 +02:00
Antonio Scandurra
496120a684 🐎 Compute lines state only once 2015-09-30 15:33:09 +02:00
Antonio Scandurra
e43e1ed22e Merge branch 'master' into as-double-reflow-measurements
# Conflicts:
#	src/text-editor-presenter.coffee
2015-09-30 12:40:55 +02:00
Antonio Scandurra
214f42b2e7 🎨 Unify ::updateScroll... and ::commitPendingScroll... 2015-09-30 12:32:07 +02:00
Antonio Scandurra
8929760e01 Merge pull request #8985 from atom/as-fix-deprecations
Fix deprecations
2015-09-30 11:31:19 +02:00
Antonio Scandurra
c1ef87ac8b 🎨 2015-09-30 10:35:19 +02:00
Antonio Scandurra
8bed86f020 ⬆️ wrap-guide 2015-09-30 10:32:15 +02:00
Antonio Scandurra
df69aa7d93 ⬆️ find-and-replace 2015-09-30 10:27:28 +02:00
Antonio Scandurra
e68aab10ac ⬆️ symbols-view 2015-09-30 10:24:56 +02:00
Antonio Scandurra
0f8041c611 Merge branch 'master' into as-fix-deprecations 2015-09-30 10:23:38 +02:00
Antonio Scandurra
5cb63c8b90 Add feature flag to detect logical display buffer 2015-09-30 10:16:47 +02:00
Antonio Scandurra
cc98cab917 Better rows per page calculation 2015-09-30 09:17:43 +02:00
Antonio Scandurra
5cfc5b67ae Allow listening for TextEditorElement events before attaching it
Fixes atom/wrap-guide#43

/cc: @maxbrunsfeld
2015-09-30 09:09:33 +02:00
Wliu
c905883195 ⬆️ settings-view@0.224.0 2015-09-29 21:10:33 -04:00
Max Brunsfeld
17d962f428 Merge pull request #8983 from atom/mb-use-key-path-helpers
Use key-path-helpers module instead of underscore-plus
2015-09-29 09:55:26 -07:00
Antonio Scandurra
698a5ac421 💚 2015-09-29 17:37:43 +02:00
Antonio Scandurra
72093da1a7 🔥 🎉 Remove scoped character width 2015-09-29 17:32:20 +02:00
Antonio Scandurra
123594dbbf Implement ::screenPositionForPixelPosition in LinesYardstick 2015-09-29 17:13:49 +02:00
Antonio Scandurra
5dcfea0a82 💚 Fix TextEditorPresenter specs 2015-09-29 16:11:59 +02:00
Antonio Scandurra
5270a1da1c Use LinesYardstick in pixelPositionForScreenPosition 2015-09-29 15:44:05 +02:00
Antonio Scandurra
e6a72b794c Temporarily disable caching from yardstick
This will enable us to avoid worrying about cache invalidation while integrating
`LinesYardstick` into `TextEditorPresenter`.
2015-09-29 15:16:51 +02:00
Antonio Scandurra
40e5f264c5 Pass LinesYardstick to TextEditorPresenter 2015-09-29 11:47:46 +02:00
Antonio Scandurra
b481250757 Always render the longest screen row 2015-09-29 11:41:44 +02:00
Antonio Scandurra
a8bb011f89 Split presenter state in pre/post measurement 2015-09-29 11:26:11 +02:00
Antonio Scandurra
4386910e59 Decouple pending logical scroll positions 2015-09-29 10:49:28 +02:00
Antonio Scandurra
49577313e4 Remove yardstick to start with a clean slate 2015-09-29 10:25:54 +02:00
simurai
cd4d6574d3 ⬆️ spell-check@v0.61.0 2015-09-29 16:26:54 +09:00
Antonio Scandurra
a49fe3140f Merge branch 'master' into as-double-reflow-measurements 2015-09-29 09:09:54 +02:00
simurai
bd4d468562 ⬆️ base16-tomorrow-dark/light-theme@v1.0.0 🎉 2015-09-29 16:08:33 +09:00
Antonio Scandurra
550a1c7922 Fail on Travis when deprecated methods are used 2015-09-29 08:52:03 +02:00
Thomas Johansen
6166c81e4c Merge pull request #8972 from atom/tj-fix-deprecated-reference-in-docs
Update reference to deprecated method Project::getRepo
2015-09-29 08:41:15 +02:00
Antonio Scandurra
f877f3695d Revert "Temporarily un-deprecate TextEditor methods"
This reverts commit 8fb4e887df.
2015-09-29 08:25:51 +02:00
Antonio Scandurra
e648d880ed Manually set rows per page in the model 2015-09-29 08:24:28 +02:00
Max Brunsfeld
d55398b77b Use key-path-helpers module instead of underscore-plus 2015-09-28 17:27:15 -07:00
Max Brunsfeld
67af264c0d ⬆️ metrics 2015-09-28 16:39:53 -07:00
Max Brunsfeld
8fb4e887df Temporarily un-deprecate TextEditor methods 2015-09-28 10:30:01 -07:00