Support Page Up and Page Down in ace

This commit is contained in:
Peter 'Pita' Martischka 2013-02-03 17:39:49 +00:00
parent cba001341f
commit eaa835630c
2 changed files with 53 additions and 12 deletions

View file

@ -23,7 +23,7 @@
var AttributePool = require('./AttributePool');
var Changeset = require('./Changeset');
function makeChangesetTracker(scheduler, apool, aceCallbacksProvider)
function makeChangesetTracker(apool, aceCallbacksProvider)
{
// latest official text from server
@ -51,7 +51,7 @@ function makeChangesetTracker(scheduler, apool, aceCallbacksProvider)
// and if there isn't a timeout already scheduled.
if (changeCallback && changeCallbackTimeout === null)
{
changeCallbackTimeout = scheduler.setTimeout(function()
changeCallbackTimeout = setTimeout(function()
{
try
{