1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 13:42:27 +01:00

add fold markers to CompletionContext

This commit is contained in:
Doug Kearns
2008-12-13 02:01:37 +11:00
parent 51840817fc
commit e127db3273

View File

@@ -26,7 +26,7 @@ the provisions above, a recipient may use your version of this file under
the terms of any one of the MPL, the GPL or the LGPL. the terms of any one of the MPL, the GPL or the LGPL.
}}} ***** END LICENSE BLOCK *****/ }}} ***** END LICENSE BLOCK *****/
function CompletionContext(editor, name, offset) function CompletionContext(editor, name, offset) //{{{
{ {
if (!(this instanceof arguments.callee)) if (!(this instanceof arguments.callee))
return new arguments.callee(editor, name, offset); return new arguments.callee(editor, name, offset);
@@ -115,6 +115,7 @@ function CompletionContext(editor, name, offset)
key in self.keys ? item.item[self.keys[key]] key in self.keys ? item.item[self.keys[key]]
: item.item[key]; : item.item[key];
} }
CompletionContext.prototype = { CompletionContext.prototype = {
// Temporary // Temporary
get allItems() get allItems()
@@ -517,7 +518,7 @@ CompletionContext.prototype = {
liberator.threadYield(false, interruptable); liberator.threadYield(false, interruptable);
return this.incomplete; return this.incomplete;
} }
}; }; //}}}
function Completion() //{{{ function Completion() //{{{
{ {