Commit Graph

305 Commits

Author SHA1 Message Date
Antonio Scandurra
b773b60c7b 🐛 Avoid creating a useless extra tile 2015-09-18 12:03:00 +02:00
Antonio Scandurra
96de78f264 🔥 Avoid computing top for line and line numbers 2015-09-18 11:36:18 +02:00
Antonio Scandurra
63db59e9ab Start refactoring the presenter to accommodate LinesYardstick 2015-09-18 11:31:35 +02:00
Antonio Scandurra
96d4bdb173 Revert changes to the presenter and the component 2015-09-18 10:35:29 +02:00
Antonio Scandurra
5a2e4ba2aa Merge branch 'master' into as-double-reflow-measurements
# Conflicts:
#	src/text-editor-presenter.coffee
2015-09-18 09:02:50 +02:00
Antonio Scandurra
3575928cce Move continuous reflow setting into TextEditorElement 2015-09-17 17:14:00 +02:00
Antonio Scandurra
91bb8f518d Merge branch 'master' into as-continuous-reflow 2015-09-17 16:58:37 +02:00
Antonio Scandurra
8a0d029ad1 🎨 Rename to ::onWillNeedMeasurements 2015-09-17 16:34:57 +02:00
Antonio Scandurra
2ad336c649 💚 2015-09-17 16:26:55 +02:00
Antonio Scandurra
751f5920b4 🎨 2015-09-17 10:50:18 +02:00
Antonio Scandurra
bae4d7d336 🔥 2015-09-16 17:59:04 +02:00
Antonio Scandurra
2dd944f3ee Trigger ::onWillMeasure before measuring anything 2015-09-16 12:07:57 +02:00
Antonio Scandurra
2750a384ac 💚 Fix TextEditorPresenter specs
...so that they play nicely with LinesYardstick
2015-09-16 11:33:51 +02:00
Antonio Scandurra
346c7d9b37 Defer state building in TextEditorPresenter 2015-09-15 17:44:31 +02:00
Antonio Scandurra
1cdc7ae5a0 Decouple horizontal dimensions computation from vertical ones
The former needs measurement and, therefore, depends on the latter.
2015-09-15 17:30:47 +02:00
Antonio Scandurra
578b157da0 Differentiate between gutter and lines tiles
...and fix specs as well. 💚
2015-09-15 17:22:22 +02:00
Antonio Scandurra
8e06e06899 Compute the state for the longest line on screen 2015-09-15 16:32:42 +02:00
Antonio Scandurra
4c5101a7e1 🎨 Refactor ::updateTilesState to a composed method 2015-09-15 15:44:06 +02:00
Antonio Scandurra
326a035835 🐎 Decrease tile size to make finer grained updates 2015-09-10 16:19:33 +02:00
Antonio Scandurra
fe039a0f3c 💚 2015-09-09 13:31:34 +02:00
Antonio Scandurra
86815f5be4 🐎 Remove inline styles for line numbers 2015-09-08 19:30:44 +02:00
Antonio Scandurra
9df25e45ae Reflow only focused editors 2015-09-07 13:40:23 +02:00
Antonio Scandurra
9eed6c7834 Add "Continuous Reflow" mode 2015-09-07 13:25:13 +02:00
Antonio Scandurra
0d248e0c5b Merge pull request #8500 from natthu/master
Fix a bug with refreshing the gutter UI.
2015-08-31 14:24:12 +02:00
simurai
ff93fdf617 Merge pull request #8537 from atom/as-gutter-z-index
Gutter z-index
2015-08-28 17:31:58 +09:00
Antonio Scandurra
fa28aef2b5 Put a decreasing z-index on line numbers 2015-08-27 12:47:43 +02:00
Antonio Scandurra
9ea62673d2 Put a decreasing z-index on line-numbers tiles 2015-08-27 12:15:55 +02:00
Antonio Scandurra
423c3d945e 🐎 Remove redundant calls to screen conversion methods 2015-08-27 11:37:23 +02:00
Antonio Scandurra
b5c0f5ac0b Change lines container height based on boundingClientRect 2015-08-26 16:21:51 +02:00
Natthu Bharambe
e17a02b8b3 Fix a bug with refreshing the gutter UI. 2015-08-24 16:44:09 -07:00
Antonio Scandurra
5c519036dc 🔥 Avoid emitting event on cursor update 2015-08-20 10:06:15 +02:00
Antonio Scandurra
ea391d017d 🐎 Batch cursor updates 2015-08-19 11:32:16 +02:00
Antonio Scandurra
b00c148de8 Merge pull request #8098 from atom/as-tiles-z-index
Render tiles upper in the stack in front of the ones below
2015-07-28 10:13:20 +02:00
Antonio Scandurra
e374425d7a Render tiles upper in the stack in front of the ones below 2015-07-27 20:16:36 +02:00
Ash Wilson
fa5a1d3361 Respect the class overlay decoration property. 2015-07-27 11:38:01 -04:00
Jessica Lord
21c91b9bf3 Check if cursor is blinking before pausing 2015-07-23 10:51:10 -06:00
Antonio Scandurra
4e4b49eef8 🐛 updateContentDimensions when model changes 2015-07-07 11:28:30 +02:00
Antonio Scandurra
b07f5eb8ad 💚 2015-07-06 16:37:17 +02:00
Antonio Scandurra
251f0293b7 🔥 🐎 Remove leftover update statements 2015-07-06 15:41:20 +02:00
Antonio Scandurra
e190d441ed 🔥 2015-06-13 14:25:50 +02:00
Antonio Scandurra
eb48f06d2f Merge branch 'master' into as-tiled-gutter 2015-06-11 18:38:31 +02:00
Antonio Scandurra
f73435e053 🐛 Delete partially off-screen markers which are empty
* 🔥 Delete old code which was used to support some non-batched
methods in a previous version;
*  Cover “partially off-screen markers which are
empty” scenario, since that code path was not hit by previous specs

Fixes #7183
2015-06-09 21:35:01 +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
047a405290 Merge branch 'master' into as-opaque-tiles 2015-06-06 11:16:31 +02:00
Antonio Scandurra
de766afee7 Start porting specs 2015-06-06 10:18:26 +02:00
Antonio Scandurra
f7b82f2411 🔥 2015-06-06 09:31:38 +02:00
Antonio Scandurra
8319eae0d7 🔥 Delete unused code 2015-06-06 09:29:40 +02:00
Antonio Scandurra
11202ebb69 🎨 2015-06-06 09:15:10 +02:00
Antonio Scandurra
cf70739bf1 Don't clip when building highlight regions 2015-06-06 08:34:28 +02:00