ReSharper Platform SDK
 
Because ReSharper Platform SDK undefined is still in development, this documentation may not be entirely accurate and is subject to change.

Text Buffers

Last modified: 04 July 2023

Lexers process a block of text to produce a sequence of tokens. ReSharper provides the IBuffer interface to abstract accessing this text block:

The GetText(TextRange) method will return a string from a range within the buffer. See below for details on TextRange.

The AppendTextTo and CopyTo will append the text in the buffer to the given StringBuilder and copy to the given char array, respectively.