Skip to content

Instantly share code, notes, and snippets.

From: Julian Viereck <julian.viereck@gmail.com>
Make sure that SC.Responder get refocused after the user reenters the page.
diff --git a/frameworks/desktop/system/root_responder.js b/frameworks/desktop/system/root_responder.js
index 497b615..d81c036 100644
--- a/frameworks/desktop/system/root_responder.js
+++ b/frameworks/desktop/system/root_responder.js
@@ -34,6 +34,12 @@ SC.RootResponder = SC.RootResponder.extend(
From: Julian Viereck <julian.viereck@gmail.com>
Fix goto command.
diff --git a/plugins/supported/Editor/commands/editor.js b/plugins/supported/Editor/commands/editor.js
--- a/plugins/supported/Editor/commands/editor.js
+++ b/plugins/supported/Editor/commands/editor.js
@@ -37,25 +37,24 @@
var util = require("bespin:util/util");
var settings = require("Settings").settings;
diff --git a/frameworks/desktop/system/root_responder.js b/frameworks/desktop/system/root_responder.js
index 21877f8..6899110 100644
--- a/frameworks/desktop/system/root_responder.js
+++ b/frameworks/desktop/system/root_responder.js
@@ -409,9 +409,20 @@ SC.RootResponder = SC.RootResponder.extend(
this._IMEInputON = YES;
return YES;
}
-
- // Firefox does NOT handle delete here...
"define metadata";
({
"description": "Standart Key Mapping",
"depends": [ "KeyMapping" ],
"provides": [
{
"ep": "keymapping",
"name": "standart"
}
]
http://www.mindsensors.com/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=93
"define metadata";
({
"dependencies": {
"Canon": "0.0"
},
"provides": [
{
"ep": "command",
"name": "vim"
},
<!-- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
-
- The contents of this file are subject to the Mozilla Public License Version
- 1.1 (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS" basis,
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
{
"vim": {
"handleMetaKey": true,
"states": {
"start": [
{
"regex": ["[^0-9]+", "0"],
"exec": "editor moveLineStart"
},
{
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
// The current layout of the customeKeybinding setting
{
"vim": {
"states": {
"start": [
{
"regex": ["([0-9]*)", "0"],
"disallowMatches": [ 1 ],
"exec": "editor moveLineStart"