24840 Commits

Author SHA1 Message Date
Nathan Sobo
c0b4181b47 Merge pull request #8558 from atom/ns-simplify-page-up-down
Simplify page-up/page-down
v1.0.9
2015-08-28 14:55:24 -06:00
Kevin Sawicki
f3a90c2ad0 Pin to yargs@3.19.0
os-locale is not handling spawn errors

Closes #8559
2015-08-28 13:07:00 -07:00
Nathan Sobo
020c11d6c6 Merge pull request #8548 from atom/ns-improve-mouse-based-autoscroll
Smoothly autoscroll the editor when selecting with the mouse
2015-08-28 13:46:01 -06:00
Nathan Sobo
c7cc404c42 Simplify page-up/page-down
We simply move the cursor up or down by the number of whole lines that
fit on screen, allowing autoscroll to adjust the scroll position. This
causes there to be a margin under the location to which we move the
cursor, but I think it’s better to provide context and keep the
autoscroll experience consistent when using the keyboard.
2015-08-28 13:39:14 -06:00
Nathan Sobo
012f8e40fc Add specs for mouse-based autoscroll; fix a couple existing specs 2015-08-28 12:56:59 -06:00
Nathan Sobo
2a3a304410 Terminate drag when editor is destroyed
Fixes #4562
2015-08-28 12:41:58 -06:00
Nathan Sobo
567199a3d2 Autoscroll the editor as a quadratic function of mouse cursor overshoot
This was a spike and still needs tests, but it’s going to be way better.
2015-08-28 12:17:59 -06:00
Nathan Sobo
b2e8b05cbe ⬆️ tabs 2015-08-28 10:19:40 -06:00
Wliu
c2466a96d0 Merge pull request #8555 from ryanpcmcquen/patch-1
Add that atom can be built with iojs 2.x
2015-08-28 12:02:08 -04:00
Ryan P.C. McQuen
80fca8bd28 Add that atom can be built with iojs 2.x
Confirmed here: https://github.com/atom/atom/issues/8508

Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
2015-08-28 08:53:24 -07:00
Nathan Sobo
080a0c6030 Merge branch 'MaximSokolov-fix-gutter-doc'
References #8158
2015-08-28 09:47:56 -06:00
Nathan Sobo
0a87dad747 🎨 2015-08-28 09:46:18 -06:00
Nathan Sobo
1dac9eb801 Use imperative voice 2015-08-28 09:42:46 -06:00
Nathan Sobo
f2a017d013 Nix arguments 2015-08-28 09:42:39 -06:00
Nathan Sobo
1160c571a7 Public -> Essential 2015-08-28 09:41:23 -06:00
Nathan Sobo
313eb9e926 🎨 2015-08-28 09:41:13 -06:00
Nathan Sobo
bd4f5ba544 Replace Public with Essential
Still not sure about the value of this distinction, but let’s blend in.
2015-08-28 09:39:24 -06:00
Nathan Sobo
ba7af0b9cd Remove arguments subheading 2015-08-28 09:39:03 -06:00
Maxim Sokolov
93fba6a334 📝 Remove redundant docs
GutterContainer class shouldn't be public or extended.
2015-08-28 16:54:15 +03:00
Maxim Sokolov
df2fed2474 📝 Update docs for Gutter::decorateMarker
Docs from TextEditor::decorateMarker related to Gutter
2015-08-28 16:54:15 +03:00
Maxim Sokolov
6076cef1f2 📝 Remove gutterName argument from TextEditor::decorateMarker
Decorations of `type: 'gutter'` is deprecated. Use `Gutter::decorateMarker` to
create decoration for custom gutter.
2015-08-28 16:54:15 +03:00
Maxim Sokolov
1f259a5583 📝 Update docs for TextEditor::decorateMarker
Decorations of `type: 'gutter'` have been renamed to `type: 'line-number'`
2015-08-28 16:54:15 +03:00
Maxim Sokolov
559251a1c8 🎨 Add section for Gutter methods
Need for generated docs
2015-08-28 16:54:15 +03:00
Maxim Sokolov
5f1c227feb 📝 Make Gutter event methods essential 2015-08-28 16:54:14 +03:00
Maxim Sokolov
71c9a4afe7 📝 Add docs for Gutter::destroy 2015-08-28 16:54:14 +03:00
Maxim Sokolov
150300b63e 📝 Make Gutter visibility methods public 2015-08-28 16:54:14 +03:00
Maxim Sokolov
a5edd69ec3 📝 Update docs for Gutter events 2015-08-28 16:54:14 +03:00
Maxim Sokolov
bb447099c0 🎨 Move Gutter event methods up
Need for generated docs
2015-08-28 16:54:14 +03:00
Maxim Sokolov
fbb3bc4232 📝 Make Gutter class extended
Gutter is returned from a public method `TextEditor::addGutter`
2015-08-28 16:54:14 +03:00
Maxim Sokolov
fac979f71d 📝 Update docs for TextEditor::addGutter
TextEditor::addGutter should be called directly.
2015-08-28 16:54:14 +03: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
340fe7e534 📝 Fix wording on specs
Thanks, @maxbrunsfeld! 🎆
2015-08-28 09:45:55 +02:00
Nathan Sobo
a5c0cd2030 Merge pull request #8547 from atom/ns-clean-up-max-scroll-margin
Clean up max scroll margin code
2015-08-27 18:58:09 -06:00
Kevin Sawicki
b61a450170 Prepare 1.0.9 2015-08-27 16:48:21 -07:00
Nathan Sobo
314e082f1d Clean up max scroll margin code
Previously we were attempting the same computation twice, once
incorrectly when returning the scroll margins as integers and then doing
the same thing in terms of pixels. This just cleans up the original
calculation. It’s *slightly* different because it takes the floor to
continue returning integers, but the behavior is extremely close.
2015-08-27 17:40:01 -06:00
Max Brunsfeld
9cb70ffa46 Revert "⬆️ language-javascript@0.91.0"
This reverts commit 2d28be38d8.
v1.0.8
2015-08-27 10:28:31 -07:00
Max Brunsfeld
653680c297 Revert "⬆️ language-html@0.41.1"
This reverts commit 465aceadfc.
2015-08-27 10:28:10 -07:00
Wliu
465aceadfc ⬆️ language-html@0.41.1
Fixes failing specs due to a recent language-javascript change
2015-08-27 12:52:39 -04:00
Nathan Sobo
cd4726bb27 Merge pull request #8536 from atom/as-redundant-screen-range-calls
Remove redundant calls to buffer-to-screen conversion methods
2015-08-27 10:20:25 -06:00
Wliu
2d28be38d8 ⬆️ language-javascript@0.91.0 2015-08-27 11:36:23 -04:00
Wliu
707fbf2552 ⬆️ language-c@0.47.1 2015-08-27 11:26:22 -04: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
ca285d3fe3 💚 Correct typo in container's height specs 2015-08-27 12:12:45 +02:00
Antonio Scandurra
423c3d945e 🐎 Remove redundant calls to screen conversion methods 2015-08-27 11:37:23 +02:00
Max Brunsfeld
b15b103ba0 ⬆️ grunt-download-atom-shell 2015-08-26 17:41:57 -07:00
Nathan Sobo
e65a7580e7 Merge pull request #8531 from atom/ns-auto-create-last-selection
Create a selection automatically as needed if the last one was destroyed
2015-08-26 18:40:05 -06:00
Max Brunsfeld
ae238b02f6 ⬆️ tree-view 2015-08-26 17:10:34 -07:00
Nathan Sobo
4bbc1d806e Create a selection automatically as needed if the last one was destroyed
Fixes atom/bracket-matcher#102
2015-08-26 17:59:33 -06:00
Nathan Sobo
6bfa228060 Merge pull request #8520 from atom/as-lines-height
Change lines container height based on `TextEditorElement` dimensions
2015-08-26 17:21:52 -06:00