Commit Graph

3481 Commits

Author SHA1 Message Date
Kevin Sawicki
3e84e9886c Break out event handler setup into separate method
This mirrors the keymap setup method and allows specs
to reattach handlers after calling shutdown()
2013-02-05 13:17:53 -08:00
Kevin Sawicki
17825edf66 Use off() instead of unbind()
unbind() is so pre-jQuery 1.7
2013-02-05 13:13:01 -08:00
Kevin Sawicki
8de45ccc21 Bind meta-D to duplicate line below
Refs #134
2013-02-05 12:16:50 -08:00
Kevin Sawicki
ad3c18077c Compare against EOF position when clipping
Previously the column could potentially be set to
zero since a Math.min comparison was used for the
length of an already adjusted row.
2013-02-05 12:08:17 -08:00
Kevin Sawicki
7ecafb1594 Don't include tag prefix and suffix
Just include the tag name in the symbols view
instead of the lengthy namespace prefix and signature
suffix.

Refs #134
2013-02-05 10:04:37 -08:00
Kevin Sawicki
1b2c7faed9 Bind ctrl-meta-f to toggle full screen
Refs #134
2013-02-05 09:36:38 -08:00
Kevin Sawicki
9011d62351 Use octicon for README files 2013-02-05 09:17:47 -08:00
Justin Palmer
dd7835faf4 merge dev, fix conflicts 2013-02-05 08:18:59 -08:00
Kevin Sawicki
651d305f76 Add package namespace to command registration 2013-02-04 20:56:25 -08:00
Kevin Sawicki
39e39afa1b Bind ctrl-j to jump to matching bracket 2013-02-04 20:38:50 -08:00
Kevin Sawicki
b30fae7a68 Remove event handlers when editor is removed 2013-02-04 18:24:54 -08:00
Kevin Sawicki
0270ba3e1c Add bracket matcher that highlights pair
(), {}, and [] pairs are now highlighted when
after or before the cursor
2013-02-04 18:09:20 -08:00
Justin Palmer
022b5fb88c use is-focused for the editor because it needs it's own state independent of the window state 2013-02-04 16:42:46 -08:00
Justin Palmer
f8855ef2e3 the editor has it's own blurred state independent of the window 2013-02-04 16:20:07 -08:00
Justin Palmer
53bf6f5341 tag blurred state instead of focused state 2013-02-04 15:55:14 -08:00
Justin Palmer
7a2a02dacf Merge pull request #227 from github/cut-dat-fat
Reusable styles for common UI elements
2013-02-04 15:39:22 -08:00
Kevin Sawicki
278b8c3df1 Trigger move-up to reset top scroll to 0 2013-02-04 15:26:46 -08:00
Kevin Sawicki
e9747a8f9c Use outer height of item scrolling to item 2013-02-04 14:15:12 -08:00
Kevin Sawicki
25b75b6659 Use fs.resolve instead of fs.resolveExtension 2013-02-04 12:51:04 -08:00
Kevin Sawicki
bd88a0de15 Support CSON config file
Use ~/.atom/config.cson as the new default when no
config file exists.

~/.atom/config.json is still the default if they both
exist.
2013-02-04 12:38:00 -08:00
Justin Palmer
5b9957e85f fix autocomplete and specs 2013-02-04 12:16:37 -08:00
Justin Palmer
d4a080a022 more fixes to symbols spec 2013-02-04 11:53:04 -08:00
Kevin Sawicki
cd07ec841d Add more window globals and shims in task shell
This allows jQuery to be successfully loaded from a web worker
since it does not have a document or window object by default.

Previously it would log about missing methods and properties.

Closes #228
2013-02-04 11:43:58 -08:00
Justin Palmer
c62e0dfa4b fix symbols view spec 2013-02-04 11:41:50 -08:00
Justin Palmer
cf9ed92072 fix gists specs 2013-02-04 11:38:31 -08:00
Justin Palmer
09efd15122 fix command pallete specs to reflect new classes 2013-02-04 11:34:27 -08:00
Justin Palmer
4845135375 tweak directory look in dark theme, add back the dash 2013-02-04 11:23:07 -08:00
Justin Palmer
8474caa8d8 move generic status bar styles to main bundle, kill dupe cod 2013-02-04 10:03:52 -08:00
Justin Palmer
3fcb7888cc share fuzzy-finder styles between dark and light 2013-02-04 09:39:55 -08:00
Kevin Sawicki
0bb0863b61 Use _.indexOf instead of _.contains
_.indexOf supports a isSorted flag which can be used
since the extension arrays are pre-sorted.
2013-02-04 09:08:00 -08:00
Kevin Sawicki
84feaf369d Format undefined array values as null 2013-02-04 09:08:00 -08:00
Kevin Sawicki
fd6795e748 Use parameter instead of ivar 2013-02-04 09:08:00 -08:00
Kevin Sawicki
299a45da57 Add specs for tab title attribute 2013-02-04 09:07:59 -08:00
Justin Palmer
e796616921 merge dev, fix conflicts 2013-02-04 09:00:09 -08:00
Justin Palmer
7d00623313 move generic tab styles to main bundle 2013-02-04 08:52:39 -08:00
Justin Palmer
1affefb196 move generic command-panel styles to main bundle 2013-02-04 08:36:27 -08:00
Justin Palmer
4bfd73966d move generic tree-view styles to the main bundle 2013-02-04 08:28:58 -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
05b1a1a64d move notification.css to main bundle 2013-02-03 14:39:09 -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
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
780357a1f5 use kbd element for keyboard binding 2013-02-03 07:25:23 -08:00
Kevin Sawicki
6e4cb9874a 💄 2013-02-02 17:04:33 -08:00
Nathan Sobo
94f1630152 Bind window focus and focusout events separately to fix spec 2013-02-02 17:02:07 -07: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