Ignore:
Timestamp:
2013-07-17T00:01:49+02:00 (11 years ago)
Author:
stoecker
Message:

see #8853 remove tabs, trailing spaces, windows line ends, strange characters

File:
1 edited

Legend:

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

    r6064 r6070  
    4747    private final TagEditorModel model;
    4848    private Component nextFocusComponent;
    49        
     49
    5050    /** a list of components to which focus can be transferred without stopping
    5151     * cell editing this table.
     
    104104                getCellEditor().stopCellEditing();
    105105            }
    106            
     106
    107107            if (row==-1 && col==-1) {
    108108                requestFocusInCell(0, 0);
    109109                return;
    110110            }
    111        
     111
    112112            if (col == 0) {
    113113                col++;
     
    290290            if (!key.trim().isEmpty()) {
    291291                model.appendNewTag();
    292             } 
     292            }
    293293            requestFocusInCell(model.getRowCount()-1, 0);
    294294        }
    295            
     295
    296296        protected void updateEnabledState() {
    297297            setEnabled(TagTable.this.isEnabled());
     
    435435        this.nextFocusComponent = nextFocusComponent;
    436436    }
    437    
     437
    438438    public TagCellEditor getTableCellEditor() {
    439439        return editor;
     
    472472        }
    473473        // there was a bug here - on older 1.6 Java versions Tab was not working
    474         // after such activation. In 1.7 it works OK, 
     474        // after such activation. In 1.7 it works OK,
    475475        // previous solution of usint awt.Robot was resetting mouse speed on Windows
    476476    }
Note: See TracChangeset for help on using the changeset viewer.