jdk/src/share/classes/javax/swing/text/GlyphView.java
changeset 5763 9a942d6fb0aa
parent 5506 202f599c92aa
child 7668 d4a77089c587
equal deleted inserted replaced
5762:6b50a6f25d81 5763:9a942d6fb0aa
    30 import java.util.BitSet;
    30 import java.util.BitSet;
    31 import java.util.Locale;
    31 import java.util.Locale;
    32 
    32 
    33 import javax.swing.UIManager;
    33 import javax.swing.UIManager;
    34 import sun.swing.SwingUtilities2;
    34 import sun.swing.SwingUtilities2;
       
    35 import static sun.swing.SwingUtilities2.IMPLIED_CR;
    35 
    36 
    36 /**
    37 /**
    37  * A GlyphView is a styled chunk of text that represents a view
    38  * A GlyphView is a styled chunk of text that represents a view
    38  * mapped over an element in the text model. This view is generally
    39  * mapped over an element in the text model. This view is generally
    39  * responsible for displaying text glyphs using character level
    40  * responsible for displaying text glyphs using character level
  1059 
  1060 
  1060     int offset;
  1061     int offset;
  1061     int length;
  1062     int length;
  1062     // if it is an implied newline character
  1063     // if it is an implied newline character
  1063     boolean impliedCR;
  1064     boolean impliedCR;
  1064     private static final String IMPLIED_CR = "CR";
       
  1065     boolean skipWidth;
  1065     boolean skipWidth;
  1066 
  1066 
  1067     /**
  1067     /**
  1068      * how to expand tabs
  1068      * how to expand tabs
  1069      */
  1069      */