mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 19:19:43 +00:00
Fixed autocomplete showing in comments
This commit is contained in:
1 parent
3b7798338f
commit
07594f574b
1 file changed
+1
-1
+1
-1
@@ -165,7 +165,7 @@ public class AutocompleteManager {
|
||||
*/
|
||||
public void onCharTyped(char c, String text, int cursorPosition) {
|
||||
// Check if we should close autocomplete
|
||||
if (CLOSE_CHARS.indexOf(c) >= 0) {
|
||||
if (CLOSE_CHARS.indexOf(c) >= 0 || document.isExcludedInclusive(cursorPosition)) {
|
||||
dismiss();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user