implement center selection in view port command

This commit is contained in:
Fabian Jakobs 2011-02-13 16:06:21 +01:00
commit e1fef748e8
2 changed files with 10 additions and 0 deletions

View file

@ -261,6 +261,9 @@ canon.addCommand({
}
});
canon.addCommand({
name: "centerselection",
exec: function(env, args, request) { env.editor.centerSelection(); }
});
canon.addCommand({
name: "splitline",
exec: function(env, args, request) { env.editor.splitLine(); }
@ -270,4 +273,5 @@ canon.addCommand({
exec: function(env, args, request) { env.editor.transposeLetters(); }
});
});