|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gjt.sp.jedit.buffer.BufferAdapter
org.gjt.sp.jedit.textarea.ElasticTabStopBufferListener
public class ElasticTabStopBufferListener
Buffer Listener for Elastic Tabstops.
Constructor Summary | |
---|---|
ElasticTabStopBufferListener(TextArea textArea)
|
Method Summary | |
---|---|
void |
contentInserted(JEditBuffer buffer,
int startLine,
int offset,
int numLines,
int length)
Called when text is inserted into the buffer. |
void |
contentRemoved(JEditBuffer buffer,
int startLine,
int offset,
int numLines,
int length)
Called when text is removed from the buffer. |
void |
preContentInserted(JEditBuffer buffer,
int startLine,
int offset,
int numLines,
int length)
Called when text is about to be inserted in the buffer. |
void |
preContentRemoved(JEditBuffer buffer,
int startLine,
int offset,
int numLines,
int length)
Called when text is about to be removed from the buffer, but is still present. |
void |
transactionComplete(JEditBuffer buffer)
Called after an undo or compound edit has finished. |
Methods inherited from class org.gjt.sp.jedit.buffer.BufferAdapter |
---|
bufferLoaded, foldHandlerChanged, foldLevelChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElasticTabStopBufferListener(TextArea textArea)
Method Detail |
---|
public void contentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)
BufferAdapter
contentInserted
in interface BufferListener
contentInserted
in class BufferAdapter
buffer
- The buffer in questionstartLine
- The first lineoffset
- The start offset, from the beginning of the buffernumLines
- The number of lines insertedlength
- The number of characters insertedpublic void contentRemoved(JEditBuffer buffer, int startLine, int offset, int numLines, int length)
contentRemoved
in interface BufferListener
contentRemoved
in class BufferAdapter
buffer
- The buffer in questionstartLine
- The first lineoffset
- The start offset, from the beginning of the buffernumLines
- The number of lines removedlength
- The number of characters removedpublic void transactionComplete(JEditBuffer buffer)
BufferAdapter
transactionComplete
in interface BufferListener
transactionComplete
in class BufferAdapter
buffer
- The buffer in questionpublic void preContentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)
BufferAdapter
preContentInserted
in interface BufferListener
preContentInserted
in class BufferAdapter
buffer
- The buffer in questionstartLine
- The first lineoffset
- The start offset, from the beginning of the buffernumLines
- The number of lines insertedlength
- The number of characters insertedpublic void preContentRemoved(JEditBuffer buffer, int startLine, int offset, int numLines, int length)
BufferAdapter
preContentRemoved
in interface BufferListener
preContentRemoved
in class BufferAdapter
buffer
- The buffer in questionstartLine
- The first lineoffset
- The start offset, from the beginning of the buffernumLines
- The number of lines to be removedlength
- The number of characters to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |