1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 15:22:28 +01:00

Fix paren matching quirk.

This commit is contained in:
Kris Maglione
2008-12-08 13:07:48 -05:00
parent 564ed266cf
commit 272f699732

View File

@@ -1089,8 +1089,16 @@ function Completion() //{{{
if (!/^(?:\w[\w\d]*)?$/.test(key))
return; /* Not a word. Forget it. Can this even happen? */
top[OFFSET] = offset;
return complete.call(this, obj, key);
try
{ // FIXME
var o = top[OFFSET];
top[OFFSET] = offset;
return complete.call(this, obj, key);
}
finally
{
top[OFFSET] = o;
}
}
};
let javascript = new Javascript();