Commit Graph

3901 Commits

Author SHA1 Message Date
Kevin Sawicki
58bd83a225 Always unsubscribe when changing buffers
Previously subscribeToBuffer() returned early
in certain cases without first unsubscribing to
the current buffer.
2013-03-01 10:54:52 -08:00
Kevin Sawicki
14bd7741d1 Change octicon based on creating file or folder 2013-02-28 16:04:18 -08:00
Kevin Sawicki
e36a3c18fb Remove .coffee extension from package main 2013-02-28 15:15:09 -08:00
Kevin Sawicki
35ca8a42a1 Display error when symbol's file does not exist 2013-02-28 15:06:48 -08:00
Kevin Sawicki
56d92fe029 Hide/show loading message instead of toggling 2013-02-28 11:25:02 -08:00
Corey Johnson
057ccf7157 Add - to nonWordCharacters 2013-02-28 09:45:19 -08:00
Adam Roben
beb000ceaf Merge branch 'dev' of github.com:github/atom into ci-testing 2013-02-27 16:27:02 -05:00
Kevin Sawicki
745a3ef9f2 Use class methods to create native object shims
CoffeeScript 1.5 complains if a constructor has
a returns a value.
2013-02-27 13:25:10 -08:00
Corey Johnson
a45bceb02a Remove unused param 2013-02-27 11:15:46 -08:00
Kevin Sawicki
23c3b18cf4 Add [] as word boundaries
This is a common boundary used in markdown link text
2013-02-27 11:08:35 -08:00
Corey Johnson
44680ad50c Revert "💄"
This reverts commit c2c4d03c2d.
2013-02-27 10:11:02 -08:00
Kevin Sawicki
a4efc32d45 Display corrections for misspelling on meta-0
A select list will now display with possible corrections
and the misspelling will be replaced when one is selected.
2013-02-27 10:08:02 -08:00
Corey Johnson
c2c4d03c2d 💄 2013-02-27 08:51:51 -08:00
Kevin Sawicki
b5c9e634fd Add addViews method to mirror destroyViews 2013-02-27 08:42:01 -08:00
Kevin Sawicki
1f4df2878f Add spec for disabling spell check of a grammar 2013-02-27 08:39:51 -08:00
Kevin Sawicki
2f8b8c4fc7 💄 2013-02-27 08:33:06 -08:00
Kevin Sawicki
0398e160ae Include apostrophe in word regex 2013-02-26 19:15:18 -08:00
Kevin Sawicki
65cb929b99 Add initial spell checker package
This adds spell checking to editor's using the
text, markdown, or Git commit message grammars.
2013-02-26 18:49:22 -08:00
Kevin Sawicki
ef9d4b392b Support passing options through DisplayBuffer.markScreenRange 2013-02-26 17:17:58 -08:00
Kevin Sawicki & Nathan Sobo
5b990cf571 Add the 'between' invalidation strategy for markers
This invalidates markers when the start or end point of the changed 
range is between the head and tail position of the marker.
2013-02-26 17:42:47 -07:00
Kevin Sawicki & Nathan Sobo
e858f7eb2a Replace stayValid option w/ validationStrategy when creating markers 2013-02-26 17:03:02 -07:00
Kevin Sawicki & Nathan Sobo
d6d6ff8cca 💄 2013-02-26 15:08:33 -08:00
Kevin Sawicki & Nathan Sobo
42fe87a9a2 Notify observers when display buffer markers are invalidated 2013-02-26 14:59:09 -08:00
Kevin Sawicki & Nathan Sobo
e36887900f Notify observers when markers are invalidated/revalidated 2013-02-26 14:31:42 -08:00
Kevin Sawicki & Nathan Sobo
1fcaa52217 Remove unused parameter 2013-02-26 14:06:19 -08:00
Corey Johnson & Kevin Sawicki
6e4f497ef6 💄 2013-02-26 09:58:55 -08:00
Corey Johnson & Kevin Sawicki
f8563a1509 💄 2013-02-26 09:04:02 -08:00
Corey Johnson & Kevin Sawicki
34ab1d5c03 Remove unused variable 2013-02-25 18:20:42 -08:00
Kevin Sawicki
9f6855e2cb Remove useless div around function details 2013-02-25 15:29:46 -08:00
Kevin Sawicki
f51f097615 Add back checkmark for selected grammar 2013-02-25 15:13:48 -08:00
Corey Johnson
ad14e65ef9 Add atom.getVersion(callback) 2013-02-25 14:58:11 -08:00
Kevin Sawicki
5d0c23e0fa Sort grammars by name in select list 2013-02-25 14:50:55 -08:00
Kevin Sawicki
6d7971cd50 Reduce flakiness of symbols view spec
Make sure file is removed before a file is moved
over top of it.
2013-02-25 14:03:16 -08:00
Kevin Sawicki & Nathan Sobo
99c1819ceb Install cli to /opt/boxen if it exists 2013-02-25 12:40:59 -08:00
Kevin Sawicki & Nathan Sobo
f3dac141ff Open pathToOpen before packages load
Previously pathToOpen was opened after packages
were loaded which prevented packages from accurately
relying on rootView.getActiveEditSession().
2013-02-25 12:23:00 -08:00
Kevin Sawicki & Nathan Sobo
94a17e73ba Don't automatically focus when attach is called
Only focus when toggling the tree view or revealing
an active file.

