Merge branch 'master' into meta-to-command

Conflicts:
	keymaps/win32.cson
This commit is contained in:
Matt Colyer
2013-11-20 10:19:12 -08:00
6 changed files with 17 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
'body.platform-darwin':
'.platform-darwin':
# Apple specific
'cmd-q': 'application:quit'
'cmd-h': 'application:hide'
@@ -87,7 +87,7 @@
'cmd-8': 'pane:show-item-8'
'cmd-9': 'pane:show-item-9'
'body.platform-darwin .editor':
'.platform-darwin .editor':
# Apple Specific
'cmd-backspace': 'editor:backspace-to-beginning-of-line'
'cmd-delete': 'editor:backspace-to-beginning-of-line'

View File

@@ -1,4 +1,4 @@
'body.platform-win32':
'.platform-win32':
# Atom Specific
'enter': 'core:confirm'
'escape': 'core:cancel'
@@ -45,12 +45,12 @@
'ctrl-k down': 'pane:split-down' # Atom Specific
'ctrl-k left': 'pane:split-left' # Atom Specific
'ctrl-k right': 'pane:split-right' # Atom Specific
'ctrl-k cmd-w': 'pane:close' # Atom Specific
'ctrl-k alt-cmd-w': 'pane:close-other-items' # Atom Specific
'ctrl-k cmd-left': 'window:focus-previous-pane'
'ctrl-k cmd-right': 'window:focus-next-pane'
'ctrl-k ctrl-w': 'pane:close' # Atom Specific
'ctrl-k alt-ctrl-w': 'pane:close-other-items' # Atom Specific
'ctrl-k ctrl-left': 'window:focus-previous-pane'
'ctrl-k ctrl-right': 'window:focus-next-pane'
'body.platform-win32 .editor':
'.platform-win32 .editor':
# Windows specific
'ctrl-delete': 'editor:backspace-to-beginning-of-word'
@@ -60,7 +60,7 @@
'ctrl-k ctrl-u': 'editor:upper-case'
'ctrl-k ctrl-l': 'editor:lower-case'
'body.platform-win32 .editor:not(.mini)':
'.platform-win32 .editor:not(.mini)':
# Atom specific
'alt-ctrl-z': 'editor:checkout-head-revision'
'ctrl-<': 'editor:scroll-to-cursor'
@@ -94,7 +94,7 @@
'ctrl-k ctrl-9': 'editor:fold-at-indent-level-9'
# allow standard input fields to work correctly
'body.platform-win32 input:not(.hidden-input), body.platform-win32 .native-key-bindings':
'.platform-win32 input:not(.hidden-input), .platform-win32 .native-key-bindings':
'ctrl-z': 'native!'
'ctrl-Z': 'native!'
'ctrl-x': 'native!'

View File

@@ -81,7 +81,7 @@
"dev-live-reload": "0.15.0",
"editor-stats": "0.5.0",
"exception-reporting": "0.7.0",
"find-and-replace": "0.42.0",
"find-and-replace": "0.43.0",
"fuzzy-finder": "0.20.0",
"gists": "0.8.0",
"git-diff": "0.13.0",
@@ -107,7 +107,7 @@
"to-the-hubs": "0.11.0",
"tree-view": "0.31.0",
"visual-bell": "0.3.0",
"whitespace": "0.8.0",
"whitespace": "0.9.0",
"wrap-guide": "0.5.0",
"language-c": "0.2.0",
"language-clojure": "0.1.0",

View File

@@ -262,12 +262,13 @@ describe "the `atom` global", ->
describe "when the package has no grammars but does have preferences", ->
it "loads the package's preferences as scoped properties", ->
jasmine.unspy(window, 'setTimeout')
spyOn(syntax, 'addProperties').andCallThrough()
spyOn(atom.syntax, 'addProperties').andCallThrough()
atom.activatePackage('package-with-preferences-tmbundle')
waitsFor ->
atom.syntax.addProperties.callCount > 0
runs ->
expect(atom.syntax.getProperty(['.source.pref'], 'editor.increaseIndentPattern')).toBe '^abc$'

View File

@@ -123,9 +123,9 @@ window.requireWithGlobals = (args...) ->
#
# Returns the value returned by the given function.
window.measure = (description, fn) ->
start = new Date().getTime()
start = Date.now()
value = fn()
result = new Date().getTime() - start
result = Date.now() - start
console.log description, result
value

View File

@@ -22,6 +22,6 @@
}
</script>
</head>
<body tabindex="-1">
<body class="workspace" tabindex="-1">
</body>
</html>