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
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
Ross Allen
28f157acd9
Document MenuItem enabled and visible
...
The Electron MenuItem[1] `enabled` and `visible` options are exposed to
Atom context menus in menu_helpers.coffee[2] but are not yet documented.
Both options are passed through to Electron.
[1] http://electron.atom.io/docs/v0.31.0/api/menu-item/
[2] https://github.com/atom/atom/blob/v1.0.7/src/menu-helpers.coffee#L49
2015-08-26 09:00:23 -07:00
Antonio Scandurra
b5c0f5ac0b
Change lines container height based on boundingClientRect
2015-08-26 16:21:51 +02:00
Max Brunsfeld
6c73f5eda7
Merge branch 'master' of https://github.com/jonathandelgado/atom into jonathandelgado-master
2015-08-25 12:36:58 -07:00
Max Brunsfeld
f57da0c6f8
Suppress merging selections during undo/redo
...
Now, during undo/redo overlapping selections will be temporarily
created as markers are created via snapshots. Old selections will
immediately be destroyed though, since undo/redo now completely
replace all historied markers w/ those in the snapshot, so there
is no need to merge selections.
2015-08-25 10:51:45 -07:00
Max Brunsfeld
5f7a0a32aa
Merge pull request #8480 from jeremyramin/fix-config-get
...
Fix config.get for schemas with objects
2015-08-25 09:15:43 -07:00
Nathan Sobo
39e5e58be1
Merge pull request #8494 from lpommers/documentation-selections-preserve-folds
...
📝 add preserveFolds documentation to setSelectedBufferRange(s)
2015-08-24 15:40:53 -06:00
Max Brunsfeld
5c73e5a001
Add CommandRegistry::onDidDispatch
2015-08-24 14:10:02 -07:00
Luke Pommersheim
d03db928f8
📝 add preserveFolds documentation to setSelectedBufferRange(s)
2015-08-24 18:29:21 +02:00
Jonathan Delgado
c292299516
Changed setting disableInitialEmptyEditor to openEmptyEditorOnStart
2015-08-23 07:51:22 -07:00
Jeremy Ramin
9a0d657d52
Adds deepDefaults to config
...
Took at the deepExtend in the atom/underscore-plus repo and modified it
to become a deepDefaults method. Using this instead to see if it fixes
the failing specs.
2015-08-22 23:03:19 -07:00
Jeremy Ramin
85800f6d00
Fix method typo
2015-08-22 21:16:32 -07:00
Jeremy Ebneyamin
f2c9688b43
Fix config.get for schemas containing objects
...
The config.get method would not return the default values for the
properties in objects. Now with _.deepExtends, the default values are
the base while any new values overwrite the defaults. This way all
default values appear, including those nested in an object. This fixes
atom/settings-view#386 and fixes atom/settings-view#518 .
2015-08-22 19:44:17 -07:00
Max Brunsfeld
fb2a45d71d
Merge pull request #8433 from atom/mb-bundle-line-ending-selector
...
Support bundling babel packages and bundle the line-ending-selector package
2015-08-21 17:45:10 -07:00
Max Brunsfeld
a4b9b9c6cd
👕 Use standard style for js code
2015-08-21 16:56:32 -07:00
Kevin Sawicki
fc95b5cded
Merge pull request #8473 from atom/ld-typo
...
📝 Fix a typo and make recommendation more clear
2015-08-21 16:41:13 -07:00
Max Brunsfeld
f3778148a0
Catch errors when retrieving source maps
2015-08-21 15:37:36 -07:00
Max Brunsfeld
a18b7e2fa9
Don't make prepareStackTrace unwritable
...
This breaks other code (such as Grim) that may want to temporarily
use a different prepareStackTrace function.
2015-08-21 14:57:39 -07:00
Max Brunsfeld
a6fa098a8c
Add CompileCache spec
2015-08-21 14:47:32 -07:00