org.gjt.sp.jedit
Class Debug

java.lang.Object
  extended byorg.gjt.sp.jedit.Debug

public class Debug
extends java.lang.Object

This class contains various debugging flags mainly useful for core development.

Since:
jEdit 4.2pre1
Version:
$Id: Debug.java,v 1.16 2003/06/27 02:24:05 spestov Exp $
Author:
Slava Pestov

Field Summary
static boolean ALT_KEY_PRESSED_DISABLED
          If true, A+ shortcuts are disabled.
static boolean ALTERNATIVE_DISPATCHER
          If true, an alternative dispatcher using key typed events will be used to handle a modifier key press in conjunction with an alphabet key.
static boolean BEANSHELL_DEBUG
          Logs messages when BeanShell code is evaluated.
static boolean CHUNK_CACHE_DEBUG
          For checking invalidation, etc.
static boolean CHUNK_PAINT_DEBUG
          Paints boxes around chunks.
static boolean DISABLE_GLYPH_VECTOR
          Paint strings instead of glyph vectors.
static boolean DISABLE_MONOSPACE_HACK
          Disable monospaced font optimization.
static boolean DISABLE_POSITION_BALANCE
          Disable red-black tree.
static boolean DUMP_KEY_EVENTS
          Dump key events received by text area?
static boolean EB_TIMER
          Show time taken for each EBComponent.
static boolean FOLD_DEBUG
          For checking fold level invalidation, etc.
static boolean FOLD_VIS_DEBUG
          For checking the line visibility structure..
static boolean GEOMETRY_WORKAROUND
          Geometry workaround for X11.
static boolean OFFSET_DEBUG
          Print messages when the gap moves, and other offset manager state changes.
static boolean PAINT_TIMER
          Show time taken to repaint text area painter.
static boolean POSITION_DEBUG
          Position tree debugging.
static boolean SCREEN_LINES_DEBUG
          Print messages when screen line counts change.
static boolean SCROLL_DEBUG
          Print messages when text area and display manager perform scroll updates.
static boolean TOKEN_MARKER_DEBUG
          For checking context, etc.
static boolean VERIFY_FIRST_LINE
          Display an error if the scrolling code detects an inconsistency.
 
Constructor Summary
Debug()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OFFSET_DEBUG

public static boolean OFFSET_DEBUG
Print messages when the gap moves, and other offset manager state changes.


SCROLL_DEBUG

public static boolean SCROLL_DEBUG
Print messages when text area and display manager perform scroll updates.


VERIFY_FIRST_LINE

public static boolean VERIFY_FIRST_LINE
Display an error if the scrolling code detects an inconsistency. This kills performance!


SCREEN_LINES_DEBUG

public static boolean SCREEN_LINES_DEBUG
Print messages when screen line counts change.


TOKEN_MARKER_DEBUG

public static boolean TOKEN_MARKER_DEBUG
For checking context, etc.


FOLD_DEBUG

public static boolean FOLD_DEBUG
For checking fold level invalidation, etc.


FOLD_VIS_DEBUG

public static boolean FOLD_VIS_DEBUG
For checking the line visibility structure..


CHUNK_CACHE_DEBUG

public static boolean CHUNK_CACHE_DEBUG
For checking invalidation, etc.


CHUNK_PAINT_DEBUG

public static boolean CHUNK_PAINT_DEBUG
Paints boxes around chunks.


PAINT_TIMER

public static boolean PAINT_TIMER
Show time taken to repaint text area painter.


EB_TIMER

public static boolean EB_TIMER
Show time taken for each EBComponent.


DISABLE_MONOSPACE_HACK

public static boolean DISABLE_MONOSPACE_HACK
Disable monospaced font optimization.


DISABLE_GLYPH_VECTOR

public static boolean DISABLE_GLYPH_VECTOR
Paint strings instead of glyph vectors.


BEANSHELL_DEBUG

public static boolean BEANSHELL_DEBUG
Logs messages when BeanShell code is evaluated.


ALTERNATIVE_DISPATCHER

public static boolean ALTERNATIVE_DISPATCHER
If true, an alternative dispatcher using key typed events will be used to handle a modifier key press in conjunction with an alphabet key. On by default on MacOS.


ALT_KEY_PRESSED_DISABLED

public static boolean ALT_KEY_PRESSED_DISABLED
If true, A+ shortcuts are disabled. If you use this, you should also remap the the modifiers so that A+ is actually something else. On by default on MacOS.


GEOMETRY_WORKAROUND

public static boolean GEOMETRY_WORKAROUND
Geometry workaround for X11.


POSITION_DEBUG

public static boolean POSITION_DEBUG
Position tree debugging.


DISABLE_POSITION_BALANCE

public static boolean DISABLE_POSITION_BALANCE
Disable red-black tree.


DUMP_KEY_EVENTS

public static boolean DUMP_KEY_EVENTS
Dump key events received by text area?

Constructor Detail

Debug

public Debug()