Commit Graph

5413 Commits

Author SHA1 Message Date
Kevin Sawicki & Nathan Sobo
240e893d33 Don't emit a cursor-moved event when only the tail of the marker moves 2013-02-05 15:19:10 -07:00
Nathan Sobo
1d30605f7f Convert selection and cursor fully over to markers. 2013-02-05 13:39:00 -07:00
Nathan Sobo
afe0a6570a Reduce observation to single observeMarker method on display buffer
It will call the observer callbacks with the buffer and screen positions
of the head and tell each time any of these values is changed.
2013-02-04 21:24:06 -07:00
Nathan Sobo
58450d6a65 Give Buffer only a single observeMarker method
It will fire the callback whenever the marker's head or tail position
changes, and it's up to the subscriber to use the information how they
want to.
2013-02-04 20:35:30 -07:00
Nathan Sobo
852b4c2f8a Merge remote-tracking branch 'origin/dev' into markers 2013-02-04 20:04:01 -07:00
Jon Rohan
f2da6924aa light tabs have left:-5px;right:-5px; 2013-02-04 15:42:21 -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
bef965d863 Add line number padding to expected width 2013-02-04 15:35:40 -08:00
Justin Palmer
3e7b75e9aa set directory color when item is selected 2013-02-04 15:31:09 -08:00
Kevin Sawicki
278b8c3df1 Trigger move-up to reset top scroll to 0 2013-02-04 15:26:46 -08:00
Justin Palmer
db9c67e1e2 adjust select-list height to fit new outerHeight 2013-02-04 14:25:24 -08:00
Kevin Sawicki
e9747a8f9c Use outer height of item scrolling to item 2013-02-04 14:15:12 -08:00
Justin Palmer
e3fd6d87b5 💄 2013-02-04 14:07:42 -08:00
Justin Palmer
1b722e8293 😡 more select list tweaks. It's still about 8px off when scrolling 2013-02-04 13:58:44 -08:00
Justin Palmer
6b9c94d0e8 💄 2013-02-04 13:45:45 -08:00
Justin Palmer
9eb3a20867 consistent mini editor spacing in overlays 2013-02-04 13:40:09 -08:00
Justin Palmer
a5c20c1464 scrolling is a nice feature 2013-02-04 13:38:21 -08:00
Justin Palmer
b8c56e1618 tweak key binding position and clip overflow of select-list 2013-02-04 13:33:49 -08:00
Justin Palmer
619d195711 tweak select list 2013-02-04 13:11:29 -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
6757e98ff5 fix popover styles 2013-02-04 12:04:04 -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
Nathan Sobo
ead93d0f39 Rename to DisplayBuffer.observeMarkerHeadPosition
When you observe, you get callbacks whenever the screen or buffer
position changes, and you get the new and old position in both 
coordinate types.
2013-02-04 11:32:47 -07:00
Nathan Sobo
44e48d42ea Add Buffer.observeMarkerRange 2013-02-04 11:27:39 -07: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
c94201db57 move generic editor styles to the main bundle. kill resulting dupe code 2013-02-04 09:58:15 -08:00
Justin Palmer
1dc40dc469 kill dup tree-view styles in atom-light-ui 2013-02-04 09:47:58 -08:00
Justin Palmer
94ee3ab221 kill dup tab styles in atom-light-ui 2013-02-04 09:44:23 -08:00
Justin Palmer
5559e17254 kill dup select-list styles in atom-light-ui 2013-02-04 09:41:45 -08:00
Justin Palmer
3fcb7888cc share fuzzy-finder styles between dark and light 2013-02-04 09:39:55 -08:00
Justin Palmer
c5cdda4e00 add wrap-guide to atom.css in atom-light-ui 2013-02-04 09:35:04 -08:00
Justin Palmer
f307554d79 kill dup command-panel light styles 2013-02-04 09:33:11 -08:00
Justin Palmer
a8d0268324 remove all the light styles that are now shared in the main bundle 2013-02-04 09:25:15 -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
f65e83fe2a Add spec for converting CSON back to object 2013-02-04 09:08:00 -08:00
Kevin Sawicki
ffc65b3735 Add more CSON specs 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
d82187a187 remove generic properties reset by is-focused merge 2013-02-04 09:06:14 -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