Kevin Sawicki & Nathan Sobo
4eb3c2d67b
Assign global 'platform' variable on window at eval time
2012-08-22 13:43:46 -07:00
Kevin Sawicki & Nathan Sobo
c53f87fcba
Only require platform stylesheet if it exists
...
Make requireStylesheet throw exception if the stylesheet does not exist
2012-08-22 13:43:46 -07:00
Kevin Sawicki
f778345b3a
Add support for requiring a platform-specific stylesheet
...
Add a getPlatform method to the native object that
is used for requiring the platform stylesheet from
within window.coffee after the atom.css is required.
This is used to provide non-native scrollbars on Linux
for an improved look and feel.
2012-08-22 13:43:46 -07:00
Nathan Sobo
c8154e4e8c
Use Twilight theme stylesheet based on TextMateTheme
2012-08-08 16:55:34 -06:00
Nathan Sobo
2df05e235a
Break out window.applyStylesheet from window.requireStylesheet
...
This will be useful in applying generated stylesheets associated with themes.
2012-08-08 16:09:23 -06:00
Corey Johnson & Nathan Sobo
827b3e29d3
Implement OnigRegExp.getCaptureTree natively
2012-08-07 16:20:02 -07:00
Nathan Sobo
0d6d16a438
Move TextMateGrammar.buildCaptureTree to .getCaptureTree method on OnigRegExp
2012-08-06 11:43:44 -06:00
Corey Johnson & Nathan Sobo
1a243adfcf
All specs pass w/ TextMateGrammar for tokenization (auto-indent disabled)
2012-08-03 12:00:05 -06:00
Corey Johnson
b378620c54
Add TextMateBundle which handles all bundle loading
2012-08-02 11:38:14 -07:00
Corey Johnson & Nathan Sobo
058f63c01f
load all bundle grammars in window.startup
2012-08-01 17:09:29 -07:00
Corey Johnson & Nathan Sobo
9e4f401485
WIP: trying to make preview faster
2012-07-19 11:28:41 -06:00
Corey Johnson
ab548bc946
Rename extension to requireExtension
2012-07-03 13:43:30 -07:00
Corey Johnson
263065171d
Use window.extension to load extensions from .atom file
2012-07-03 12:51:30 -07:00
Nathan Sobo
e21d0a5d2a
Rename RootView.modifiedBuffers -> getModifiedBuffers
2012-07-02 19:49:05 -06:00
Corey Johnson
1059a6a495
Make dev tools work with specs
2012-06-26 16:41:13 -07:00
Corey Johnson
a364fff7e6
meta-alt-i toggles docked dev tools
2012-06-26 16:41:13 -07:00
Nathan Sobo
b4d77fd107
Load user configuration as part of RootView initialization, before any editors are created
2012-06-20 16:06:45 -06:00
Corey Johnson & Nathan Sobo
951f76f2bf
Serialize root view state to a string of JSON when storing it on the window upon refresh
...
This avoid situations where arrays in the window state pointed to a different constructor than the current context's Array constructor.
2012-06-15 15:34:07 -06:00
Corey Johnson
fc025156d3
console.log 💩
2012-06-12 11:30:08 -07:00
Corey Johnson
8ab167fd00
Reloading when there are modified buffers pops up a dialog.
2012-06-12 10:52:11 -07:00
Corey Johnson
399fc71b3c
Make Atom SpacePen view's default to empty object (where needed)
2012-05-16 10:35:50 -07:00
Nathan Sobo
af2263f49b
Don't activate TreeView extension in window. It was breaking specs.
2012-05-07 19:46:49 -06:00
Corey Johnson
e4125448ec
Make RootView.initialize unaware of deserialization.
...
When RootView is created without a pathToOpen, no editor is created.
2012-05-07 17:51:08 -07:00
Corey Johnson
670717ca3b
RootView deactivates extensions when it is deactivated
2012-05-03 17:31:37 -07:00
Corey Johnson & Nathan Sobo
caaa517b8b
Load user's .atom config after root view is attached
2012-04-20 11:47:55 -07:00
Corey Johnson
56a55299be
💄
2012-04-19 18:13:05 -07:00
Corey Johnson & Nathan Sobo
8471977d17
💄
...
Nathan's code pee
2012-04-18 15:56:29 -07:00
Nathan Sobo
e89a2255cf
Tear down editors and unsubscribe from buffers on window unload to prevent exceptions when typing after reload
2012-04-18 11:01:30 -06:00
Corey Johnson & Nathan Sobo
dac91d1f29
Editor and RootView have deserialize class method
2012-04-12 16:26:59 -07:00
Corey Johnson & Nathan Sobo
877b4dc336
RootView constructor can be called with serialized view state data
...
Move the saving of serialized root view data to window.coffee. The window.startup method looks for window state on the atom object and instantiates the root view with that if it is present.
2012-04-12 14:47:51 -06:00
Corey Johnson
1efb712fd3
Rename App.coffee to Atom.coffee. This also required moving src/atom,spec/atom to src/app,spec/app
2012-04-03 10:33:24 -07:00