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
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
43658ddc52
Center position where cursor is being set to
2012-12-11 15:38:11 -08:00
Kevin Sawicki
0e40580a28
Use internal getPath() method
2012-12-11 09:56:38 -08:00
Kevin Sawicki
339f3e55b7
💄
2012-12-10 17:46:59 -08:00
Kevin Sawicki
50e4602f7c
Use getPath() internally
2012-12-10 17:44:59 -08:00
Kevin Sawicki
1c47423044
💄
2012-12-10 17:44:17 -08:00
Kevin Sawicki
471d512844
💄
2012-12-10 17:17:10 -08:00
Kevin Sawicki
8ea568df2f
💄
2012-12-10 17:04:18 -08:00
Kevin Sawicki
c78ccf3ede
Read index before checking status
2012-12-10 11:47:26 -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
9945c5ebbb
CommandPanel commands can only be undone if they change the buffer
2012-12-05 13:20:44 -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
baebc00a7f
fix spec bug
2012-12-03 11:07:11 -08:00
Corey Johnson
b4f85621fb
remove debug logging
2012-12-03 11:03:00 -08: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
f09fefb780
Selection color is set in themes
2012-11-30 12:44:19 -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
Corey Johnson & Nathan Sobo
f9c7c08641
Selected results of a find operation are centered in the viewport
2012-11-29 18:52:34 -07:00
Nathan Sobo
4d63712b52
Calls to EventEmitter#pause
and #resume
can be nested
2012-11-29 18:51:27 -07:00
Corey Johnson & Nathan Sobo
7eb1f14f05
Don't need to assign retainSelection
on the SelectionView
anymore
2012-11-29 17:46:58 -07:00
Corey Johnson & Nathan Sobo
702b8047e4
Unwatch all paths after each test
2012-11-29 15:31:05 -08:00
Corey Johnson & Nathan Sobo
290fbfadf8
Change keymap scheme for tool panels.
...
meta-p toggle event palette (use this to figure out what we changed)
meta-\ toggle treeview
meta-shift-\ focus current file in treeview
meta-; command panel
meta-: command panel (focus results list)
meta-m markdown preview
meta-j jump to symbol (outline view)
escape always closes a tool panel
meta-escape restore focus to active editor
2012-11-29 15:18:07 -08:00
Corey Johnson & Nathan Sobo
395acaf069
The CommandPanel allows \/
inside of regexes
2012-11-29 14:33:59 -08:00
Nathan Sobo
00832b08bb
Allow editor to be focused when it is clicked
2012-11-29 13:57:29 -07:00
Nathan Sobo
4b88a9f5ea
Expanded snippets are destroyed when the cursor leaves a tab stop
...
For this to work, I needed to make the updating of anchors transactional. Now, all anchors are updated and *then* they emit their events. That way when the cursor moves based on the user typing, the tab stop they're in has a chance to expand before we handle the move event. This prevents spurious cancellation of the snippet when typing on a tab stop.
2012-11-29 13:39:00 -07:00
Nathan Sobo
833ccb30ab
Pass old and new screen position with Anchor/Cursor move events
2012-11-29 13:39:00 -07:00
Nathan Sobo
91e899456a
Rename 'change-screen-position' event to 'moved' on Anchor and Cursor
2012-11-29 13:39:00 -07: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
Nathan Sobo
747d62b032
Fix triggering of change event after file resurrection
2012-11-29 12:01:16 -07:00
Nathan Sobo
98ef054438
💄
2012-11-29 12:01:16 -07:00
Corey Johnson & Nathan Sobo
2cc73b0285
Print exception in error message when an extension fails to load
2012-11-29 12:01:16 -07:00
Corey Johnson
ae00e888fd
un-f buffer spec
2012-11-29 10:36:56 -08:00
Corey Johnson
5c4079a2c8
Use NSASCIIStringEncoding instead of NSNonLossyASCIIStringEncoding
2012-11-29 10:36:16 -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
0f0ff425f4
Show stack trace when an extension fails to load
2012-11-29 08:54:08 -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