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 Since jEdit 4.2, many TextArea classes have been split into a base and derived class. 
 

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 BufferUndoListener.beginRedo(JEditBuffer buffer)
          Called when a redo on the buffer begins.
 void BufferUndoListener.beginUndo(JEditBuffer buffer)
          Called when an undo operation on the buffer begins.
 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 BufferUndoListener.endRedo(JEditBuffer buffer)
          Called when a redo on the buffer ends.
 void BufferUndoListener.endUndo(JEditBuffer buffer)
          Called when an undo operation on the buffer ends.
 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.
 java.util.List<java.lang.Integer> IndentFoldHandler.getPrecedingFoldLevels(JEditBuffer buffer, int lineIndex, javax.swing.text.Segment seg, int lineFoldLevel)
          Returns the fold levels of the lines preceding the specified line, which depend on the specified line.
 java.util.List<java.lang.Integer> FoldHandler.getPrecedingFoldLevels(JEditBuffer buffer, int lineIndex, javax.swing.text.Segment seg, int lineFoldLevel)
          Returns the fold levels of the lines preceding the specified line, which depend on the specified line.
 void BufferListener.preContentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)
          Called when text is about to be inserted in the buffer.
 void BufferChangeListener.Adapter.preContentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)
          Called when text is about to be inserted in the buffer.
 void BufferAdapter.preContentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)
          Called when text is about to be inserted in the buffer.
 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 WhitespaceRule.apply(JEditBuffer buffer, int thisLineIndex, int prevLineIndex, int prevPrevLineIndex, java.util.List<IndentAction> indentActions)
           
 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.AlignOffset.calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
           
 int IndentAction.AlignParameter.calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
           
 int IndentAction.NoIncrease.calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)
           
 BracketIndentRule.Brackets BracketIndentRule.getBrackets(JEditBuffer buffer, int lineIndex)
           
 BracketIndentRule.Brackets BracketIndentRule.getBrackets(JEditBuffer buffer, int lineIndex, int begin, int end)
           
 

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

Fields in org.gjt.sp.jedit.textarea declared as JEditBuffer
protected  JEditBuffer TextArea.buffer
           
 

Methods in org.gjt.sp.jedit.textarea that return JEditBuffer
 JEditBuffer TextArea.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 TriangleFoldPainter.paintFoldEnd(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, int y, int lineHeight, JEditBuffer buffer)
           
 void ShapedFoldPainter.paintFoldEnd(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, int y, int lineHeight, JEditBuffer buffer)
           
 void FoldPainter.paintFoldEnd(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, int y, int lineHeight, JEditBuffer buffer)
          Paints the end of a fold in the gutter.
 void TriangleFoldPainter.paintFoldMiddle(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, int y, int lineHeight, JEditBuffer buffer)
           
 void ShapedFoldPainter.paintFoldMiddle(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, int y, int lineHeight, JEditBuffer buffer)
           
 void FoldPainter.paintFoldMiddle(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, int y, int lineHeight, JEditBuffer buffer)
          Paints the middle of a fold (single line) in the gutter.
 void TriangleFoldPainter.paintFoldStart(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, boolean nextLineVisible, int y, int lineHeight, JEditBuffer buffer)
           
 void ShapedFoldPainter.paintFoldStart(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, boolean nextLineVisible, int y, int lineHeight, JEditBuffer buffer)
           
 void FoldPainter.paintFoldStart(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, boolean nextLineVisible, int y, int lineHeight, JEditBuffer buffer)
          Paints the beginning of a fold in the gutter.
 void TextArea.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)