Uses of Class
org.gjt.sp.jedit.buffer.JEditBuffer

Packages that use JEditBuffer
org.gjt.sp.jedit This package contains jEdit's core classes. 
org.gjt.sp.jedit.buffer Buffer event listeners, and classes used to implement jEdit's document model. 
org.gjt.sp.jedit.indent   
org.gjt.sp.jedit.textarea The classes in this package are in the process of being refactored, for jedit 4.3final. 
 

Uses of JEditBuffer in org.gjt.sp.jedit
 

Subclasses of JEditBuffer in org.gjt.sp.jedit
 class Buffer
          A Buffer represents the contents of an open text file as it is maintained in the computer's memory (as opposed to how it may be stored on a disk).
 

Methods in org.gjt.sp.jedit with parameters of type JEditBuffer
static int TextUtilities.findMatchingBracket(JEditBuffer buffer, int line, int offset)
          Returns the offset of the bracket matching the one at the specified offset of the buffer, or -1 if the bracket is unmatched (or if the character is not a bracket).
 

Uses of JEditBuffer in org.gjt.sp.jedit.buffer
 

Methods in org.gjt.sp.jedit.buffer with parameters of type JEditBuffer
 void BufferListener.bufferLoaded(JEditBuffer buffer)
          Called to notify the text area that the buffer has been reloaded.
 void BufferChangeListener.Adapter.bufferLoaded(JEditBuffer buffer)
          Called to notify the text area that the buffer has been reloaded.
 void BufferAdapter.bufferLoaded(JEditBuffer buffer)
          Called to notify the text area that the buffer has been reloaded.
 void BufferListener.contentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)
          Called when text is inserted into the buffer.
 void BufferChangeListener.Adapter.contentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)
          Called when text is inserted into the buffer.
 void BufferAdapter.contentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)
          Called when text is inserted into the buffer.
 void BufferListener.contentRemoved(JEditBuffer buffer, int startLine, int offset, int numLines, int length)
          Called when text is removed from the buffer.
 void BufferChangeListener.Adapter.contentRemoved(JEditBuffer buffer, int startLine, int offset, int numLines, int length)
          Called when text is removed from the buffer.
 void BufferAdapter.contentRemoved(JEditBuffer buffer, int startLine, int offset, int numLines, int length)
          Called when text is removed from the buffer.
 void BufferListener.foldHandlerChanged(JEditBuffer buffer)
          Called to notify the text area that folds need to be collapsed if the "collapseFolds" property is set.
 void BufferChangeListener.Adapter.foldHandlerChanged(JEditBuffer buffer)
          Called to notify the text area that folds need to be collapsed if the "collapseFolds" property is set.
 void BufferAdapter.foldHandlerChanged(JEditBuffer buffer)
          Called to notify the text area that folds need to be collapsed if the "collapseFolds" property is set.
 void BufferListener.foldLevelChanged(JEditBuffer buffer, int startLine, int endLine)
          Called when line fold levels change.
 void BufferChangeListener.Adapter.foldLevelChanged(JEditBuffer buffer, int startLine, int endLine)
          Called when line fold levels change.
 void BufferAdapter.foldLevelChanged(JEditBuffer buffer, int start, int end)
          Called when line fold levels change.
 int IndentFoldHandler.getFoldLevel(JEditBuffer buffer, int lineIndex, javax.swing.text.Segment seg)
          Returns the fold level of the specified line.
abstract  int FoldHandler.getFoldLevel(JEditBuffer buffer, int lineIndex, javax.swing.text.Segment seg)
          Returns the fold level of the specified line.
 int ExplicitFoldHandler.getFoldLevel(JEditBuffer buffer, int lineIndex, javax.swing.text.Segment seg)
          Returns the fold level of the specified line.
 int DummyFoldHandler.getFoldLevel(JEditBuffer buffer, int lineIndex, javax.swing.text.Segment seg)
          Returns the fold level of the specified line.
 void BufferListener.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 BufferChangeListener.Adapter.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 BufferAdapter.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 BufferListener.transactionComplete(JEditBuffer buffer)
          Called after an undo or compound edit has finished.
 void BufferChangeListener.Adapter.transactionComplete(JEditBuffer buffer)
          Called after an undo or compound edit has finished.
 void BufferAdapter.transactionComplete(JEditBuffer buffer)
          Called after an undo or compound edit has finished.
 

