mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 11:27:58 +01:00
add fold markers to CompletionContext
This commit is contained in:
@@ -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() //{{{
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user