@FunctionalInterface public interface CanModifyText
| Modifier and Type | Method and Description |
|---|---|
default void |
modifyText(String replacement)
Modifies the text currently selected.
|
default void |
modifyText(String replacement,
int from)
Modifies the text currently selected - from the specified index to the end of current selection.
|
void |
modifyText(String replacement,
int from,
int to)
Modifies the text at given coordinates.
|
void modifyText(String replacement, int from, int to)
replacement - Text to put.from - The starting index of what to replace.to - The end index of what to replace.default void modifyText(String replacement)
replacement - Text to put.default void modifyText(String replacement, int from)
replacement - Text to put.from - Starting index.Copyright © 2024 Miki. All rights reserved.