Uses of Class
org.gjt.sp.jedit.buffer.JEditBuffer
-
Packages that use JEditBuffer Package Description org.gjt.sp.jedit This package contains jEdit 4'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 Indentation rules and actions.org.gjt.sp.jedit.textarea Classes related to jEdit's TextArea. -
-
Uses of JEditBuffer in org.gjt.sp.jedit
Subclasses of JEditBuffer in org.gjt.sp.jedit Modifier and Type Class Description classBufferABufferrepresents 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 Modifier and Type Method Description static intTextUtilities. 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 Modifier and Type Method Description voidBufferUndoListener. beginRedo(JEditBuffer buffer)Called when a redo on the buffer begins.voidBufferUndoListener. beginUndo(JEditBuffer buffer)Called when an undo operation on the buffer begins.voidBufferAdapter. bufferLoaded(JEditBuffer buffer)Called to notify the text area that the buffer has been reloaded.voidBufferListener. bufferLoaded(JEditBuffer buffer)Called to notify the text area that the buffer has been reloaded.voidBufferAdapter. contentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)Called when text is inserted into the buffer.voidBufferListener. contentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)Called when text is inserted into the buffer.voidBufferAdapter. contentRemoved(JEditBuffer buffer, int startLine, int offset, int numLines, int length)Called when text is removed from the buffer.voidBufferListener. contentRemoved(JEditBuffer buffer, int startLine, int offset, int numLines, int length)Called when text is removed from the buffer.voidBufferUndoListener. endRedo(JEditBuffer buffer)Called when a redo on the buffer ends.voidBufferUndoListener. endUndo(JEditBuffer buffer)Called when an undo operation on the buffer ends.voidBufferAdapter. foldHandlerChanged(JEditBuffer buffer)Called to notify the text area that folds need to be collapsed if the "collapseFolds" property is set.voidBufferListener. foldHandlerChanged(JEditBuffer buffer)Called to notify the text area that folds need to be collapsed if the "collapseFolds" property is set.voidBufferAdapter. foldLevelChanged(JEditBuffer buffer, int start, int end)Called when line fold levels change.voidBufferListener. foldLevelChanged(JEditBuffer buffer, int startLine, int endLine)Called when line fold levels change.intDummyFoldHandler. getFoldLevel(JEditBuffer buffer, int lineIndex, javax.swing.text.Segment seg)Returns the fold level of the specified line.intExplicitFoldHandler. getFoldLevel(JEditBuffer buffer, int lineIndex, javax.swing.text.Segment seg)Returns the fold level of the specified line.abstract intFoldHandler. getFoldLevel(JEditBuffer buffer, int lineIndex, javax.swing.text.Segment seg)Returns the fold level of the specified line.intIndentFoldHandler. getFoldLevel(JEditBuffer buffer, int lineIndex, javax.swing.text.Segment seg)Returns the fold level of 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.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.voidBufferAdapter. preContentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)Called when text is about to be inserted in the buffer.voidBufferListener. preContentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)Called when text is about to be inserted in the buffer.voidBufferAdapter. 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.voidBufferListener. 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.voidBufferAdapter. transactionComplete(JEditBuffer buffer)Called after an undo or compound edit has finished.voidBufferListener. transactionComplete(JEditBuffer buffer)Called after an undo or compound edit has finished.Constructors in org.gjt.sp.jedit.buffer with parameters of type JEditBuffer Constructor Description UndoManager(JEditBuffer buffer) -
Uses of JEditBuffer in org.gjt.sp.jedit.indent
Methods in org.gjt.sp.jedit.indent with parameters of type JEditBuffer Modifier and Type Method Description voidCloseBracketIndentRule. apply(JEditBuffer buffer, int thisLineIndex, int prevLineIndex, int prevPrevLineIndex, java.util.List<IndentAction> indentActions)voidDeepIndentRule. apply(JEditBuffer buffer, int thisLineIndex, int prevLineIndex, int prevPrevLineIndex, java.util.List<IndentAction> indentActions)voidIndentRule. 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.voidOpenBracketIndentRule. apply(JEditBuffer buffer, int thisLineIndex, int prevLineIndex, int prevPrevLineIndex, java.util.List<IndentAction> indentActions)voidRegexpIndentRule. apply(JEditBuffer buffer, int thisLineIndex, int prevLineIndex, int prevPrevLineIndex, java.util.List<IndentAction> indentActions)voidWhitespaceRule. apply(JEditBuffer buffer, int thisLineIndex, int prevLineIndex, int prevPrevLineIndex, java.util.List<IndentAction> indentActions)intIndentAction.AlignOffset. calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)intIndentAction.AlignParameter. calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)intIndentAction. calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)intIndentAction.Collapse. calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)This does nothing; it is merely a sentinel for theOpenBracketIndentRule.intIndentAction.Decrease. calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)intIndentAction.Increase. calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)intIndentAction.NoIncrease. calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)intIndentAction.Reset. calculateIndent(JEditBuffer buffer, int line, int oldIndent, int newIndent)BracketIndentRule.BracketsBracketIndentRule. getBrackets(JEditBuffer buffer, int lineIndex)BracketIndentRule.BracketsBracketIndentRule. 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 Modifier and Type Field Description protected JEditBufferTextArea. bufferMethods in org.gjt.sp.jedit.textarea that return JEditBuffer Modifier and Type Method Description JEditBufferDisplayManager. getBuffer()JEditBufferTextArea. getBuffer()Returns the buffer this text area is editing.Methods in org.gjt.sp.jedit.textarea with parameters of type JEditBuffer Modifier and Type Method Description static voidDisplayManager. bufferClosed(JEditBuffer buffer)voidElasticTabStopBufferListener. contentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)voidElasticTabStopBufferListener. contentRemoved(JEditBuffer buffer, int startLine, int offset, int numLines, int length)Called when text is removed from the buffer.abstract intSelection. getEnd(JEditBuffer buffer, int line)Returns the end of the portion of the selection falling on the specified line.intSelection.Range. getEnd(JEditBuffer buffer, int line)intSelection.Rect. getEnd(JEditBuffer buffer, int line)intSelection.Rect. getEndColumn(JEditBuffer buffer)abstract intSelection. getStart(JEditBuffer buffer, int line)Returns the beginning of the portion of the selection falling on the specified line.intSelection.Range. getStart(JEditBuffer buffer, int line)intSelection.Rect. getStart(JEditBuffer buffer, int line)intSelection.Rect. getStartColumn(JEditBuffer buffer)voidFoldPainter. 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.voidShapedFoldPainter. paintFoldEnd(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, int y, int lineHeight, JEditBuffer buffer)voidTriangleFoldPainter. paintFoldEnd(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, int y, int lineHeight, JEditBuffer buffer)voidFoldPainter. 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.voidShapedFoldPainter. paintFoldMiddle(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, int y, int lineHeight, JEditBuffer buffer)voidTriangleFoldPainter. paintFoldMiddle(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, int y, int lineHeight, JEditBuffer buffer)voidFoldPainter. 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.voidShapedFoldPainter. paintFoldStart(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, boolean nextLineVisible, int y, int lineHeight, JEditBuffer buffer)voidTriangleFoldPainter. paintFoldStart(Gutter gutter, java.awt.Graphics2D gfx, int screenLine, int physicalLine, boolean nextLineVisible, int y, int lineHeight, JEditBuffer buffer)voidElasticTabStopBufferListener. preContentInserted(JEditBuffer buffer, int startLine, int offset, int numLines, int length)voidElasticTabStopBufferListener. preContentRemoved(JEditBuffer buffer, int startLine, int offset, int numLines, int length)voidTextArea. setBuffer(JEditBuffer buffer)Sets the buffer this text area is editing.voidElasticTabStopBufferListener. transactionComplete(JEditBuffer buffer)Constructors in org.gjt.sp.jedit.textarea with parameters of type JEditBuffer Constructor Description ColumnBlock(JEditBuffer buffer, int startLine, int endLine)ColumnBlock(JEditBuffer buffer, int startLine, int startColumn, int endLine, int endColumn)Rect(JEditBuffer buffer, int startLine, int startColumn, int endLine, int endColumn)
-