mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "[SyntaxColor] Improve highligting of multiline strings"
This reverts commit 86d0fc37bc.
This was causing a performance regression.
Resolves rdar://problem/32434045
This commit is contained in:
@@ -81,11 +81,6 @@ public:
|
||||
else if (Line >= StartLine + Length) {
|
||||
Length = Line - StartLine + 1;
|
||||
}
|
||||
else if (Line < StartLine) {
|
||||
unsigned Delta = StartLine - Line;
|
||||
StartLine -= Delta;
|
||||
Length += Delta;
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user