This prevents the tree view from stealing focus when it
is attached during deserialization.
2013-02-25 11:53:42 -08:00
Kevin Sawicki & Nathan Sobo
969327e822 Require user init script path after user keymaps
Previously the user init script path was required before the
packages and user keymaps were loaded which could override
config and keymap settings set by the user init script path.
2013-02-25 11:46:34 -08:00
Kevin Sawicki
6563dabe51 Simplify loading message toggling
Add the 'is-loading' class and text from the
content method and just call toggle directly on
the outlet to hide/show.
2013-02-25 10:19:11 -08:00
Kevin Sawicki
49c9536358 Guard against no fold end regex
Not all bundles specify this and an error will be
raised when trying to fold inside a grammar that does
not have this property defined if this check isn't done.
2013-02-25 09:31:00 -08:00
Kevin Sawicki
9b231e8c4e Add increase indent pattern for GFM scope 2013-02-25 08:58:47 -08:00
Kevin Sawicki
8b2c088bc9 Add support for escaped characters in TOML strings 2013-02-24 19:40:47 -08:00
Kevin Sawicki
fca182a470 Add initial TOML support 2013-02-24 09:56:26 -08:00
Kevin Sawicki
a712f00d7e Put expects in a runs block 2013-02-22 21:48:50 -08:00
Kevin Sawicki
d35c871e17 Install atom executable during window.startup()
Previously this was done during `rake install`.

Also default to `~/github/atom` as the default resource path
when no `--resource-path` argument is specified.  This argument
will now be required when running in dev mode if the repository
is not at the default location.

Closes #300
2013-02-22 21:19:34 -08:00
Corey Johnson & Kevin Sawicki
c7ff431d13 Don't rely on specific time in EditorStats spec 2013-02-22 17:17:07 -08:00
Corey Johnson & Kevin Sawicki
31d8151c3e Copy themes to ~/.atom/themes when config loads 2013-02-22 14:46:30 -08:00
Corey Johnson & Kevin Sawicki
fa81871907 Initialize ~/.atom when config is loaded
Closes #299
2013-02-22 14:46:30 -08:00
Kevin Sawicki & Nathan Sobo
5da5bf94b6 Add 'editor:save-debug-snapshot' command. Closes #191.
This saves the state of the rendered lines, the display buffer, the
tokenized buffer, and the buffer to a file. If a problem arises with
rendering, hopefully we can use it to diagnose in which layer things
went awry.
2013-02-22 14:28:04 -07:00
Kevin Sawicki
9ca7214d39 Add --dev flag and remove --stable flag
Atom now runs in stable mode by default and only
runs in dev mode when the --dev flag is specified.

Closes #198
2013-02-22 11:54:54 -08:00
Kevin Sawicki
297ee396ca Remove empty package-generator keymap 2013-02-22 11:44:23 -08:00