mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 18:24:10 +00:00
Opening search bar now sets highlighted word as currentMatch
This commit is contained in:
1 parent
7b800694db
commit
0124ad4fd4
2 files changed
+48
-1
No files matched your search
@@ -94,6 +94,16 @@ public class GuiScriptTextArea extends GuiNpcTextField {
|
||||
return GuiScriptTextArea.this.highlightedWord;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSelectionStart() {
|
||||
return GuiScriptTextArea.this.selection.getStartSelection();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSelectionEnd() {
|
||||
return GuiScriptTextArea.this.selection.getEndSelection();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setText(String newText) {
|
||||
GuiScriptTextArea.this.setText(newText);
|
||||
|
||||
Reference in new issue
Block a user