Changeset 6070 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingTextField.java
- Timestamp:
- 2013-07-17T00:01:49+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingTextField.java
r5886 r6070 36 36 37 37 private Integer maxChars; 38 38 39 39 /** 40 40 * The document model for the editor … … 48 48 @Override 49 49 public void insertString(int offs, String str, AttributeSet a) throws BadLocationException { 50 50 51 51 // If a maximum number of characters is specified, avoid to exceed it 52 52 if (maxChars != null && str != null && getLength() + str.length() > maxChars) { … … 58 58 } 59 59 } 60 60 61 61 if (autoCompletionList == null) { 62 62 super.insertString(offs, str, a);
Note:
See TracChangeset
for help on using the changeset viewer.