Ticket #21507: 21507.patch
| File 21507.patch, 805 bytes (added by , 4 years ago) |
|---|
-
src/org/openstreetmap/josm/gui/tagging/ac/AutoCompTextField.java
157 157 if (unSelected.length() <= oldText.length()) 158 158 // do not autocomplete on control or deleted chars 159 159 return; 160 if (getInputMethodRequests().getCommittedTextLength() != getDocument().getLength()) { 161 // do not autocomplete if there is uncommitted text (breaks Microsoft Japanese IME, see #21507) 162 return; 163 } 160 164 if (!AUTOCOMPLETE_NUMBERS && IS_NUMBER.matcher(newText).matches()) 161 165 return; 162 166
