White Space Plugin By André Kaplan
akaplan@users.sourceforge.net

Presentation

The main feature of White Space is to highlight spaces and tabs (which are normally invisible).

When highlighted,

White Space has also some other useful features:

 1:public class BlockHighlight implements TextAreaHighlight
 2:{
 3:    private BlockHighlight() {}
 4:
 5:    Separator
 6:    public void init(JEditTextArea textArea, TextAreaHighlight next) {
 7:        this.textArea = textArea;
 8:        this.next = next;
 9:    }
10:
11:    Separator
12:    ...
13:}

The highlighting of spaces, tabs and paragraph separators are independent. Use the following toggle actions to obtain your favorite combination:

At last, some jEdit actions are related to spaces and tabs handling:

Options

White Space options are available under: Utilities -> Global Options -> Plugin Options -> White Space.

Display options

"On save" options

When chosen, these actions are performed when a buffer is saved:

Remove trailing whitespaces
All trailing tabs and spaces are removed, except those preceded by one of the given escape characters. The default escape character is \ (backslash). E.g.
SomeSpacetext:\SpaceTabSpace
will be replaced by
SomeSpacetext:\Space
Tabify leading whitespaces
Leading whitespaces are replaced by a sequence of tabs possibly followed by at most tabSize - 1 spaces (the expanded length of leading whitespaces remains the same).
Untabify leading whitespaces
All tabs are removed from the leading whitespaces and replaced by an equivalent number of spaces (the expanded length of leading whitespaces remains the same)

Feedback

The preferred way to send bug reports or feature requests is to use the jEdit Bug Tracker at http://sourceforge.net/bugs/?group_id=588.
You can also write to: