Commit Graph

41 Commits

Author SHA1 Message Date
Garen Torikian
2357f46761 Fix block comments in src 2013-05-01 16:58:43 -07:00
Garen Torikian
e478d9b7a0 Add more corrections off of the #Internal syntax 2013-04-18 13:38:26 -07:00
Garen Torikian
4c56e8bb57 Merge branch 'master' into api/docs 2013-04-14 09:43:06 -07:00
Garen Torikian
0c5e38680d Internalize a bunch of methods 2013-04-12 14:37:21 -05:00
Garen Torikian
7e5b6bf5c4 Massive updates 2013-04-11 21:11:12 -05:00
Kevin Sawicki
4e59605728 Don't bubble move-to-top/bottom events
This will cause the editor to scroll as well when a select
list is a child of an editor such as in the autocomplete view.
2013-04-11 10:39:19 -07:00
Kevin Sawicki
8993258e74 Update display when cancelled
This will force the rendered line to be cleared
so it doesn't flicker the next time the list is opened.
2013-04-08 12:54:56 -07:00
Kevin Sawicki
f3e1a72882 Only populate list from timeout when still on DOM 2013-04-02 13:14:56 -07:00
Kevin Sawicki
6d2805d782 Drop extension from requireStylesheet() 2013-03-26 00:15:32 -04:00
Justin Palmer
0624ba6d3f rename remaining static css files to less 2013-03-11 10:02:19 -07:00
Kevin Sawicki
e9747a8f9c Use outer height of item scrolling to item 2013-02-04 14:15:12 -08:00
Kevin Sawicki
22aeda6f1c Add move-to-top/bottom support to select list 2013-01-25 17:31:45 -08:00
Kevin Sawicki
fb4623d5d3 Don't populate list until elements have been set
Closes #174
2013-01-25 10:28:07 -08:00
Kevin Sawicki
79ae6a4895 Clear mini editor base select list cancelled()
Clearing the mini editor when closing is something
all sub-classes were already doing so it makes sense
to pull it up to the base class as the default
cancelled() implementation that can still be overridden
if needed.
2013-01-23 09:40:05 -08:00
Kevin Sawicki
001bb3a862 Restore focus after select list detaches
Previously if the select list was cancelled with no open
editors the mini editor would be given focus before being
detached causing nothing to have focus after detach completed.

Now the select list tracks the previously focused elements and
restores focus to that element at the end of the cancel.
2013-01-23 09:32:49 -08:00
Nathan Sobo
0a08d03c68 Rename Buffer, TokenizedBuffer, and Selection events 2013-01-04 13:59:11 -07:00
Kevin Sawicki & Nathan Sobo
e65c2df093 Don't select first item of SelectList twice 2013-01-04 12:39:20 -07:00
Kevin Sawicki
acf5aeb884 Cancel select list when an empty selection is confirmed 2012-12-28 13:49:13 -08:00
Kevin Sawicki
0ac47f8ec0 Use select list in autocomplete package 2012-12-28 13:24:31 -08:00
Corey Johnson & Nathan Sobo
f62ef2e68b Lower inputThrottle on Select Lists to 50ms 2012-12-17 16:37:27 -08:00
Kevin Sawicki
0bb1442652 Clear loading message when setting error 2012-12-14 10:17:26 -08:00
Corey Johnson & Kevin Sawicki
6f6dfe78a9 Clear timeout when select-list is cancelled 2012-12-12 17:21:08 -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
Corey Johnson & Kevin Sawicki
0b239c8f37 Debounce filter input on select lists 2012-12-12 14:52:31 -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
Corey Johnson
61aecfa58f Backfill specs for SelectList 2012-11-16 11:34:52 -08:00
Corey Johnson
046233cf28 Remove 💩 code 2012-11-16 11:21:24 -08:00
Corey Johnson
040575f0ae Add error div to select-list 2012-11-16 11:04:56 -08:00
Nathan Sobo
d4b6ba4c11 Make SelectList handle prefixed move-up and move-down events 2012-10-05 10:43:24 -10:00
Nathan Sobo
fc318ce5e9 Correctly focus fuzzy-finder/event-palette when triggered while other is showing
When canceling the fuzzy finder or event palette, we should only focus the root view / previous element if the mini editor is still focused. Otherwise, it was a change of focus elsewhere that caused us to be cancelled, and we don't want to interfere with that focus change.
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
2991048c1e SelectList allows list items to be clicked 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