mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SourceKit] fix typo in SwiftEditor.cpp
clearning -> clearing
This commit is contained in:
committed by
GitHub
parent
8ae3ee998f
commit
a1108fffe9
@@ -2127,7 +2127,7 @@ void SwiftEditorDocument::readSyntaxInfo(EditorConsumer &Consumer, bool ReportDi
|
|||||||
Impl.SyntaxMap = std::move(NewMap);
|
Impl.SyntaxMap = std::move(NewMap);
|
||||||
|
|
||||||
// Recording an affected length of 0 still results in the client updating
|
// Recording an affected length of 0 still results in the client updating
|
||||||
// its copy of the syntax map (by clearning all tokens on the line of the
|
// its copy of the syntax map (by clearing all tokens on the line of the
|
||||||
// affected offset). We need to not record it at all to signal a no-op.
|
// affected offset). We need to not record it at all to signal a no-op.
|
||||||
if (SawChanges)
|
if (SawChanges)
|
||||||
Consumer.recordAffectedRange(Impl.AffectedRange->Offset,
|
Consumer.recordAffectedRange(Impl.AffectedRange->Offset,
|
||||||
|
|||||||
Reference in New Issue
Block a user