Commit Graph

6063 Commits

Author SHA1 Message Date
Nathan Sobo
e1b8680e1c Move pane focus handling tests to pane-element-spec 2015-09-18 20:48:44 -06:00
Nathan Sobo
b053e95aa7 Move tests of adding/removing pane active class to pane-element-spec 2015-09-18 20:48:43 -06:00
Nathan Sobo
fec21165d0 Move pane focus transfer test to pane-container-element-spec 2015-09-18 20:48:43 -06:00
Nathan Sobo
4f3db6a271 Remove some tests for outdated pane behaviors 2015-09-18 20:48:43 -06:00
Nathan Sobo
60670b9c3c Move pane item removal specs to pane-element-spec 2015-09-18 20:48:43 -06:00
Nathan Sobo
dfda3adb96 Move view-level specs for active pane item changing to pane-element-spec 2015-09-18 20:48:43 -06:00
Nathan Sobo
6fec11780b 🔫 WorkspaceView shim 2015-09-18 20:48:43 -06:00
Nathan Sobo
131e2a29b4 🔫 workspace-view-spec 2015-09-18 20:48:43 -06:00
Nathan Sobo
4d231b2a24 Move panel containers specs to workspace-element-spec 2015-09-18 20:48:43 -06:00
Nathan Sobo
ac6a5846b7 Move font styling specs to workspace-element-spec 2015-09-18 20:48:43 -06:00
Nathan Sobo
d3b6454037 Move scrollbar style observation specs to workspace-element-spec 2015-09-18 20:48:42 -06:00
Nathan Sobo
117d1507ab Move ‘core:close’ specs in workspace-view-spec to workspace-spec 2015-09-18 20:48:42 -06:00
Nathan Sobo
7fc04501c9 Remove specs for deprecated WorkspaceView::eachEditorView method 2015-09-18 20:48:42 -06:00
Nathan Sobo
d44f13a51e Test window:toggle-invisibles in workspace-element-spec, more simply 2015-09-18 20:48:42 -06:00
Nathan Sobo
0ba313a6f2 Move workspace focus specs to workspace-element-spec 2015-09-18 20:48:42 -06:00
Nathan Sobo
e6c7ce215b Move keymap wiring specs from workspace-view-spec to window-spec 2015-09-18 20:48:42 -06:00
Nathan Sobo
f5c7061257 Move workspace serialization specs to workspace-spec 2015-09-18 20:48:39 -06:00
Nathan Sobo
ccfa36d1b1 Preserve all event properties when dispatching commands
Fixes https://github.com/atom/vim-mode/issues/863
Fixes https://github.com/atom/atom/issues/8845

---

Re-applying this commit because it was accidentally merged from stable to
beta and master with `--strategy ours` (discarding the changes) instead of
`-X ours` (discarding conflicting changes).

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-09-18 15:53:44 -07:00
Antonio Scandurra
7fafdbb6ab Implement ::getStateForMeasurements(screenRows) 2015-09-18 14:00:04 +02:00
Ivan Zuzak
bed902e7df Just test everything with soft wrap on 2015-09-18 12:42:06 +02:00
Antonio Scandurra
03507f7be3 Revert previous commit 2015-09-18 12:25:01 +02:00
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
96d4bdb173 Revert changes to the presenter and the component 2015-09-18 10:35:29 +02:00
Antonio Scandurra
bf7d7e0d2a Improve LinesYardstick design
We have shifted the responsibility of orchestrating state updates and
measurements to the yardstick. The presenter still needs to be updated to make
use of these new capabilities.
2015-09-18 10:17:55 +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
Nathan Sobo
6b66bf7b0a Fix use of _atomModuleCache in getNativeModuleDependencyPaths
Previously, we weren’t converting the relative path from the module
cache and the test wasn’t strong enough to detect this fact.
2015-09-17 17:21:52 -06:00
Nathan Sobo
0717c1d377 Merge PR #8826 into stable 2015-09-17 16:29:03 -06:00
Ivan Zuzak
7e1a295f07 Add method for cutting text to the end of the buffer line 2015-09-17 19:34:53 +02:00
Chen Shen
20dcdf77a4 update 2015-09-17 09:52:00 -07:00
Chen Shen
02457990f1 add ignored files 2015-09-17 09:23:09 -07:00
Chen Shen
7ea141b376 add 2015-09-17 09:09:57 -07:00
Antonio Scandurra
12b926c82a 🔥 2015-09-17 17:15:51 +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
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
2542a8d603 Integrate LinesYardstick with TextEditorComponent 2015-09-16 12:32:26 +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
29846d0a51 Add LinesYardstick
...and create a MockLineNodesProvider for testing purposes
2015-09-15 18:41:41 +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
a6c13d097a Render the longest screen row without painting it 2015-09-15 16:53:55 +02:00
Antonio Scandurra
8e06e06899 Compute the state for the longest line on screen 2015-09-15 16:32:42 +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
028f57aefb 💚 2015-09-15 11:35:30 +02:00
Antonio Scandurra
c7d4871453 Merge pull request #8730 from atom/as-faster-style-recalculation
Faster Style Recalculations
2015-09-15 11:25:10 +02:00
Antonio Scandurra
c8c69a99b9 Release free nodes after destroying TextEditor 2015-09-15 10:36:47 +02:00