Constructors in org.gjt.sp.jedit.buffer with parameters of type JEditBuffer
PositionManager(JEditBuffer buffer)
           
UndoManager(JEditBuffer buffer)
           
 

Uses of JEditBuffer in org.gjt.sp.jedit.indent
 

Methods in org.gjt.sp.jedit.indent with parameters of type JEditBuffer
 void RegexpIndentRule.apply(JEditBuffer buffer, int thisLineIndex, int prevLineIndex, int prevPrevLineIndex, java.util.List<IndentAction> indentActions)
           
 void OpenBracketIndentRule.apply(JEditBuffer buffer, int thisLineIndex, int prevLineIndex, int prevPrevLineIndex, java.util.List<IndentAction> indentActions)
           
 void IndentRule.apply(JEditBuffer buffer, int thisLineIndex, int prevLineIndex, int prevPrevLineIndex, java.util.List<IndentAction> indentActions)
          Apply the indent rule to this line, and return an indent action.
 void DeepIndentRule.apply(JEditBuffer buffer, int thisLineIndex, int prevLineIndex, int prevPrevLineIndex, java.util.List<IndentAction> indentActions)
           
 void CloseBracketIndentRule.apply(JEditBuffer buffer, int thisLineIndex, int prevLineIndex, int prevPrevLineIndex, java.util.List<IndentAction> indentActions)
           
 int IndentAction.calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
           
 int IndentAction.Collapse.calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
          This does nothing; it is merely a sentinel for the OpenBracketIndentRule.
 int IndentAction.Reset.calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
           
 int IndentAction.Increase.calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
           
 int IndentAction.Decrease.calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
           
 int IndentAction.AlignBracket.calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
           
 int IndentAction.AlignOffset.calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
           
 int IndentAction.AlignParameter.calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
           
 

Constructors in org.gjt.sp.jedit.indent with parameters of type JEditBuffer
IndentAction.AlignBracket(JEditBuffer buffer, int line, int offset)
           
 

Uses of JEditBuffer in org.gjt.sp.jedit.textarea
 

Methods in org.gjt.sp.jedit.textarea that return JEditBuffer
 JEditBuffer JEditTextArea.getBuffer()
          Returns the buffer this text area is editing.
 JEditBuffer DisplayManager.getBuffer()
           
 

Methods in org.gjt.sp.jedit.textarea with parameters of type JEditBuffer
static void DisplayManager.bufferClosed(JEditBuffer buffer)
           
abstract  int Selection.getEnd(JEditBuffer buffer, int line)
          Returns the end of the portion of the selection falling on the specified line.
 int Selection.Range.getEnd(JEditBuffer buffer, int line)
           
 int Selection.Rect.getEnd(JEditBuffer buffer, int line)
           
 int Selection.Rect.getEndColumn(JEditBuffer buffer)
           
abstract  int Selection.getStart(JEditBuffer buffer, int line)
          Returns the beginning of the portion of the selection falling on the specified line.
 int Selection.Range.getStart(JEditBuffer buffer, int line)
           
 int Selection.Rect.getStart(JEditBuffer buffer, int line)
           
 int Selection.Rect.getStartColumn(JEditBuffer buffer)
           
 void JEditTextArea.setBuffer(JEditBuffer buffer)
          Sets the buffer this text area is editing.
 

Constructors in org.gjt.sp.jedit.textarea with parameters of type JEditBuffer
Selection.Rect(JEditBuffer buffer, int startLine, int startColumn, int endLine, int endColumn)