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
Kevin Sawicki
23e7139ed1
Auto confirm when only one match exists
2012-10-03 13:55:38 -07:00
Kevin Sawicki
5d86b1e818
💄
2012-10-03 10:03:19 -07:00
Kevin Sawicki
66c13ce2c9
Create hasFocus method
2012-10-03 10:00:23 -07:00
Kevin Sawicki
2381cb650f
💄
2012-10-03 09:51:49 -07:00
Kevin Sawicki
09bf000d8f
Select created folder in tree view
2012-10-03 09:49:53 -07:00
Kevin Sawicki
58515b2097
Focus tree view after creating a directory
2012-10-03 08:20:06 -07:00
Kevin Sawicki
282802ac6c
Scroll auto complete view with editor window
2012-10-02 12:51:06 -07:00
Kevin Sawicki
cc90d69975
Remove unused variable
2012-10-02 10:46:14 -07:00
Kevin Sawicki
8cb84f71eb
Add wrap guide and markdown preview to default config
2012-10-02 10:43:49 -07:00
Kevin Sawicki
189e3be5ae
Wrap around fuzzy finder when at top or bottom
2012-10-02 10:39:35 -07:00
Kevin Sawicki
f51c5dffed
Include trailing slash when checking for dir segment
2012-10-01 22:50:56 -07:00
Kevin Sawicki
2b3991d74e
Use tree-view fixtures dir in tree-view specs
2012-10-01 19:18:13 -07:00
Kevin Sawicki
73653b5fa8
Doc how line highlighting can be tweaked
2012-10-01 15:59:41 -07:00
Kevin Sawicki
b7f32036c2
Change editor-selection-change event name to selection-change
2012-10-01 15:44:58 -07:00
Kevin Sawicki
edfd61c702
Remove unneeded class addition
2012-10-01 15:44:58 -07:00
Kevin Sawicki
41cdf130fb
Update highlighted line when editor selection changes
2012-10-01 15:44:58 -07:00
Kevin Sawicki
c7361d487f
Update cursor line when selection screen range changes
2012-10-01 15:44:58 -07:00
Kevin Sawicki
2bea67057b
Add spec for line highlight after backspace
2012-10-01 15:44:58 -07:00
Kevin Sawicki
f2306f444a
💄
2012-10-01 15:44:58 -07:00
Corey Johnson
887720e4de
[fail] added failing gutter spec
...
When you remove a newline with backspace, the background on the gutter line number isn't highlighted. This is to help @kevinsawicki debug the problem.
2012-10-01 15:44:58 -07:00
Corey Johnson
905ab5e736
Only highlight line and gutter row if editor is active
2012-10-01 15:44:58 -07:00
Corey Johnson
9361b0717c
Give gutter line highlighting its own describe
2012-10-01 15:44:58 -07:00
Kevin Sawicki
0059accaa4
Access correct editor mini variable
2012-10-01 15:44:58 -07:00
Kevin Sawicki
350e1a22da
Add missing space in class name
2012-10-01 15:44:58 -07:00
Corey Johnson
d5b1146b9b
Only call gutter.afterAttach once
2012-10-01 15:44:57 -07:00
Kevin Sawicki
e039dab0f6
Don't highlight line in mini editor
2012-10-01 15:44:57 -07:00
Kevin Sawicki
f87b186538
Add highlight to new line html builder
2012-10-01 15:44:57 -07:00
Kevin Sawicki
a03512fd90
Add line number padding to expected width
2012-10-01 15:44:57 -07:00
Kevin Sawicki
a4ad5829a5
Disable gutter background highlight on multiline selections
2012-10-01 15:44:57 -07:00
Kevin Sawicki
33abaff747
Don't highlight line if selection is multiline
2012-10-01 15:44:57 -07:00
Kevin Sawicki
12a30873cf
💄
2012-10-01 15:44:57 -07:00
Kevin Sawicki
d69e08a858
Use screen rows for line highlight
2012-10-01 15:44:57 -07:00
Kevin Sawicki
2de14a701f
Set width to 0 on tester element
2012-10-01 15:44:57 -07:00
Corey Johnson & Kevin Sawicki
b1138601fc
Use gutter number padding when calculating gutter width
2012-10-01 15:44:57 -07:00
Corey Johnson & Kevin Sawicki
6b835920bf
Add padding to gutter numbers instead of entire gutter
2012-10-01 15:44:57 -07:00
Corey Johnson & Kevin Sawicki
e15694bb41
No longer cache cursorScreenRow in gutter highlighting
2012-10-01 15:44:57 -07:00