Commit Graph

12724 Commits

Author SHA1 Message Date
Max Brunsfeld
8f1daad4a9 Merge pull request #8608 from atom/mb-normalize-driver-letter-case
Normalize drive letter case on windows
2015-09-01 14:15:39 -07:00
Nathan Sobo
5be64cdc89 Merge pull request #8627 from atom/ns-terminate-drag-on-any-text-change
Terminate drag on any buffer change
2015-09-01 14:22:29 -06:00
Max Brunsfeld
61f7de736f Normalize resource path drive letters in main 2015-09-01 12:20:05 -07:00
Max Brunsfeld
5be3d4f82f Normalize drive letter case on windows 2015-09-01 12:17:19 -07:00
Nathan Sobo
f3def3a7ed Terminate drag on any buffer change
Not just text insertion.
2015-09-01 12:58:34 -06:00
Nathan Sobo
968cf6a51b Merge pull request #8624 from atom/ns-fix-mouse-autoscroll
Autoscroll when mouse gets close to the edge of the editor scroll view
2015-09-01 11:22:28 -06:00
Nathan Sobo
f1276f59de Autoscroll when mouse gets close to the edge of the editor scroll view
Previously, we required the cursor to exceed the bounds of the editor,
but that makes it impossible to scroll when the window is maximized.
2015-09-01 10:43:45 -06:00
Kevin Sawicki
56f40d7714 Append to existing cache dir value 2015-08-31 10:29:36 -07:00
Kevin Sawicki
8fa99a33be Append root to atom home value 2015-08-31 10:23:14 -07: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
Wliu
820fc7652b Merge pull request #8561 from atom/wl-menubar-toggle-notification
Add a notification when toggling the menu bar
2015-08-30 10:14:31 -04:00
Nathan Sobo
e91241be52 Revert "Remove arguments subheading"
This reverts commit ba7af0b9cd.
2015-08-29 13:00:08 -06:00
Nathan Sobo
70bcedba4d Revert "Nix arguments"
This reverts commit f2a017d013.
2015-08-29 12:59:16 -06:00
Wliu
01b9c3a0b0 👕 No fat arrow 2015-08-28 18:06:04 -04:00
Wliu
f3b457d8ba Add a notification when toggling the menu bar
Refs #4289
2015-08-28 17:33:46 -04:00
Nathan Sobo
c0b4181b47 Merge pull request #8558 from atom/ns-simplify-page-up-down
Simplify page-up/page-down
2015-08-28 14:55:24 -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
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
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
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
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
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
Max Brunsfeld
014243637b Merge pull request #8527 from atom/mb-add-child-root-folder
Allow adding a root folder that's within another root folder
2015-08-26 15:44:30 -07:00
Max Brunsfeld
6df058c7f3 Allow adding a root folder that's within another root folder 2015-08-26 15:26:02 -07:00
Natthu Bharambe
4ffb8fae27 Merge remote-tracking branch 'upstream/master' 2015-08-26 14:36:25 -07:00
Jacek Kopecky
763d871470 use undo in IME composition 2015-08-26 20:28:23 +01:00
Nathan Sobo
1827aebc4b Merge pull request #8497 from ssorallen/menu-item-doc
Document MenuItem `enabled` and `visible`
2015-08-26 10:40:41 -06:00