Commit Graph

26825 Commits

Author SHA1 Message Date
Nathan Sobo
f6859210d0 ⬆️ text-buffer 2015-11-09 00:35:31 -07:00
Nathan Sobo
9ee3d53975 Destroy the selections marker layer when editors are destroyed 2015-11-09 00:35:31 -07:00
Nathan Sobo
2f81e5faac Store folds in their own marker layer 2015-11-09 00:35:31 -07:00
Nathan Sobo
29bb1bb31b Add TextEditor-level marker layers and use them for selections 2015-11-09 00:35:31 -07:00
Nathan Sobo
1ee6384332 Add TextEditorMarkerLayer 2015-11-09 00:35:31 -07:00
Nathan Sobo
b1a5b58fa2 Rename Marker to TextEditorMarker to resolve ambiguity w/ TextBuffer API
We expose both kinds of markers in Atom, and the docs were actually
wrong when we refer to Markers from TextBuffer because it linked to the
TextEditor layer’s Marker implementation. This will clarify the
difference.
2015-11-09 00:35:30 -07:00
Nathan Sobo
b508cc6d9f Fix linter error 2015-11-09 00:35:30 -07:00
Nathan Sobo
205b6bf66c ⬆️ text-buffer 2015-11-09 00:35:28 -07:00
Nathan Sobo
78513f4528 Remove duplicated method definition 2015-11-09 00:35:28 -07:00
Nathan Sobo
4139863cee ⬆️ text-buffer (pre-release) 2015-11-09 00:35:28 -07:00
Nathan Sobo
a3ff0ad75a 🎨 Rename method 2015-11-09 00:35:28 -07:00
Nathan Sobo
75d0a0820c Allow properties to be overridden for a single marker in LayerDecoration 2015-11-09 00:35:28 -07:00
Nathan Sobo
acf142863c Add TextEditor::decorateMarkerLayer 2015-11-09 00:35:27 -07:00
Nathan Sobo
20f4c61325 Drop stray sample.js file 2015-11-09 00:35:27 -07:00
Nathan Sobo
3a25fe4975 Remove id from decoration properties
It doesn’t make sense to include this when we’ll reuse the same
properties for multiple decoration instances when decorating marker
layers.
2015-11-09 00:35:27 -07:00
Nathan Sobo
7d22ed788c Test decorateMarker + decorationStateForScreenRowRange 2015-11-09 00:35:27 -07:00
Nathan Sobo
9d6168aac8 Fix gutter spec indentation 2015-11-09 00:35:27 -07:00
Nathan Sobo
d7b0ab9179 Simplify updating of custom gutter decoration state 2015-11-09 00:35:27 -07:00
Nathan Sobo
92ed7c8b15 Don’t return Decoration objects from model to view
Preparation for LayerDecorations, in which individual decoration objects
won’t exist for every marker.
2015-11-09 00:35:27 -07:00
Nathan Sobo
d46091d7e5 Remove dead code 2015-11-09 00:35:27 -07:00
Nathan Sobo
800440d5ca Remove logging 2015-11-09 00:35:27 -07:00
Nathan Sobo
3c98c30b43 Wait for animation frames synchronously after actions
This avoids test flakiness, presumably due to an animation frame firing
before we have a chance to wait due to jasmine’s queueing.
2015-11-09 00:35:26 -07:00
Nathan Sobo
2af010e729 Remove dead test
It tests functionality that no longer matters since we don’t subscribe
to decorations being destroyed in DisplayBuffer
2015-11-09 00:35:26 -07:00
Nathan Sobo
0169c1160e Wait for next DOM update synchronously after change to avoid flakiness 2015-11-09 00:35:26 -07:00
Nathan Sobo
0ac42a12f3 Add waitsForNextDOMUpdate helper function 2015-11-09 00:35:18 -07:00
Nathan Sobo
4b5e4d02eb Use real clock in text-editor-component-spec
This will make it much easier to test asynchronous update logic.
2015-11-09 00:35:18 -07:00
Nathan Sobo
1aefb22789 Add ViewRegistry.prototype.getNextUpdatePromise
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-11-09 00:35:18 -07:00
Max Brunsfeld
cdaac9dfcc wip 2015-11-09 00:35:18 -07:00
Max Brunsfeld
50d5151a3e ⬆️ text-buffer (pre-release) 2015-11-09 00:35:18 -07:00
Ivan Žužak
e077f8a24b Merge pull request #9333 from atom/iz-contributing-guide-bugs-and-features
Add section on reporting bugs to contributing guide
2015-11-08 22:13:09 +01:00
Ivan Žužak
e711e5e3ef 🎨 🔨 words 2015-11-08 22:12:07 +01:00
Ivan Žužak
1c12fbaed1 Use consistent order and clarify screenshots and gifs item 2015-11-08 21:40:18 +01:00
Ivan Žužak
9f42638617 Add GIF recording tools for Linux 2015-11-08 20:43:19 +01:00
Ivan Žužak
047bfc879c Fix typo 2015-11-08 20:40:55 +01:00
aki
396e8a42a4 Fix activatePackages 2015-11-08 23:14:13 +09:00
Wliu
7bcdc9ab51 ⬆️ language-php@0.33.0 2015-11-07 20:05:24 -05:00
Nathan Sobo
0f6c608b88 Add to changelog 2015-11-07 16:29:56 -07:00
Nathan Sobo
29014d1a74 Merge pull request #9485 from atom/ns-disable-throttle-hack
Disable throttling in test windows via WebAudio hack
2015-11-07 16:02:33 -07:00
Nathan Sobo
d46cea9c41 Disable throttling in test windows via WebAudio hack
Throttling in test windows is annoying when tests run interactively,
and *seems* to cause issues with animation frames not firing even in
headless tests, though it’s difficult to fully confirm since this issue
is intermittent.
2015-11-07 16:01:20 -07:00
Nathan Sobo
1fd2ba084c Merge pull request #8232 from lpommers/move-lines-up-and-down-with-multiple-selections
Move lines up and down with multiple selections
2015-11-07 14:40:58 -07:00
Nathan Sobo
8034d80e47 Merge pull request #9481 from atom/jf/upgrde-to-electron-0-34-3
Upgrade Electron To 0.34.3
2015-11-07 13:38:05 -07:00
Nathan Sobo
c47760c87b Merge pull request #9484 from atom/wl-remove-subpixel-font-scaling-option
Remove subpixel-font-scaling option
2015-11-07 13:37:31 -07:00
Nathan Sobo
e2118de6e9 Add to CHANGELOG.md 2015-11-07 10:38:46 -07:00
Nathan Sobo
6180b7398d ⬆️ tree-view 2015-11-07 10:36:17 -07:00
Wliu
232f54ed84 🔥 subpixel-font-scaling
This option was removed in Electron v0.33.9
2015-11-07 10:41:03 -05:00
Joe Fitzgerald
0dd84703c1 ⬆️ Electron 2015-11-07 06:32:08 -07:00
simurai
ab9efd1913 Adjust icon size for small buttons 2015-11-07 21:48:38 +09:00
Wliu
09fa41fb58 Merge pull request #9445 from atom/wl-update-language-javascript
Update language-javascript
2015-11-06 18:45:40 -05:00
Nathan Sobo
a8ceaa80f1 Always set devMode to true for spec windows 2015-11-06 16:01:21 -07:00
Wliu
69f0849bb7 ⬆️ markdown-preview@0.156.1 2015-11-06 17:54:49 -05:00