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
d8461641b9
Display matches when more than one tag is found
2012-12-13 17:12:42 -08:00
Kevin Sawicki
1686c97244
Add initial support for jump to declaration
2012-12-13 15:22:23 -08:00
Kevin Sawicki
82dd3ddf73
Remove extra it
2012-12-13 10:11:37 -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
Nathan Sobo
aedc86705e
Merge branch 'master' into config
2012-12-12 16:48:58 -08:00
Nathan Sobo
7bf0022d3f
Make the font size 16 in specs, because a few specs depend on it
2012-12-12 16:39:30 -08:00
Nathan Sobo
ff468371ae
Nuke the config between specs
2012-12-12 15:58:50 -08:00
Nathan Sobo
c9b7618ea0
Move custom invisible glyph spec to editor spec
2012-12-12 15:55:12 -08:00
Nathan Sobo
c19c9e0d1f
Save config changes on update
2012-12-12 15:49:01 -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
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
Corey Johnson & Kevin Sawicki
404f637101
Populate fuzzy-finder asynchronously
2012-12-12 12:26:39 -08:00
Nathan Sobo
9c31ab3a79
Add global config
object. Config#load
loads user's atom.coffee.
2012-12-12 11:40:09 -08:00
Kevin Sawicki
d0a213b2b1
Move octicon values to content property
2012-12-11 17:13:25 -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
Kevin Sawicki
339eeac0d8
Remove unneeded spyOn calls
2012-12-11 15:58:59 -08:00
Kevin Sawicki
b848379420
Support scrolling to buffer and screen positions
2012-12-11 15:54:01 -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
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
ac0e3095ec
Only autoscroll selections to center if they are offscreen
2012-11-30 11:40:27 -07:00
Corey Johnson & Nathan Sobo
f9c7c08641
Selected results of a find operation are centered in the viewport
2012-11-29 18:52:34 -07:00
Corey Johnson & Nathan Sobo
702b8047e4
Unwatch all paths after each test
2012-11-29 15:31:05 -08:00
Corey Johnson
69485724cd
Buffer emits a contents-modified
event when it's contents differ from disk.
...
Including when the Buffer's file is removed via another process.
2012-11-29 12:05:05 -08:00
Corey Johnson
ada14a1cba
No longer read a File's contents from disk on creation
2012-11-29 11:26:42 -08:00
Corey Johnson
ae00e888fd
un-f buffer spec
2012-11-29 10:36:56 -08:00
Corey Johnson
02c441e937
If $native.read fails to open a file as UTF8, it opens it as ascii
...
This is a temporary solution to allow Atom to open binary files. The ultimate goal would be to have a hex-editor built into atom.
2012-11-29 10:34:22 -08:00
Corey Johnson
04c4c45190
💄
2012-11-29 08:53:39 -08:00
Corey Johnson & Nathan Sobo
e98b4f9a9b
Use file contents instead of md5 to determine disk change
2012-11-28 17:16:44 -08:00
Corey Johnson & Nathan Sobo
2f6566d1c5
Make jasmine timeout quicker (the right way)
2012-11-28 17:15:35 -08:00
Corey Johnson & Nathan Sobo
db78d6a7e5
Ensure PathWatcher isn't watching anything at the end of each spec
...
This replaces the old functionality of ensuring no files or directories have subscriptions in javascript. We allow this now, but we just don't allow leaked watches at the native layer.
2012-11-28 17:16:15 -07:00
Corey Johnson & Nathan Sobo
ac84a8ab0a
Destroy buffer to avoid leaking a path watch
2012-11-28 17:13:32 -07:00
Corey Johnson & Nathan Sobo
ce82439420
Make jasmine time out faster on waitsFor
blocks
2012-11-28 16:56:30 -07:00
Corey Johnson & Nathan Sobo
d6009df44e
Buffers retain path when file is deleted and can be re-saved
...
Path watching resumes once the file is saved again. This commit allows files to be created for as-yet nonexistent paths. We won't call `$native.watchPath` until we have at least 1 subscription to the file in JS and the file exists on disk.
Also, we moved execution of the path watcher callbacks until after the callbacks data structure is updated in order to avoid confusing behavior in specs.
2012-11-28 16:55:10 -07:00
Corey Johnson & Nathan Sobo
eb0414f4e7
Emit a contents-conflicted` event instead of contents-change-on-disk
2012-11-28 15:21:12 -07:00
Corey Johnson & Nathan Sobo
d5d4751776
Don't set Buffer's file to null when the file is deleted (retain path)
2012-11-28 13:40:37 -07:00
Corey Johnson & Nathan Sobo
d6168b9954
Add EventEmitter#one
which adds a one-shot subscription
2012-11-28 13:40:09 -07:00