de.uni_paderborn.fujaba.mpEdit
Class Hilite

java.lang.Object
  extended byde.uni_paderborn.fujaba.mpEdit.Hilite
Direct Known Subclasses:
HiliteJava, HiliteLife

public class Hilite
extends java.lang.Object

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.14 $
Author:
$Author: schneider $

Field Summary
static byte COMMENT
          No comment provided by developer, please add a comment to improve documentation.
protected  java.awt.Color commentColor
          No comment provided by developer, please add a comment to improve documentation.
protected  java.awt.Color commentXColor
          No comment provided by developer, please add a comment to improve documentation.
static byte HIDE
          No comment provided by developer, please add a comment to improve documentation.
protected  java.awt.Color hideColor
          No comment provided by developer, please add a comment to improve documentation.
protected  java.awt.Color hideXColor
          No comment provided by developer, please add a comment to improve documentation.
static byte KEYWORD
          No comment provided by developer, please add a comment to improve documentation.
protected  java.awt.Color keywordColor
          No comment provided by developer, please add a comment to improve documentation.
protected  java.awt.Color keywordXColor
          No comment provided by developer, please add a comment to improve documentation.
static byte PLAIN
          No comment provided by developer, please add a comment to improve documentation.
static byte QUOTE
          No comment provided by developer, please add a comment to improve documentation.
protected  java.awt.Color quoteColor
          No comment provided by developer, please add a comment to improve documentation.
protected  java.awt.Color quoteXColor
          No comment provided by developer, please add a comment to improve documentation.
protected  java.awt.Color textColor
          No comment provided by developer, please add a comment to improve documentation.
protected  java.awt.Color textXColor
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
Hilite(LineMan l, int t, boolean a)
          Constructor for class Hilite
 
Method Summary
 void extendScan(int highest)
          No comment provided by developer, please add a comment to improve documentation.
protected  int fillBuffer(int line_no)
          Fills char[] buffer with line line_no and replaces all tab characters '\t' with blanks
 java.awt.Color getCommentColor()
          Get the commentColor attribute of the Hilite object
 java.awt.Color getCommentXColor()
          Get the commentXColor attribute of the Hilite object
 java.awt.Color getHideColor()
          Get the hideColor attribute of the Hilite object
 java.awt.Color getHideXColor()
          Get the hideXColor attribute of the Hilite object
 java.awt.Color getKeywordColor()
          Get the keywordColor attribute of the Hilite object
 java.awt.Color getKeywordXColor()
          Get the keywordXColor attribute of the Hilite object
 java.awt.Color getQuoteColor()
          Get the quoteColor attribute of the Hilite object
 java.awt.Color getQuoteXColor()
          Get the quoteXColor attribute of the Hilite object
 java.awt.Color getTextColor()
          Get the textColor attribute of the Hilite object
 java.awt.Color getTextXColor()
          Get the textXColor attribute of the Hilite object
 void lineRemoved(int i)
          No comment provided by developer, please add a comment to improve documentation.
protected  boolean matchKeys(int start, int end)
          No comment provided by developer, please add a comment to improve documentation.
protected  int matchOneKey(int key, int start, int end)
          No comment provided by developer, please add a comment to improve documentation.
 void scan(int highest)
          Scans all lines in LineMan up to highest for syntax highlighting
protected  void scanLine(int i)
          No comment provided by developer, please add a comment to improve documentation.
 int update(int first, int last, int highest)
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLAIN

public static final byte PLAIN
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

KEYWORD

public static final byte KEYWORD
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

COMMENT

public static final byte COMMENT
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

QUOTE

public static final byte QUOTE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

HIDE

public static final byte HIDE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

textColor

protected java.awt.Color textColor
No comment provided by developer, please add a comment to improve documentation.


textXColor

protected java.awt.Color textXColor
No comment provided by developer, please add a comment to improve documentation.


commentColor

protected java.awt.Color commentColor
No comment provided by developer, please add a comment to improve documentation.


commentXColor

protected java.awt.Color commentXColor
No comment provided by developer, please add a comment to improve documentation.


keywordColor

protected java.awt.Color keywordColor
No comment provided by developer, please add a comment to improve documentation.


keywordXColor

protected java.awt.Color keywordXColor
No comment provided by developer, please add a comment to improve documentation.


quoteColor

protected java.awt.Color quoteColor
No comment provided by developer, please add a comment to improve documentation.


quoteXColor

protected java.awt.Color quoteXColor
No comment provided by developer, please add a comment to improve documentation.


hideColor

protected java.awt.Color hideColor
No comment provided by developer, please add a comment to improve documentation.


hideXColor

protected java.awt.Color hideXColor
No comment provided by developer, please add a comment to improve documentation.

Constructor Detail

Hilite

public Hilite(LineMan l,
              int t,
              boolean a)
Constructor for class Hilite

Parameters:
l - No description provided
t - No description provided
a - No description provided
Method Detail

scan

public void scan(int highest)
Scans all lines in LineMan up to highest for syntax highlighting

Parameters:
highest - No description provided

extendScan

public void extendScan(int highest)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
highest - No description provided

update

public int update(int first,
                  int last,
                  int highest)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
first - No description provided
last - No description provided
highest - No description provided
Returns:
No description provided

scanLine

protected void scanLine(int i)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
i - No description provided

lineRemoved

public void lineRemoved(int i)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
i - No description provided

matchOneKey

protected int matchOneKey(int key,
                          int start,
                          int end)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
key - No description provided
start - No description provided
end - No description provided
Returns:
No description provided

matchKeys

protected boolean matchKeys(int start,
                            int end)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
start - No description provided
end - No description provided
Returns:
No description provided

fillBuffer

protected int fillBuffer(int line_no)
Fills char[] buffer with line line_no and replaces all tab characters '\t' with blanks

Parameters:
line_no - line number to fill the buffer with
Returns:
length of buffer

getTextColor

public java.awt.Color getTextColor()
Get the textColor attribute of the Hilite object

Returns:
The textColor value

getTextXColor

public java.awt.Color getTextXColor()
Get the textXColor attribute of the Hilite object

Returns:
The textXColor value

getCommentColor

public java.awt.Color getCommentColor()
Get the commentColor attribute of the Hilite object

Returns:
The commentColor value

getCommentXColor

public java.awt.Color getCommentXColor()
Get the commentXColor attribute of the Hilite object

Returns:
The commentXColor value

getKeywordColor

public java.awt.Color getKeywordColor()
Get the keywordColor attribute of the Hilite object

Returns:
The keywordColor value

getKeywordXColor

public java.awt.Color getKeywordXColor()
Get the keywordXColor attribute of the Hilite object

Returns:
The keywordXColor value

getQuoteColor

public java.awt.Color getQuoteColor()
Get the quoteColor attribute of the Hilite object

Returns:
The quoteColor value

getQuoteXColor

public java.awt.Color getQuoteXColor()
Get the quoteXColor attribute of the Hilite object

Returns:
The quoteXColor value

getHideColor

public java.awt.Color getHideColor()
Get the hideColor attribute of the Hilite object

Returns:
The hideColor value

getHideXColor

public java.awt.Color getHideXColor()
Get the hideXColor attribute of the Hilite object

Returns:
The hideXColor value