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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user