Class GuiUnicodeBoundaries
java.lang.Object
com.render.api.gui.GuiUnicodeBoundaries
ICU-backed extended-grapheme and word boundary helpers used by inputs and layouts.
-
Method Summary
Modifier and TypeMethodDescriptionstatic intclampGrapheme(String text, int utf16Offset, boolean forward) static intnextGrapheme(String text, int utf16Offset) static intstatic intpreviousGrapheme(String text, int utf16Offset) static intpreviousWord(String text, int utf16Offset, Locale locale) static StringtruncateUtf16Safely(String text, int maximumUtf16Length)
-
Method Details
-
clampGrapheme
-
previousGrapheme
-
nextGrapheme
-
previousWord
-
nextWord
-
truncateUtf16Safely
-