MCPcopy Index your code
hub / github.com/processing/processing / useInputMethod

Method useInputMethod

app/src/processing/app/Language.java:247–252  ·  view source on GitHub ↗

Is this a CJK language where Input Method support is suggested/required? @return true if the user is running in Japanese, Korean, or Chinese

()

Source from the content-addressed store, hash-verified

245 * @return true if the user is running in Japanese, Korean, or Chinese
246 */
247 static public boolean useInputMethod() {
248 final String language = getLanguage();
249 return (language.equals("ja") ||
250 language.equals("ko") ||
251 language.equals("zh"));
252 }
253
254
255// /** Set new language (called by Preferences) */

Callers 1

initMethod · 0.95

Calls 2

getLanguageMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected