Commit Graph

1555 Commits

Author SHA1 Message Date
Corey Johnson
8eb9d6629c Remove unused methods from token.
The refactoring of Editor.buildLineHtml removed the need for these methods
2012-10-10 14:45:46 -07:00
Kevin Sawicki
f694d1d2c8 Update ruby bundle to commit 77dc5d13cc 2012-10-10 13:48:46 -07:00
Kevin Sawicki
6dc5a05f35 Expect var to have modifier class instead of type
This changed in the underlying JavaScript bundle
2012-10-09 17:55:21 -07:00
Kevin Sawicki
2aa3667586 Update expected var selector to storage.modifier.js
This changed in the underlying JavaScript bundle
2012-10-09 17:49:53 -07:00
Kevin Sawicki
1694f74bcb Expect var to be a storage.modifier.js type in spec 2012-10-09 17:46:26 -07:00
Kevin Sawicki
1be1d03eac Update fs spec for new traverseTree callbacks 2012-10-09 17:41:32 -07:00
Kevin Sawicki
8b61e6a9df Split out file and directory callbacks 2012-10-09 17:41:32 -07:00
Kevin Sawicki
6dcbdfbf55 Update fs spec for new traverseTree callback format 2012-10-09 17:41:32 -07:00
Corey Johnson
701631e7cb Update spec to use new ruby scopes 2012-10-09 17:23:01 -07:00
Corey Johnson
6b5c3dc1cf Remove unused variable that causes specs to fail 2012-10-09 17:23:00 -07:00
Corey Johnson
7afbac5a4e Merge branch 'transpose' 2012-10-09 11:03:26 -07:00
Corey Johnson
a2f2e388d5 Test 💄
Instead of inserting text into an existing buffer, I replaced all text in the buffer to make the test easier to understand.
2012-10-09 11:02:39 -07:00
Will Farrington
4b3505d9b5 Disable buffer modified indicator if buffer content matches content on disk 2012-10-08 17:55:35 -10:00
Chris Wanstrath
f5f18abbf0 ctrl-t: transpose 2012-10-08 20:08:07 -07:00
Will Farrington
214735f1d7 add some specs for buffer modified indicator 2012-10-07 09:48:46 -10:00
Kevin Sawicki
f6c29a1d51 Add core:page-up and core:page-down support to tree view 2012-10-05 15:50:32 -07:00
Kevin Sawicki
4b20a26974 Add core:move-to-top and core:move-to-bottom support to tree view 2012-10-05 15:30:54 -07:00
Nathan Sobo
e38367df8c Merge branch 'master' into event-palette
Conflicts:
	src/app/editor.coffee
2012-10-05 11:09:17 -10:00
Nathan Sobo
c09f7ebc60 Fix the command panel's handling of move-up/move-down
Forgot to add the core: prefix to this area
2012-10-05 10:55:55 -10:00
Nathan Sobo
d4b6ba4c11 Make SelectList handle prefixed move-up and move-down events 2012-10-05 10:43:24 -10:00
Nathan Sobo
a180e6d703 Merge branch 'master' into event-palette
Conflicts:
	spec/extensions/fuzzy-finder-spec.coffee
	src/app/editor.coffee
	src/extensions/fuzzy-finder/fuzzy-finder.coffee
