mirror of
https://github.com/fadden/6502bench.git
synced 2026-04-27 03:17:45 +00:00
Update comment
This commit is contained in:
1 parent
83ed8ed5d9
commit
c7090c9c52
1 file changed
+2
-3
@@ -1042,9 +1042,8 @@ namespace SourceGen {
|
||||
// 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,
|
||||
|
||||
Reference in new issue
Block a user