org.skunk.swing.text.syntax
Class StyleBufferUtilities

java.lang.Object
  |
  +--org.skunk.swing.text.syntax.StyleBufferUtilities

public final class StyleBufferUtilities
extends java.lang.Object


Field Summary
static int STYLE_BUFFER_STATE_MASK
           
static int STYLE_BUFFER_STYLE_MASK
           
 
Method Summary
static int applyStyle(GappedIntArray styleBuffer, int style, int state, int offset, int length)
           
static int getState(int styleBufferEntry)
           
static int getStyle(int styleBufferEntry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STYLE_BUFFER_STYLE_MASK

public static final int STYLE_BUFFER_STYLE_MASK

STYLE_BUFFER_STATE_MASK

public static final int STYLE_BUFFER_STATE_MASK
Method Detail

getState

public static final int getState(int styleBufferEntry)

getStyle

public static final int getStyle(int styleBufferEntry)

applyStyle

public static final int applyStyle(GappedIntArray styleBuffer,
                                   int style,
                                   int state,
                                   int offset,
                                   int length)