|
||||||||||
| 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
| 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 BufferListenercontentInserted in class BufferAdapterbuffer - 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 inserted
public void contentRemoved(JEditBuffer buffer,
int startLine,
int offset,
int numLines,
int length)
contentRemoved in interface BufferListenercontentRemoved in class BufferAdapterbuffer - 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 BufferListenertransactionComplete in class BufferAdapterbuffer - The buffer in question
public void preContentInserted(JEditBuffer buffer,
int startLine,
int offset,
int numLines,
int length)
BufferAdapter
preContentInserted in interface BufferListenerpreContentInserted in class BufferAdapterbuffer - 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 inserted
public void preContentRemoved(JEditBuffer buffer,
int startLine,
int offset,
int numLines,
int length)
BufferAdapter
preContentRemoved in interface BufferListenerpreContentRemoved in class BufferAdapterbuffer - 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 | |||||||||