Commit Graph

627 Commits

Author SHA1 Message Date
Kevin Sawicki
8b2c088bc9 Add support for escaped characters in TOML strings 2013-02-24 19:40:47 -08:00
Kevin Sawicki
fca182a470 Add initial TOML support 2013-02-24 09:56:26 -08:00
Kevin Sawicki
a712f00d7e Put expects in a runs block 2013-02-22 21:48:50 -08:00
Corey Johnson & Kevin Sawicki
c7ff431d13 Don't rely on specific time in EditorStats spec 2013-02-22 17:17:07 -08:00
Kevin Sawicki
297ee396ca Remove empty package-generator keymap 2013-02-22 11:44:23 -08:00
Kevin Sawicki
69b93c5397 Bind ctrl-[] to collapse and expand directories 2013-02-20 16:48:40 -08:00
Kevin Sawicki
932f2c4603 Use RootView.eachEditor to attach snippet commands
Previously the 'editor:attached' was used which would not
fire for editors already attached and so any editors
opened before the snippets package was loaded would not
have snippets enabled.
2013-02-20 12:06:03 -08:00
Kevin Sawicki
3532631002 Remove unused require 2013-02-19 21:12:58 -08:00
Corey Johnson & Nathan Sobo
47aa74133f Remove unneeded calls to rootView.deactivate 2013-02-19 18:26:51 -07:00
Corey Johnson & Nathan Sobo
9e8831f710 RootView.initialize no longer assigns window.rootView or calls open 2013-02-19 18:26:50 -07:00
Corey Johnson & Nathan Sobo
0b5ea8578f Eliminate rootView.project references. 2013-02-19 18:26:50 -07:00
Nathan Sobo
7f2747ead0 Make project a global and refactor startup process 2013-02-19 18:26:50 -07:00
Corey Johnson & Kevin Sawicki
e4f87d522f Rename Task.terminate to Task.abort 2013-02-19 10:57:04 -08:00
Corey Johnson & Kevin Sawicki
7db83662b5 Only terminate worker after the worker completes work 2013-02-19 10:57:04 -08:00
Kevin Sawicki
10430842b0 Use binary icon for .woff and .DS_Store extensions 2013-02-16 09:54:20 -08:00
Kevin Sawicki
54812a6ff8 Bind l to insert link in markdown 2013-02-15 15:18:13 -08:00
Kevin Sawicki
2910f7798a Always use global rootView object
This removes the last few places where rootView was
looked up via jQuery selector and instead just uses
the rootView property available on the window.
2013-02-15 09:56:03 -08:00
Kevin Sawicki
ef4449d1ed Don't store package state in command-panel package
The package loader now only calls serialize if activate
has been called and reuses the previous state if the package
is never activated.
2013-02-14 17:30:45 -08:00
Kevin Sawicki & Nathan Sobo
992fbaafbc Recycle bracket highlight views 2013-02-14 18:08:26 -07:00
Corey Johnson
35ff2744ac Attach the tree view if the project has no serialized state 2013-02-14 16:40:24 -08:00
Kevin Sawicki & Nathan Sobo
3bd98ff182 Calculate pixel position of both bracket highlights before adding them
Before, we were causing a layout to occur twice because we needed to
read the DOM for the pixel position of the second highlight view after
invalidating the DOM when adding the first highlight view.
2013-02-14 17:30:08 -07:00
Kevin Sawicki
1f9e5aea06 Clear mini editor when detaching 2013-02-14 14:36:27 -08:00
Kevin Sawicki
77e9377865 Close command panel on core:cancel event 2013-02-14 12:49:33 -08:00
Kevin Sawicki
aa69452552 Focus rootView directlly instead of by selector 2013-02-14 12:31:12 -08:00
Kevin Sawicki
363a1bbbab Remove unused require 2013-02-14 12:27:39 -08:00
Kevin Sawicki
21a56b991c Move scroll logic to individual views 2013-02-14 11:25:08 -08:00
Kevin Sawicki
d5759752b5 Remove unneeded rootView variable 2013-02-14 11:00:45 -08:00
Kevin Sawicki
eb179af0d4 Merge pull request #271 from github/super-command-panel
Super command panel
2013-02-14 10:13:40 -08:00
Kevin Sawicki
bcaa1a6819 Allow preview of editor if grammar is source.gfm
Previously only markdow file extensions were considered
but any editor whose grammar is GitHub Markdow should have
preview enabled.

Closes #277
2013-02-14 09:49:03 -08:00
Kevin Sawicki
ea34ad0608 Expand/collapse result with ctrl-[] 2013-02-14 09:30:57 -08:00
Kevin Sawicki
b8b989a94c Use editor.preferredLineLength as default column
This config value will be used when no custom column
exists for the current path.
2013-02-14 09:14:05 -08:00
Kevin Sawicki
48407da6aa Subscribe to preview list events 2013-02-13 23:05:21 -08:00
Kevin Sawicki
fd2edb1d4d Only select last operation if path is expanded 2013-02-13 23:02:02 -08:00
Kevin Sawicki
5ec2fb6866 Update specs for new path view layout 2013-02-13 22:52:28 -08:00
Kevin Sawicki
122e0e5f91 Use pathDetails outlet for mousedown event 2013-02-13 22:49:34 -08:00
Kevin Sawicki
156d96a2e7 Toggle expansion on core:confirm event 2013-02-13 22:47:01 -08:00
Kevin Sawicki
528050adbb Remove unneeded rootView ivar 2013-02-13 22:33:56 -08:00
Kevin Sawicki
cc10ae4bdb Only set selected background on path details
Previously the background of the entire li was
changed when selected.
2013-02-13 22:33:29 -08:00
Kevin Sawicki
2d4ea98c0a Always retain selection on path node when collapsing 2013-02-13 22:09:13 -08:00
Kevin Sawicki
59a613de73 Focus preview list after expanding/collapsing all 2013-02-13 22:08:30 -08:00
Kevin Sawicki
b626ce91a9 Don't select operations if path is collapsed 2013-02-13 22:06:00 -08:00
Kevin Sawicki
1cc6429dc7 Select path when collapsed via command 2013-02-13 21:57:42 -08:00
Kevin Sawicki
20d7956cc1 Expand result with right arrow key 2013-02-13 21:49:48 -08:00
Kevin Sawicki
4088d33dc9 Allow paths to be selected
This will allow them to be navigated to with the
keyboard and collapsed or expanded.
2013-02-13 21:42:41 -08:00
Kevin Sawicki
61481fc1d8 Execute operation from OperationView 2013-02-13 19:20:43 -08:00
Kevin Sawicki
7c4c44df5a Subscribe to collapse event in PathView 2013-02-13 18:49:39 -08:00
Kevin Sawicki
5b1acb5188 Move collapse result command to PathView 2013-02-13 18:47:15 -08:00
Kevin Sawicki
9dcb124ff7 Move path selection to view class 2013-02-13 18:30:08 -08:00
Kevin Sawicki
e03a669413 Collapse/expand views directly 2013-02-13 18:20:48 -08:00
Kevin Sawicki
72bbe3323b Create views for path and operations
The CommandPanelView is becoming bloated and this is the
beginning of breaking out some of the logic into separate
views.
2013-02-13 18:11:30 -08:00