2012-10-05 10:29:10 -10:00
Nathan Sobo
eae7fcdd97 Fix breaking due to "root-view:" prefixed events 2012-10-05 10:07:37 -10:00
Nathan Sobo
082a666a92 TreeView's move-up/down responds to core:move-up/down 2012-10-05 10:07:37 -10:00
Nathan Sobo
9906dd41b4 Give editor-specific events the "editor:" prefix 2012-10-05 10:07:37 -10:00
Nathan Sobo
16bf8d3c3f Fix fuzzy-finder spec 2012-10-05 10:07:37 -10:00
Nathan Sobo
67c6ed8de7 Prefix "move-*" events with "core:"
I want to prefix all custom events for better categorization and to
distinguish them from built-in webkit events
2012-10-05 10:07:36 -10:00
Kevin Sawicki
c30220ae80 Uncomment lines that match non-whitespace prefix of comment regex 2012-10-04 15:37:28 -07:00
Nathan Sobo
6bfffcac55 Clear the miniEditor when showing the event palette 2012-10-04 10:26:07 -10:00
Nathan Sobo
c57e448ddd Un-F 2012-10-04 10:26:07 -10:00
Nathan Sobo
a895aa0826 Ctrl-enter toggles event palette (hides when showing)
I changed the event name to event-palette:toggle because ctrl-enter
should hide the event palette when it is showing. Previously that
broke, because we would try to re-show the event palette.
2012-10-04 10:26:07 -10:00
Nathan Sobo
66c997f75d Make EventPalette a SelectList subclass 2012-10-04 10:26:07 -10:00
Nathan Sobo
4f43169586 Un-F 2012-10-04 10:26:07 -10:00
Nathan Sobo
1e9b40a6ea Select the first list item after changing the list filter 2012-10-04 10:26:07 -10:00
Nathan Sobo
ebad961b20 More conversion of FuzzyFinder to a SelectList subclass 2012-10-04 10:26:06 -10:00
Nathan Sobo
2991048c1e SelectList allows list items to be clicked 2012-10-04 10:26:06 -10:00
Nathan Sobo
74c5be4632 Convert more fuzzy finder behavior to inherit from SelectList 2012-10-04 10:26:06 -10:00
Nathan Sobo
7f3165fa7b When the select list is cancelled or its editor loses focus, it detaches itself 2012-10-04 10:26:06 -10:00
Nathan Sobo
6450b6c96f Select list wraps around when handling move-up / move-down events 2012-10-04 10:26:06 -10:00
Nathan Sobo
149889abfc Start converting fuzzy finder to a subclass of SelectList 2012-10-04 10:26:06 -10:00
Nathan Sobo
9e6fc44d39 SelectList handles 'core:confirm' and 'core:cancel' events 2012-10-04 10:26:06 -10:00
Jerry Cheung & Nathan Sobo
b5cb125b7f Select list scrolls to selected item on move-up/move-down 2012-10-04 10:26:06 -10:00
Jerry Cheung & Nathan Sobo
a3f25fbc9b Start on SelectList, a common base class for filterable lists
Like autocompleter, fuzzy-finder, and event palette
2012-10-04 10:26:06 -10:00
Nathan Sobo
389552c057 Can trigger an event by clicking it in the list 2012-10-04 10:26:06 -10:00
Nathan Sobo
0ecdabb023 Pressing enter emits an event on the previously focused element 2012-10-04 10:26:06 -10:00
Nathan Sobo
1b013cc029 Add ability to move through select list and 'event-palette:cancel' event 2012-10-04 10:26:06 -10:00
Nathan Sobo
3d79100877 Make the event palette an overlay. 2012-10-04 10:26:06 -10:00
Nathan Sobo
fff0e623d3 Focus the mini-editor on attach 2012-10-04 10:26:06 -10:00
Nathan Sobo
eaaf6fc9f0 Add event-palette. Ctrl-enter brings up a list of all events for focused element
No fuzzy finding just yet. This theme of a fuzzy-filterable list is common enough now that I think I want to extract it. We do it in the fuzzy-finder for buffers and files, as well as the autocomplete menu.
2012-10-04 10:26:05 -10:00
Nathan Sobo
7b1fe94e47 Add $.fn.document, which associates event-listeners with descriptions
`$.fn.events` now returns an array of event-name/description pairs.
2012-10-04 10:26:05 -10:00
Nathan Sobo
96c9f0bc36 Add $.fn.events, which returns a list of all handled events 2012-10-04 10:26:05 -10:00