Justin Palmer
4bfd73966d
move generic tree-view styles to the main bundle
2013-02-04 08:28:58 -08:00
Justin Palmer
f64ff199d6
select list tweaks
2013-02-04 08:23:21 -08:00
Justin Palmer
065d1e8d80
move generic select-list styles to main bundle
2013-02-04 08:21:53 -08:00
Justin Palmer
4b9d14d2f3
remove grammar-view from package.json
2013-02-04 08:21:34 -08:00
Justin Palmer
ffa3518cb3
kill grammar-view.css, uses overlay and select list defaults
2013-02-04 08:14:52 -08:00
Justin Palmer
81fbb3bc93
kill clear-float
2013-02-04 08:09:47 -08:00
Justin Palmer
f4aacfc23e
don't break the line unless we have to in the fuzzy finder
2013-02-04 08:06:42 -08:00
Justin Palmer
05b1a1a64d
move notification.css to main bundle
2013-02-03 14:39:09 -08:00
Justin Palmer
544743e95e
kill @font-face from atom-light-ui while I'm here
2013-02-03 14:36:45 -08:00
Justin Palmer
908c9245fd
move @font-face into default atom.css
2013-02-03 14:35:52 -08:00
Justin Palmer
44d4efdc10
move common overlay and popover css to static directory
2013-02-03 14:33:54 -08:00
Justin Palmer
0a8245435c
fix fuzzy finder directory styles
2013-02-03 14:25:15 -08:00
Jon Rohan
3cf07d29f3
Changing the if-focused event binding to blur.
2013-02-03 09:01:27 -08:00
Justin Palmer
f33132e75c
use notification class names
2013-02-03 08:34:07 -08:00
Justin Palmer
b2dea312b1
create generic notification style, kill gists.css
2013-02-03 08:33:58 -08:00
Justin Palmer
e7edf36446
move wrap-guide to atom.css
2013-02-03 07:56:42 -08:00
Justin Palmer
7004452c9f
remove command-pallete css. It's part of select-list.
2013-02-03 07:54:34 -08:00
Justin Palmer
d7f6d0e0d1
tweak select list styles
2013-02-03 07:54:02 -08:00
Justin Palmer
b1cbc3b0ad
move event name to title attribute
...
This was causing a bit of a headache because the event names could be
really really long. They're also not useful for everyday use, but for
package authors, so lets make them less prominent.
2013-02-03 07:52:25 -08:00
Justin Palmer
138a68c579
buttonish styles for kbd elements
2013-02-03 07:31:48 -08:00
Justin Palmer
8e4abb9ca7
move key bindings to select list styles
...
I anticipate other lists will want to show keyboard bindings
2013-02-03 07:26:18 -08:00
Justin Palmer
780357a1f5
use kbd element for keyboard binding
2013-02-03 07:25:23 -08:00
Jon Rohan
5b3b92870b
Don't need the is-focused in front here. fixes #230
2013-02-02 20:50:54 -08:00
Nathan Sobo
df4ea9293d
Build DisplayBufferMarker object to help track marker screen positions
...
There are 3 failures, which I think are attributable to the fact that
I'm not emitting events from the when the selection tail changes, and
I'm not emitting redundant events when the head is changed to the
same position it was previously, whereas before I wasn't guarding
against redundant events.
2013-02-02 21:11:42 -07:00
Kevin Sawicki
6e4cb9874a
💄
2013-02-02 17:04:33 -08:00
Nathan Sobo
60304b76b1
Don't cancel a snippet if the cursor moves due to a buffer change
2013-02-02 18:01:18 -07:00
Nathan Sobo
bd96db781e
Pass old/new buffer and screen positions to marker position observers
...
This is needed by the snippets package, which needs to know where the
cursor was previously when it moves to decide whether to cancel the
current snippet.
2013-02-02 18:00:35 -07:00
Nathan Sobo
e25d83ccbc
Use new addEqualityTester method to employ _.isEqual in specs
2013-02-02 17:58:39 -07:00
Nathan Sobo
d144dd4efe
Merge branch 'dev' into better-anchors
2013-02-02 17:03:57 -07:00
Nathan Sobo
94f1630152
Bind window focus and focusout events separately to fix spec
2013-02-02 17:02:07 -07:00
Nathan Sobo
7867d0cb3b
Fix spec for 'focused' to 'is-focused' class rename.
2013-02-02 16:55:51 -07:00
Nathan Sobo
abafb541df
Merge remote-tracking branch 'origin/dev' into better-anchors
2013-02-02 16:47:09 -07:00
Nathan Sobo
f6ea6a39d9
Remove anchorPoint state from EditSession
2013-02-02 16:46:25 -07:00
Nathan Sobo
aa076a0bf2
Remove focused specs
2013-02-02 16:45:15 -07:00
Nathan Sobo
80b39ae263
Replace mentions of 'anchor' with 'tail' in selection and its spec
2013-02-02 16:44:13 -07:00
Nathan Sobo
6beee10160
Replace anchor w/ marker in selection destruction spec
2013-02-02 16:41:57 -07:00
Nathan Sobo
12425b796c
Tweak specs now that buffer changes don't autoscroll the cursor
2013-02-02 16:34:28 -07:00
Nathan Sobo
e53403718a
Tell marker head observers if a move was caused by a buffer change
...
This is used by cursor to only autoscroll when the marker head is
explicitly moved, so that passive movements caused by buffer insertions
don't trigger autoscrolling.
2013-02-02 16:17:14 -07:00
Nathan Sobo
bd1a100d17
Always wrap marker screen positions at soft newlines
2013-02-02 15:59:08 -07:00
Nathan Sobo
c865b9f53a
Update selection autoscroll specs with 3-valued logic
...
If autoscroll is true, we center the view on the selection. If false,
we do no autoscrolling at all. And if undefined we autoscroll to the
cursor.
2013-02-02 15:58:35 -07:00
Justin Palmer
fe77f1d77e
make sure we keep the height sane
2013-02-02 14:26:51 -08:00
Justin Palmer
9f7a71fcda
💀 symbols-view css
2013-02-02 14:21:15 -08:00
Justin Palmer
2ecf1d234e
reuse classes for symbol list
2013-02-02 14:20:36 -08:00
Justin Palmer
c2f030e99c
use generic label class for select lists labels
2013-02-02 14:18:09 -08:00
Nathan Sobo
cb6de5b2a4
Honor autoscroll option when setting a selection's buffer range
...
If we pass an explicit autoscroll option when selection, we don't want
to autoscroll the cursor. If the option is true, we'll autoscroll to
the middle of the selection. If the option is false, we don't want any
autoscrolling, including to the cursor. The cursor should only autoscroll
when the option is undefined.
2013-02-02 15:17:24 -07:00
Kevin Sawicki
04cfdc7c61
💄
2013-02-02 14:10:32 -08:00
Nathan Sobo
4a191586db
Ensure we don't try to draw a destroyed selection on editor refresh
...
Destroying the cursor will cause a redraw, which causes a problem when
we execute it synchronously in specs because destroying the cursor also
destroys the marker associated with the selection. Here we remove the
selection first to avoid this problem.
2013-02-02 15:10:01 -07:00
Kevin Sawicki
6efdd7b54b
Only start worker if project has path
2013-02-02 14:09:59 -08:00
Nathan Sobo
3d8406f5a3
Clip screen positions before translating to buffer positions
2013-02-02 15:07:17 -07:00
Justin Palmer
918b3130cb
use overlay styles for command pallete
2013-02-02 14:07:14 -08:00