mirror of
https://github.com/fadden/6502bench.git
synced 2024-08-21 02:29:33 +00:00
Minor tweak to note formatting
This commit is contained in:
parent
e8d7057c2f
commit
a47e5bb895
@ -4071,8 +4071,14 @@ namespace SourceGen.AppForms {
|
|||||||
|
|
||||||
lvi.Text = mOutputFormatter.FormatOffset24(offset);
|
lvi.Text = mOutputFormatter.FormatOffset24(offset);
|
||||||
lvi.Tag = mlc;
|
lvi.Tag = mlc;
|
||||||
mNotesSubArray[0] = new ListViewItem.ListViewSubItem(lvi,
|
// Replace line break with bullet. If there's a single CRLF at the end, strip it.
|
||||||
mlc.Text.Replace("\r\n", " \u2022 "));
|
string nocrlfStr;
|
||||||
|
if (mlc.Text.EndsWith("\r\n")) {
|
||||||
|
nocrlfStr = mlc.Text.Substring(0, mlc.Text.Length - 1).Replace("\r\n", " \u2022 ");
|
||||||
|
} else {
|
||||||
|
nocrlfStr = mlc.Text.Replace("\r\n", " \u2022 ");
|
||||||
|
}
|
||||||
|
mNotesSubArray[0] = new ListViewItem.ListViewSubItem(lvi, nocrlfStr);
|
||||||
lvi.SubItems.AddRange(mNotesSubArray);
|
lvi.SubItems.AddRange(mNotesSubArray);
|
||||||
return lvi;
|
return lvi;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user