Commit Graph

6688 Commits

Author SHA1 Message Date
probablycorey
dc54ebf416 Merge remote-tracking branch 'origin/master' into cj-add-user-keymap-file 2013-10-28 10:04:48 -07:00
Corey Johnson
ef2a322229 Merge pull request #1037 from atom/cj-buffer-serialization
When opening a window, only use serialized buffer text if the contents on disk have not changed.
2013-10-28 09:48:43 -07:00
probablycorey
cde0fae1f3 Rename Keymap::loadUserKeymaps to Keymap::loadUserKeymap 2013-10-28 09:19:23 -07:00
probablycorey
95107052d0 User keymap can be cson or json 2013-10-28 09:18:29 -07:00
Kevin Sawicki
05c3d89381 Measure indent prefix on each line being commented
Previously a single indent string was used to replace all lines
which could corrupt lines using hard tabs since the indent string
used for replacement was two spaces causing the first character
of the line to be deleted.

Closes atom/language-c#1
2013-10-26 15:21:02 -07:00
probablycorey
42362e6ce9 Load user-keymap.cson instead of keymaps dir 2013-10-25 16:19:38 -07:00
probablycorey
0dd0c39918 Update comment 2013-10-25 15:29:52 -07:00
probablycorey
7002b4e5f6 Factor out common buffer loading code 2013-10-25 15:26:56 -07:00
Corey Johnson
78f1865bcf Merge pull request #1033 from atom/cj-search-modified-buffers
Search modified buffers
2013-10-25 15:19:53 -07:00
probablycorey
bb281ce5af 💄 2013-10-25 15:19:20 -07:00
probablycorey
b5b07c1052 Emit modified-status-changed event when using serialized text 2013-10-25 14:40:53 -07:00
probablycorey
c77b44d5ef Move variable assignment 2013-10-25 14:29:59 -07:00
probablycorey
feed72b68e Change @loadFromDisk to @useSerializedText 2013-10-25 14:21:39 -07:00
probablycorey
8956881192 Only load serialized content if the disk content's have not changed. 2013-10-25 13:50:16 -07:00
probablycorey
32bc8a6258 Remove initialText option from TextBuffer constructor 2013-10-25 13:50:06 -07:00
Kevin Sawicki
53547b5a8d Trigger commands on rootView when body is active element 2013-10-25 09:20:47 -07:00
Kevin Sawicki
29646cdff8 💄 Use Date.now 2013-10-24 18:58:43 -07:00
Kevin Sawicki
feff67457d 🚱 Include namespace when canceling subscription
Emissary does not clear our namespace listeners when calling off
with only the event name and the handler.
2013-10-24 18:45:00 -07:00
probablycorey
1f30231d5c Project.scan scans buffer if the file is modified
Closes #487
2013-10-24 15:32:32 -07:00
Matt Colyer
d4949c872b Merge pull request #1019 from atom/api-docs
More detailed pass at API documentation
2013-10-24 13:54:03 -07:00
Matt Colyer
1b8f8cd914 📝 Clarify git-utils.coffee 2013-10-23 16:16:30 -07:00
Kevin Sawicki
378a7135b7 Add missing at sign before getFocusedWindowSize
Closes atom/collaboration#22
2013-10-23 15:53:52 -07:00
Matt Colyer
b288a5c68f 📝 Provide detailed docs on fsUtils 2013-10-23 14:52:27 -07:00
probablycorey
4ad38eed87 Use @config instead of config 2013-10-23 14:26:48 -07:00
probablycorey
f7dfd60014 Remove unused $$ 2013-10-23 14:14:47 -07:00
probablycorey
d5f92ef59d Move all beep code into Atom class 2013-10-23 14:09:00 -07:00
probablycorey
224bc56d4e Require $$ via space-pen-extensions 2013-10-23 11:16:12 -07:00
Matt Colyer
afb2ec86b7 Merge branch 'master' into api-docs 2013-10-23 11:02:38 -07:00
probablycorey
ffcd948362 Move beep method to rootView 2013-10-23 10:42:13 -07:00
probablycorey
3b525302b0 Merge remote-tracking branch 'origin/master' into cj-add-flash-error 2013-10-23 10:27:49 -07:00
Ben Ogle
80f4e7eb7f Add ThemeManager.setEnabledThemes 2013-10-22 18:09:21 -07:00
Matt Colyer
f2f915c0d0 Merge branch 'master' into api-docs 2013-10-22 16:19:18 -07:00
Matt Colyer
72bd408722 Merge pull request #1000 from atom/sublime-keybindings
Sublime keybindings
2013-10-22 16:14:07 -07:00
Ben Ogle
a37b029ad9 Prepend newly enabled themes, not append 2013-10-22 16:04:55 -07:00
Kevin Sawicki
43dae4e9eb Add helper to get apm path 2013-10-22 15:52:04 -07:00
Matt Colyer
8503a53fec 📝 Update documentation for file.coffee 2013-10-22 15:46:21 -07:00
Matt Colyer
d0ed2a87cd 📝 Remove curly braces for core objects 2013-10-22 15:46:04 -07:00
Matt Colyer
2ddcfb60cf Allow f2 and tab keybindings
This is possible now that we're on atom-shell@0.6.4
2013-10-22 15:17:12 -07:00
Matt Colyer
5e253378e2 Update restricted key bindings for atom-shell@0.6.3 2013-10-22 15:17:11 -07:00
Matt Colyer
1f86c62dc9 Remove accidental logging 2013-10-22 15:17:11 -07:00
Matt Colyer
74cb91a6a1 Add Edit > Lines submenu 2013-10-22 15:17:11 -07:00
Matt Colyer
eeb24e1d5c Mt erge branch 'master' into api-docs 2013-10-22 15:12:43 -07:00
Ben Ogle
967c04fb19 Clean up theme check in PackageManager with PackageActivators
You can now call `PackageManager.registerPackageActivator` for specific
package types. On `PackageManager.activate` it will call your
`PackageActivator.activatePackages(packages)` with the proper packages.
2013-10-22 15:07:09 -07:00
Ben Ogle
8ac84359b1 Fix docs 2013-10-22 15:06:54 -07:00
Ben Ogle
2624cf6e75 oops, don't deactivate all the packages! 2013-10-22 15:06:54 -07:00
Ben Ogle
f2c1ea9b5a Remove log lines 2013-10-22 15:06:54 -07:00
Ben Ogle
7b1b73e8eb Watch the core.disabledPackages config option 2013-10-22 15:06:54 -07:00
Ben Ogle
e8b50755cb Add config.unobserve() 2013-10-22 15:06:54 -07:00
Ben Ogle
dd3b20f7de Pass previous value to the callback in config.observe() 2013-10-22 15:06:54 -07:00
Ben Ogle
73c1fb23da Use more concise method for @metadata settings 2013-10-22 15:06:54 -07:00