mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] Pass Text around more.
This helps de-couple us from the Swift Editor Document.
This commit is contained in:
@@ -88,7 +88,7 @@ public:
|
||||
void formatText(unsigned Line, unsigned Length, EditorConsumer &Consumer);
|
||||
void expandPlaceholder(unsigned Offset, unsigned Length,
|
||||
EditorConsumer &Consumer);
|
||||
StringRef getTrimmedTextForLine(unsigned Line);
|
||||
StringRef getTrimmedTextForLine(unsigned Line, StringRef Text);
|
||||
size_t getExpandedIndentForLine(unsigned LineIndex);
|
||||
|
||||
const swift::ide::CodeFormatOptions &getFormatOptions();
|
||||
|
||||
Reference in New Issue
Block a user