Commit Graph

1204 Commits

Author SHA1 Message Date
Nathan Sobo
b7fd9debd6 Only call once after registering extensions 2012-12-14 17:03:12 -08:00
Corey Johnson & Nathan Sobo
cc44508b58 Register extensions in core.extensions on Config.load 2012-12-14 16:38:44 -08:00
Corey Johnson & Nathan Sobo
e6362af711 Rename subscription.destroy to subscription.cancel 2012-12-14 16:38:04 -08:00
Corey Johnson & Nathan Sobo
8a675fd538 Use config.update w/ a key path everywhere we update the config 2012-12-14 15:21:36 -08:00
Corey Johnson & Nathan Sobo
827d6b57fb Use observeConfig in Editor 2012-12-14 15:01:31 -08:00
Corey Johnson & Nathan Sobo
55dc3e1cdf Merge branch 'master' into config
Conflicts:
	spec/app/project-spec.coffee
	src/extensions/wrap-guide/src/wrap-guide.coffee
2012-12-14 14:14:50 -08:00
Kevin Sawicki & Nathan Sobo
b91c353d2b Add View#observeConfig as a space-pen extension 2012-12-14 14:08:57 -08:00
Kevin Sawicki
0bb1442652 Clear loading message when setting error 2012-12-14 10:17:26 -08:00
Kevin Sawicki
d5c6acd2ce 💄 2012-12-13 09:58:06 -08:00
Kevin Sawicki & Nathan Sobo
49d817a9c4 Observe the config from tree view to show/hide git-ignored files 2012-12-12 18:19:21 -08:00
Nathan Sobo
0a1b389994 Add Config#observe, which watches a key path for changes 2012-12-12 18:19:02 -08:00
Corey Johnson & Kevin Sawicki
a6a05b6ff4 Remove directories from fuzzy-finder 2012-12-12 17:25:45 -08:00
Corey Johnson & Kevin Sawicki
6f6dfe78a9 Clear timeout when select-list is cancelled 2012-12-12 17:21:08 -08:00
Nathan Sobo
aedc86705e Merge branch 'master' into config 2012-12-12 16:48:58 -08:00
Nathan Sobo
c19c9e0d1f Save config changes on update 2012-12-12 15:49:01 -08:00
Corey Johnson & Kevin Sawicki
f8dd51cab6 Increase input throttle to 200ms 2012-12-12 15:48:59 -08:00
Corey Johnson & Kevin Sawicki
e15306d8cc Clear array when window receives focus 2012-12-12 15:46:21 -08:00
Corey Johnson & Kevin Sawicki
0c68295ec6 Empty fuzzy-finder list on cancel 2012-12-12 15:40:36 -08:00
Nathan Sobo
3c2b84a46d Add config.editor.fontSize 2012-12-12 15:23:36 -08:00
Corey Johnson & Kevin Sawicki
0b239c8f37 Debounce filter input on select lists 2012-12-12 14:52:31 -08:00
Nathan Sobo
8088e4d90c Add config.editor.invisibles field for customizing invisible glyphs. 2012-12-12 14:45:58 -08:00
Corey Johnson & Kevin Sawicki
77e4e41c7b Check all path segments for ignored names 2012-12-12 13:58:15 -08:00
Nathan Sobo
db0a39679c Remove showInvisibles constructor param on Editor
And remove `showInvisibles` state from the `RootView` now that it's managed via `config`.
2012-12-12 13:55:27 -08:00
Nathan Sobo
b3303bc21d Add config.editor.showInvisibles 2012-12-12 13:50:58 -08:00
Corey Johnson & Kevin Sawicki
9931441b9a Clear list when showing loading or error message 2012-12-12 13:32:53 -08:00
Nathan Sobo
2a901e78f9 Identify editor when subscribing to window resize 2012-12-12 13:28:29 -08:00
Corey Johnson & Kevin Sawicki
404f637101 Populate fuzzy-finder asynchronously 2012-12-12 12:26:39 -08:00
Nathan Sobo
d89549c58a Load config from config.json. Set theme with config.core.theme. 2012-12-12 12:15:08 -08:00
Nathan Sobo
9c31ab3a79 Add global config object. Config#load loads user's atom.coffee. 2012-12-12 11:40:09 -08:00
Corey Johnson & Nathan Sobo
ab96129ef6 Cleanup TokenizedBuffer 2012-12-11 17:17:06 -08:00
Kevin Sawicki
d0a213b2b1 Move octicon values to content property 2012-12-11 17:13:25 -08:00
Kevin Sawicki
707996dcb1 Move branch icon value to content attribute 2012-12-11 16:57:45 -08:00
Kevin Sawicki
bb7b3b8a6d Add close icon to tabs 2012-12-11 16:57:45 -08:00
Corey Johnson & Nathan Sobo
4e9dc5fe71 Merge branch 'master' of https://github.com/github/atom 2012-12-11 16:51:35 -08:00
Corey Johnson & Nathan Sobo
dc60017c02 Async-tokenize remaining buffer changes that exceed chunk size 2012-12-11 16:51:05 -08:00
Corey Johnson & Nathan Sobo
7ead4d7390 Inactive tabs change their title when their file is renamed
We were turning off all subscriptions on an edit session from editor when it became inactive. Now we only turn off subscriptions made by the editor, leaving the tab's subscription intact.
2012-12-11 16:16:18 -08:00
Kevin Sawicki
b848379420 Support scrolling to buffer and screen positions 2012-12-11 15:54:01 -08:00
Kevin Sawicki
50e4602f7c Use getPath() internally 2012-12-10 17:44:59 -08:00
Kevin Sawicki
6954edd8a2 Show status icon for staged changes 2012-12-10 10:28:53 -08:00
Kevin Sawicki
97533a60c6 Update status bar when window receives focus
This is common when a different app is switched to
to perform a branch checkout or a commit and so the
status icon and current branch should be updated when
the window regains focus.
2012-12-10 09:50:09 -08:00
Corey Johnson & Nathan Sobo
1dde562c6b Don't explode when pasting on fractionally-indented lines w/ hard tabs 2012-12-06 12:01:59 -07:00
Corey Johnson & Nathan Sobo
de5bd91055 Paste indent normalization works with on lines w/ mixed indentation
Normalizing the indent no longer explodes when pasting on a line that has mixed tabs and spaces when the edit session is using hard tabs.
2012-12-06 11:59:23 -07:00
Nathan Sobo
4684bc5942 Redraw gutter when switching to a shorter buffer
This ensures that we don't leave too many line numbers on the screen for the current file.
2012-12-04 13:25:13 -07:00
Corey Johnson
5d99824deb autoscroll to results in command panel preview list 2012-12-03 10:23:28 -08:00
Nathan Sobo
5b143d4b93 Add 'autosave' option, which saves when unfocusing or switching tabs 2012-11-30 14:11:27 -07:00
Corey Johnson & Nathan Sobo
d4f44f6554 Give selection view '.selection' class and region divs '.region' class 2012-11-30 12:52:38 -07:00
Corey Johnson & Nathan Sobo
c7363b3347 Highlight selection w/ animation when autoscroll is true 2012-11-30 12:44:12 -07:00
Corey Johnson & Nathan Sobo
be2b9ee100 Store autoscroll state on Selection and Cursor models 2012-11-30 12:08:41 -07:00
Corey Johnson & Nathan Sobo
b9e847d290 Remove logging 2012-11-30 11:47:36 -07:00
Corey Johnson & Nathan Sobo
ac0e3095ec Only autoscroll selections to center if they are offscreen 2012-11-30 11:40:27 -07:00