Package ro.sync.document
Class GhostTextSuggestion
java.lang.Object
ro.sync.document.GhostTextSuggestion
Represents a ghost text suggestion with its content and metadata.
-
Constructor Summary
ConstructorsConstructorDescriptionGhostTextSuggestion(String text, int caretPosition) Constructor for ghost text suggestion. -
Method Summary
-
Constructor Details
-
GhostTextSuggestion
Constructor for ghost text suggestion.- Parameters:
text- The text to display as ghost textcaretPosition- The position in the document where the ghost text should be displayed
-
-
Method Details
-
getText
- Returns:
- The ghost text to display
-
getCaretPosition
public int getCaretPosition()- Returns:
- The position in the document where the ghost text should be displayed
-