forked from cory/tildefriends
Added some edit/save/back keybindings.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3308 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@@ -11,6 +11,15 @@ window.addEventListener("load", function() {
|
||||
'showTrailingSpace': true,
|
||||
});
|
||||
gBackup = gEditor.getValue();
|
||||
gEditor.focus();
|
||||
});
|
||||
|
||||
window.addEventListener("keydown", function(event) {
|
||||
if (event.keyCode == 83 && event.altKey) {
|
||||
save();
|
||||
} else if (event.keyCode == 66 && event.altKey) {
|
||||
back();
|
||||
}
|
||||
});
|
||||
|
||||
function explodePath() {
|
||||
|
Reference in New Issue
Block a user