Changeset 944


Ignore:
Timestamp:
Nov 14, 2010, 7:29:16 PM (7 years ago)
Author:
stefan
Message:

fixed the label-key-overrides-selection bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sce/component/SCEDocument.java

    r852 r944  
    443443        if (row_nr == selectionEnd.getRow() && column_nr >= selectionEnd.getColumn()) continue;
    444444
     445        // background must be set here too to override other background colors
     446        attributedString.addAttribute(TextAttribute.BACKGROUND, SCEPane.selectionHighlightColor, column_nr - col_start, column_nr + 1 - col_start);
    445447        attributedString.addAttribute(TextAttribute.FOREGROUND, Color.WHITE, column_nr - col_start, column_nr + 1 - col_start);
    446448      }
Note: See TracChangeset for help on using the changeset viewer.