Removed unneeded array sort

This commit is contained in:
2025-12-20 17:47:35 -07:00
parent f0e7506905
commit badcdd3c31

View File

@@ -206,8 +206,6 @@ public class SlangFormatter : ICodeFormatter
entry.SlangSource.StartLine == caretPos || entry.SlangSource.EndLine == caretPos entry.SlangSource.StartLine == caretPos || entry.SlangSource.EndLine == caretPos
); );
lines.Sort((itemA, itemB) => itemA.Ic10Line.CompareTo(itemB.Ic10Line));
// extract the current "context" of the ic10 compilation. The current Slang source line // extract the current "context" of the ic10 compilation. The current Slang source line
// should be directly next to the compiled IC10 source line, and we should highlight the // should be directly next to the compiled IC10 source line, and we should highlight the
// IC10 code that directly represents the Slang source // IC10 code that directly represents the Slang source