Jon Rohan
5b241c1e1c
In requireStylesheet, check loadedThemes for the required stylesheet
...
I've made requireStylesheet also check the loadedThemes for the
requiredStylesheet.
In the event that we have 2 stylesheets with the same name `editor.css`
and `editor.css` I want the `static/` directory stylesheet to be above
the userTheme stylesheet, so that proper cascading occurs. This commit
also adding class names to the styles.
2013-01-21 16:55:21 -08:00
Kevin Sawicki
ba7449411e
Throw error if grammar cannot be resolved for path
2013-01-21 16:48:13 -08:00
Kevin Sawicki
2c4a57c293
Guard against possibly null repo
2013-01-21 16:22:34 -08:00
Corey Johnson
32e281bcc6
Add getWordUnderCursor to Editor and EditSession
2013-01-21 15:19:01 -08:00
Corey Johnson
0a5e0a85f8
Using getCurrentWordBufferRange instead of getCurrentWord
2013-01-21 15:00:17 -08:00
Jon Rohan
e80a54f207
Merge branch 'dev' into css-theme-refactor
2013-01-21 14:59:56 -08:00
Corey Johnson
7df999dc32
Remove options.includeDelimiter
...
It was not being used anywhere
2013-01-21 13:27:59 -08:00
Corey Johnson
7fe6d09cbc
Merge remote-tracking branch 'origin/dev' into fuzzy
2013-01-21 12:42:14 -08:00
Kevin Sawicki
4f069ff12f
Merge pull request #128 from github/dev
...
Merge dev into master
2013-01-19 10:56:22 -08:00
Andy Delcambre
759fe2dd5b
Bind meta-= to autoindent currently selected rows
...
Closes #142
2013-01-18 11:33:20 -08:00
Derek Greentree
176ca529e3
Bind meta-S to save as in editor
...
Close #144
2013-01-18 11:29:34 -08:00
Kevin Sawicki
f386d5cc4b
Call fs.list() without prior call to fs.exists()
...
fs.list() returns an empty array if calle for a
non-existent or non-directory path.
2013-01-18 11:19:54 -08:00
Kevin Sawicki
9067f1fbb9
Return what function returns from measure
2013-01-17 23:01:53 -08:00
Jon Rohan
20e5b303a7
refactoring all the stylesheets into /Atom - Dark/
...
Conflicts:
.atom/themes/Atom - Dark/vim-mode.css
2013-01-17 22:11:45 -08:00
Kevin Sawicki
62f1155706
Don't prompt to save on close if buffer is opened elsewhere
...
Only prompt to save when the buffer is dirty and the last
open session on it is being destroyed.
2013-01-17 17:25:52 -08:00
Corey Johnson & Kevin Sawicki
9ff0776fbf
Store built parser as class variable
2013-01-17 16:50:25 -08:00
Kevin Sawicki
7f8a64b69c
Show window only after root view is attached
...
This prevents a white flicker when the page
starts to load.
2013-01-17 16:50:25 -08:00
Brian Lopez & Nathan Sobo
23e917147d
Make view deserialization work with arbitrary view classes
2013-01-17 16:32:28 -08:00
Brian Lopez & Nathan Sobo
b82e9df5f5
Fix crash when deserializing a pane without a wrapped view
2013-01-17 16:30:09 -08:00
Derek Greentree
7efe5888db
whitespace
2013-01-17 15:41:48 -08:00
Derek Greentree
b229dd21f4
fuzzy find files using content under cursor
2013-01-17 15:36:22 -08:00
Derek Greentree
3fc722b885
save -> Save
2013-01-17 12:01:10 -08:00
Kevin Sawicki
0c42ab71d7
Load all keymaps found in ~/.atom/keymaps
2013-01-13 14:56:25 -08:00
Kevin Sawicki
d47e59bc11
💄
2013-01-11 16:49:04 -08:00
Kevin Sawicki
eaa164e109
Use subscribe for window focus event handler
2013-01-11 10:37:33 -08:00
Kevin Sawicki
97b1bc5f09
editor:close-?-editors => editor:close-?-edit-sessions
2013-01-11 09:54:00 -08:00
Kevin Sawicki
3a582eab63
Display editor's grammar name in status bar
...
Clicking on the grammar name displays the list of
available grammars that can be switched to.
2013-01-10 17:51:15 -08:00
Kevin Sawicki & Nathan Sobo
2fb27bb2dd
Store pathToOpen using new atom.set/getWindowState api
...
When you use `setWindowState`, your data is saved across refreshes.
You can only store state that can be serialized to JSON.
2013-01-10 18:04:22 -07:00
Kevin Sawicki & Nathan Sobo
ac3c059246
Extract _.setValueForKeyPath to underscore extensions
2013-01-10 18:02:55 -07:00
Nathan Sobo
b0fe034c9a
Add autoflow package w/ autoflow:reflow-paragraph command
2013-01-10 17:29:41 -07:00
Kevin Sawicki
d27080cee6
Always set pathToOpen in RootView.initialize
...
Without this an untitled buffer will be opened when
Atom is reopened after being closed with no editors
open.
2013-01-10 16:24:40 -08:00
Kevin Sawicki
6d914cdc7a
Don't attach the TreeView if RootView's path to open is a file
2013-01-10 14:11:56 -08:00
Corey Johnson
c3a2b99b69
Merge pull request #124 from github/auto-indent-config
...
Auto-indent config
2013-01-10 11:02:54 -08:00
Corey Johnson
0c0d48b8f6
Add commands to toggle auto-indent options
2013-01-10 10:40:05 -08:00
Corey Johnson
ca41bf0709
Set auto-indent config defaults
2013-01-10 10:38:44 -08:00
Corey Johnson
d53572d54d
Rename editor.autoIndentPastedText to editor.autoIndentOnPaste
2013-01-10 09:42:20 -08:00
Corey Johnson
4f0e2c1e9b
Add editor.autoIndentPastedText config option
2013-01-10 09:31:57 -08:00
Corey Johnson
d55dfc8a6f
AutoIndent is a config property instead of a syntax property
2013-01-10 09:31:23 -08:00
Kevin Sawicki & Nathan Sobo
06e39595ba
Make RootView listen for events before loading packages
...
This is because RootView listens to some of its own events. It needs
to be first in line to handle its own events because package event
handlers might rely on tree view's event handlers having been run.
This also brings behavior more in line with what we'll experience in
specs.
2013-01-09 19:27:19 -07:00
Kevin Sawicki & Nathan Sobo
3db7af1edf
Don't show the tree view until the project has a path
2013-01-09 19:27:19 -07:00
Kevin Sawicki & Nathan Sobo
bb6bed85c6
Raise exception when destroyed repo is accessed
2013-01-09 17:12:15 -08:00
Kevin Sawicki & Nathan Sobo
caffda6027
Add Git.destroy() that frees native repository
2013-01-09 17:07:29 -08:00
Corey Johnson
21fa3e5a0f
autoIndent is stored as a syntax property
2013-01-09 16:26:57 -08:00
Corey Johnson
f5ee676e5e
Pass autoIndent as an option flag
...
Instead of querying EditSession for autoIndenting
2013-01-09 15:24:04 -08:00
Corey Johnson
261a8aae2d
Remove @autoIndent from Project and EditSession
2013-01-09 15:22:37 -08:00
Corey Johnson
d5a23f770f
Override meta-w to be a noop on tool-panels
2013-01-09 13:19:22 -08:00
Nathan Sobo
46331ded03
Merge remote-tracking branch 'origin/command-extensions' into dev
...
Conflicts:
spec/app/editor-spec.coffee
spec/app/root-view-spec.coffee
src/app/editor.coffee
src/extensions/strip-trailing-whitespace.coffee
2013-01-09 14:18:10 -07:00
Nathan Sobo
2c4da1b8dd
Merge branch 'snippets' into dev
...
Conflicts:
src/app/package.coffee
src/packages/snippets/src/snippets.coffee
2013-01-09 13:10:11 -07:00
Kevin Sawicki
ba614d5549
Throw error from GitRepository constructor
2013-01-09 11:53:13 -08:00
Kevin Sawicki
3e7f710b35
💄
2013-01-09 11:07:45 -08:00