Package jetbrains.mps.text
Interface BufferSnapshot
- 
public interface BufferSnapshot 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classBufferSnapshot.TextPositionXXX TextLocation? 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BufferSnapshot.TextPositiongetEnd(TextMark mark)BufferSnapshot.TextPositiongetStart(TextMark mark)CharSequencegetText()CharSequencegetText(TextMark mark) 
 - 
 
- 
- 
Method Detail
- 
getStart
@NotNull BufferSnapshot.TextPosition getStart(@NotNull TextMark mark)
- Returns:
 - 0-based positions of mark start within buffer text
 
 
- 
getEnd
@NotNull BufferSnapshot.TextPosition getEnd(@NotNull TextMark mark)
- Returns:
 - 0-based positions of mark end within buffer text
 
 
- 
getText
@NotNull CharSequence getText(@NotNull TextMark mark)
- Returns:
 - marked text chunk
 
 
- 
getText
@NotNull CharSequence getText()
- Returns:
 - buffer text
 
 
 - 
 
 -