Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fadden committed Dec 23, 2024
1 parent 83ed8ed commit c7090c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions SourceGen/LineListGen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1042,9 +1042,8 @@ private void GenerateLineList(int startOffset, int endOffset, List<Line> lines)
// and require word-wrap, so it's easiest just to render them fully here.
// Set "spaceAdded" to true so arstart doesn't try to add one after the comment.
//
// TODO: integrate into FormattedOperandCache so we don't have to
// regenerate them unless they change. Use the MLC as the dependency.
// Better: create FormattedMLCCache, use the MLC and Formatter.
// MultiLineComment now caches the previous render, and will return it from
// the FormatText() call if the arguments match.
if (mProject.Notes.TryGetValue(offset, out MultiLineComment noteData)) {
List<string> formatted = noteData.FormatText(mFormatter, "NOTE: ");
StringListToLines(formatted, offset, Line.Type.Note,
Expand Down

0 comments on commit c7090c9

Please sign in to comment.