Commit Graph

137 Commits

Author SHA1 Message Date
Nathan Sobo
fbea2d7954 Autoscroll correctly when dragging gutter selections
* Explicitly assign the orientation of the selection when it crosses
  the initially clicked row.
* Autoscroll to the cursor, not the entire selection.
2015-08-12 13:13:15 -06:00
Antonio Scandurra
85a982f42b 💚 Clear pending frames on folding specs 2015-08-11 12:00:59 +02:00
Nathan Sobo
db72ce8362 Defer merging likewise gutter selections until mouseup 2015-08-04 11:29:08 -06:00
Nathan Sobo
52e640156c Defer selection merge until dragging completes 2015-08-03 21:43:43 -06:00
Nathan Sobo
d1dec4e0cf Don’t autoscroll to selection when double- or triple-click dragging 2015-07-28 16:16:34 -06: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
Ben Ogle
02ad3fe298 Merge pull request #8094 from smashwilson/overlay-class
Specify class attributes directly for overlay nodes
2015-07-27 15:36:42 -07:00
Nathan Sobo
f659bc20a2 Fix occasional spec flakiness on travis 2015-07-27 15:14:07 -06: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
0b1a303d5b Spec for overlay element class. 2015-07-27 10:52:45 -04:00
Nathan Sobo
c18db48f54 Fix specs 2015-07-23 12:03:20 -06:00
Max Brunsfeld
a60f330628 Default maintainHistory marker option to false 2015-07-21 13:27:05 -07:00
Antonio Scandurra
eb3e1437d0 Add spec to check for tile background color 2015-06-30 14:52:47 +02:00
Antonio Scandurra
d6ac7863c9 Merge branch 'master' into as-tiled-gutter 2015-06-19 20:12:43 +02:00
Antonio Scandurra
d7156ff387 Remove event listeners from orphaned gutters 2015-06-19 10:24:48 +02:00
Antonio Scandurra
a3a8d8417b Merge branch 'as-remove-gutter-from-view-registry' into as-tiled-gutter 2015-06-18 19:58:33 +02:00
Antonio Scandurra
b04b0a8dc4 🐛 Fix race condition as well 2015-06-17 13:48:31 +02:00
Antonio Scandurra
57350b7492 Finish porting TextEditorComponent specs 2015-06-12 18:22:43 +02:00
Antonio Scandurra
7ac0cdcbf5 Start porting TextEditorComponent spec 2015-06-12 18:22:33 +02:00
Luke Pommersheim
2765b54374 fix of coffeelint errors in spec tests 2015-06-11 13:33:46 +02:00
Luke Pommersheim
c67f98febb if there are multiple cursors and you click a cursor, it is removed, otherwise new cursor is added. Cannot remove if there is only one cursor and you click on it 2015-06-11 13:26:09 +02:00
Antonio Scandurra
cec6959e08 Extend highlights to the full editor width 2015-06-08 18:58:04 +02:00
Antonio Scandurra
515ae7acb7 Use tile node as the reference for highlights width 2015-06-06 17:19:24 +02:00
Antonio Scandurra
c4503fc137 💚 2015-06-06 16:55:00 +02:00
Antonio Scandurra
fcb9653066 Start porting TextEditorComponent specs 2015-06-06 15:41:15 +02:00
Max Brunsfeld
2337254afb Fix text-editor-component-spec failure
Grouping intervals are exclusive now. It shouldn't affect anybody
since it's a one-millisecond change to the meaning of
grouping-interval, but it required changing some time intervals
in this spec.
2015-06-05 12:05:05 -07:00
Antonio Scandurra
538fcfece3 🎨 Better test naming 2015-05-22 14:01:52 +02:00
Antonio Scandurra
1a18cda000 💚 Fix remaining specs 2015-05-21 10:00:46 +02:00
Antonio Scandurra
752dbf2c6e Manually config tileSize
Dealing with a manually entered `tileSize` is actually easier to reason about,
therefore we no longer calculate it based on `tileCount.`
2015-05-21 09:59:58 +02:00
Max Brunsfeld
34a3ee1be9 ⬆️ text-buffer 2015-05-12 18:02:27 -07:00
Jess Lin
79b460a0ca [Gutter] Add ::getDomNode method to all 'components' 2015-04-22 07:28:59 -07:00
Jess Lin
34856d94f5 [Gutter][DOM Persistence] Keep a gutter in the DOM if it is merely hidden (not destroyed) 2015-04-22 07:28:58 -07:00
Jess Lin
8d6745d8a9 [Gutter] Replace GutterComponent with GutterContainerComponent in TextEditorComponent 2015-04-22 07:28:57 -07:00
Jess Lin
fccc9ebee4 [Gutter] Rename current references to 'Gutter' -> 'LineNumberGutter' 2015-04-22 07:28:56 -07:00
Nathan Sobo
9823f4ce09 Fix legacy event spec for scheduler change 2015-04-21 08:09:07 -06:00
Antonio Scandurra
304b959ca8 🎨 Use tags to exclude spec on Linux 2015-04-14 19:34:04 +02:00
Antonio Scandurra
1c8cf4390c Rename to safe-clipboard
...and use remote only on Linux renderer processes.
2015-04-14 10:50:09 +02:00
Antonio Scandurra
87972caf1e 🐧 Disable failing spec 2015-04-13 16:24:22 +02:00
Antonio Scandurra
c4205e36a6 💚 Use a serif font to make sure char widths change 2015-04-13 14:32:40 +02:00
Antonio Scandurra
106f9fdf2e Use src/native-clipboard in atom-application 2015-04-13 14:08:43 +02:00
Kevin Sawicki
e02e8c91a6 Use TextEditor::onDidChangeCursorPosition in spec 2015-04-06 16:29:12 -07:00
Antonio Scandurra
21df0d0401 Use component.measureDimensions() 2015-04-02 19:06:41 +02:00
Jesse Grosjean
82da0865bc Merge branch 'master' of https://github.com/atom/atom into upstream 2015-04-02 12:23:03 -04:00
Ben Ogle
dff2453b65 Attempt to fix spec 2015-04-01 18:05:17 -07:00
Ben Ogle
44d1302402 Fix text-editor-component spec 2015-04-01 17:41:00 -07:00
Ben Ogle
48c05210fa Remove specs from text-editor-component 2015-04-01 17:41:00 -07:00
Ben Ogle
b0794bbb68 Move the overlay calculation into the presenter. 2015-04-01 17:40:59 -07:00
Ben Ogle
01905ae55b Add specs for margin handling 2015-04-01 17:40:59 -07:00
Ben Ogle
6b5a74e3b6 Update specs for overlay rendering 2015-04-01 17:40:59 -07:00
Jesse Grosjean
409775b53e Improved specs for clipping pixel positions above/below display buffer 2015-04-01 12:39:22 -04:00