pathcompleter — Path completer for Locator¶
-
enki.lib.pathcompleter.makeSuitableCompleter(text)¶ Returns PathCompleter if text is normal path or GlobCompleter for glob
-
class
enki.lib.pathcompleter.AbstractPathCompleter(text)¶ Bases:
enki.core.locator.AbstractCompleterBase class for PathCompleter and GlobCompleter
-
mustBeLoaded= True¶
-
rowCount()¶ Row count in the list of completions
-
text(row, column)¶ Item text in the list of completions
-
icon(row, column)¶ Item icon in the list of completions
-
isSelectable(row, column)¶
-
getFullText(row)¶ User clicked a row. Get inline completion for this row
-
-
class
enki.lib.pathcompleter.PathCompleter(text)¶ Bases:
enki.lib.pathcompleter.AbstractPathCompleterPath completer for Locator. Supports globs
Used by Open command
-
load(stopEvent)¶
-
inline()¶ Inline completion. Displayed after the cursor
-
-
class
enki.lib.pathcompleter.GlobCompleter(text)¶ Bases:
enki.lib.pathcompleter.AbstractPathCompleterPath completer for Locator. Supports globs, does not support inline completion
Used by Open command
-
load(stopEvent)¶
-