Package qupath.lib.scripting.languages
Interface ScriptAutoCompletor
- All Known Implementing Classes:
DefaultAutoCompletor
,GroovyAutoCompletor
,PythonAutoCompletor
public interface ScriptAutoCompletor
Interface for classes that implement auto-completion (e.g. styling classes).
- Since:
- v0.4.0
- Author:
- Melvin Gelbard, Pete Bankhead
-
Method Summary
Modifier and TypeMethodDescriptiongetCompletions
(String text, int pos) Get a list of possible auto-completions for the given text with the caret at the specified position.
-
Method Details
-
getCompletions
Get a list of possible auto-completions for the given text with the caret at the specified position.- Parameters:
text
- the full textpos
- the current caret position- Returns:
-