Justin Palmer
ff4e374d44
basics of drag and drop support
2013-02-09 19:38:54 -08:00
Nathan Sobo
d8111797ba
RootView can no longer be focused.
...
Allowing root view to be focused was stealing focus away from the
editor whenever a click event made it to the root view. This unnecessary
switching of focus was interfering with the ability to drag tabs.
But if RootView can't be focused, focus ends up being returned to the
document body when there are no focusable elements. This would be fine,
except for the fact that we frequently bind global events on root view,
and so they aren't triggered when events are triggered on the body. We
could just bind all global events on the body, but this would require
us to always attach elements to the DOM during specs, which is a serious
performance killer in specs.
The workaround is in the keymap. When the keymap handles a key event
that was triggered on the body, it triggers the corresponding semantic
event on the root view anyway, so from the event perspective, it's as
if the root view actually had focus. The only place this might fall
down is if someone wants to capture raw key events. But that's the
keymap's job anyway, and we maybe add a hook on the keymap if such a
need ever arises.
2013-02-09 19:38:54 -08:00
Kevin Sawicki
5e81d5ceb8
Support bold and italic wrapped in underscores
2013-02-09 16:51:41 -08:00
Kevin Sawicki
e4da35d841
Support lists with hyphens and pluses
2013-02-09 16:48:12 -08:00
Kevin Sawicki
653979afc0
Capture begin and end triple ticks as support scope
2013-02-09 16:36:38 -08:00
Kevin Sawicki
659b7e05a0
Require non-asterix in bold and italic matches
2013-02-09 16:32:59 -08:00
Kevin Sawicki
20d68a380f
Only tokenize list if whitespace after asterix
2013-02-09 16:30:04 -08:00
Kevin Sawicki
d406c95df9
💄
2013-02-09 15:36:30 -08:00
Kevin Sawicki
1dffcb73a7
Add rule for list element
2013-02-09 15:35:35 -08:00
Kevin Sawicki
d81a6f6aa5
Add initial GitHub Flavored Markdown package
2013-02-09 13:28:24 -08:00
Kevin Sawicki
fbd9f3b174
Remove unused variable
2013-02-09 12:51:52 -08:00
Kevin Sawicki
75a9bce848
Support packages with CSON grammars
2013-02-09 12:41:51 -08:00
Corey Johnson & Kevin Sawicki
4619e1847f
Manage package lifecycle in Atom instead of in RootView
2013-02-08 17:28:08 -08:00
Corey Johnson & Kevin Sawicki
bb5778b659
Move package related data to Atom from RootView
2013-02-08 17:28:08 -08:00
Corey Johnson & Kevin Sawicki
c27489f608
Remove name parameter from RootView.activatePackage
2013-02-08 17:28:08 -08:00
Corey Johnson & Kevin Sawicki
ed0ced205b
Store packages in array instead of a hash by name
2013-02-08 17:28:08 -08:00
Corey Johnson & Kevin Sawicki
8434bdfe91
Load package's configDefaults in AtomPackage
...
This was previously loaded in RootView.
2013-02-08 17:28:08 -08:00
Corey Johnson & Kevin Sawicki
b93f404fa1
Store packages instead of package modules in RootView
2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
0fddc08fe3
💄
2013-02-08 17:28:07 -08:00
Corey Johnson
6726303cb5
💄
2013-02-08 17:28:07 -08:00
Corey Johnson
14cfa22d22
Only require packages that have a main module
2013-02-08 17:28:07 -08:00
Kevin Sawicki
e04ecf836f
Remove autoloadStylesheets ivar
...
This is no longer used now that the deferred package
has been deleted.
2013-02-08 17:28:07 -08:00
Kevin Sawicki
823db4cb22
💄
2013-02-08 17:28:07 -08:00
Kevin Sawicki
e419ec1848
Migrate fixtures package to not extend AtomPackage
2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
ac6ec1c2a7
Remove rootView as parameter to activate
2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
adb867cbd1
Use global rootView in GoToLineView
2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
659c6bbd56
Remove old style package support
...
All packages have been migrated to the new style.
2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
db257e1811
Delete unused DeferredAtomPackage
2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
2d80d27ca7
Modernize command-panel package with package.cson
2013-02-08 17:28:07 -08:00
Corey Johnson & Kevin Sawicki
9043f8290f
Deactivate rootView in afterEach
2013-02-08 17:28:06 -08:00
Kevin Sawicki
b277945718
Modernize command-logger package with package.cson
2013-02-08 17:28:06 -08:00
Kevin Sawicki
cb28d75b00
Modernize tree-view package with package.cson
2013-02-08 17:28:06 -08:00
Kevin Sawicki
3629c01e27
Modernize bracket-matcher package with package.cson
2013-02-08 17:28:06 -08:00
Kevin Sawicki
1b85e131e1
Modernize snippets package with package.cson
2013-02-08 17:28:06 -08:00
Kevin Sawicki
e5506276db
Don't toggle events in beforeEach to activate package
...
Instead find the view after the event in the spec has
been triggered that causes it to activate.
2013-02-08 17:28:06 -08:00
Kevin Sawicki
f522b2da63
Modernize command-palette package with package.cson
2013-02-08 17:28:06 -08:00
Kevin Sawicki
34c570bed5
Modernize editor-stats package with package.cson
2013-02-08 17:28:06 -08:00
Kevin Sawicki
a70f5ea1f7
Modernize gists package with package.cson
2013-02-08 17:28:06 -08:00
Kevin Sawicki
df962afe0e
Modernize markdown-preview package with package.cson
2013-02-08 17:28:06 -08:00
Kevin Sawicki
ab385e8d38
Modernize status-bar package with package.cson
2013-02-08 17:28:06 -08:00
Kevin Sawicki
9557b2c3e3
Modernize symbols-view package with package.cson
2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
21ad921f26
Modernize tabs package with package.cson
2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
99fb8e2b3b
Modernize wrap-guide package to use package.cson
2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
c18abc154a
Verify logged warning parsing invalid.plist
2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
ef02f237cb
Terminate load task when package is deactivated
2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
c1203d48e2
Only call terminate when worker isn't null
2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
e12461db88
Create root view before loading package
2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
e959c371e3
Terminate task when fuzzy finder is deactivated
...
Task no longer invokes task methods after task has
been terminated.
2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
044468714a
Rename finder variable to finderView
2013-02-08 17:28:05 -08:00
Corey Johnson & Kevin Sawicki
3c2e43fb31
Remove unneeded rootView variable
2013-02-08 17:28:05 -08:00