Package ro.sync.document
Interface GhostTextProvider
@API(type=INTERNAL,
src=PUBLIC)
public interface GhostTextProvider
Interface for providing ghost text suggestions in the editor.
Ghost text appears as semi-transparent text that suggests completions.
-
Method Summary
-
Method Details
-
getSuggestion
GhostTextSuggestion getSuggestion()- Returns:
- ghost text suggestion for the given position in the document.
-
isActive
boolean isActive()- Returns:
- true if this provider is currently active and should provide suggestions
-
isSuggestionVisible
boolean isSuggestionVisible()- Returns:
- true if the ghost text is currently visible
-