* Add shortcuts to TabbedPanel & enhance JumpPosition * Update jadx-gui/src/main/java/jadx/gui/ui/codearea/RenameAction.java Co-authored-by: tobias <tobias.hotmail.com>
This commit is contained in:
@@ -7,6 +7,8 @@ import jadx.core.deobf.NameMapper;
|
||||
|
||||
public class StringUtils {
|
||||
private static final StringUtils DEFAULT_INSTANCE = new StringUtils(new JadxArgs());
|
||||
private static final String WHITES = " \t\r\n\f\b";
|
||||
private static final String WORD_SEPARATORS = WHITES + "(\")<,>{}=+-*/|[]\\:;'.`~!#^&";
|
||||
|
||||
public static StringUtils getInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
@@ -253,4 +255,13 @@ public class StringUtils {
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
public static boolean isWhite(char chr) {
|
||||
return WHITES.indexOf(chr) != -1;
|
||||
}
|
||||
|
||||
public static boolean isWordSeparator(char chr) {
|
||||
return WORD_SEPARATORS.indexOf(chr) != -1;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user