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 Type
    Method
    Description
    getCompletions(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

      List<AutoCompletions.Completion> getCompletions(String text, int pos)
      Get a list of possible auto-completions for the given text with the caret at the specified position.
      Parameters:
      text - the full text
      pos - the current caret position
      Returns: