Ignore:
Timestamp:
03.05.2010 10:52:48 (2 years ago)
Author:
bastiK
Message:

fixed #4979 Exception when opening the download window; fixed #2221 - Unexcepted Exception when typing into "Change values?" box with an input method on Mac OS X

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingTextField.java

    r3210 r3215  
    1919import javax.swing.text.Document; 
    2020import javax.swing.text.PlainDocument; 
     21import javax.swing.text.StyleConstants; 
    2122 
    2223import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionList; 
     
    5253            } 
    5354 
     55            // input method for non-latin characters (e.g. scim) 
     56            if (a != null && a.isDefined(StyleConstants.ComposedTextAttribute)) { 
     57                super.insertString(offs, str, a); 
     58                return; 
     59            } 
     60 
    5461            // if the current offset isn't at the end of the document we don't autocomplete. 
    5562            // If a highlighted autocompleted suffix was present and we get here Swing has 
Note: See TracChangeset for help on using the changeset viewer.