We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9824a commit 85035b5Copy full SHA for 85035b5
Source/ExcelDna.IntelliSense/ToolTipForm.cs
@@ -354,7 +354,7 @@ protected override void OnPaint(PaintEventArgs e)
354
color = _textColor;
355
}
356
357
- foreach (var text in GetRunParts(run.Text)) // Might split on space too?
+ foreach (var text in GetRunParts(run.Text))
358
{
359
if (text == "") continue;
360
@@ -431,7 +431,7 @@ static IEnumerable<string> GetRunParts(string runText)
431
int lastStart = 0;
432
for (int i = 0; i < runText.Length; i++)
433
434
- if (runText[i] == ',')
+ if (runText[i] == ',' || runText[i] == ' ')
435
436
yield return runText.Substring(lastStart, i - lastStart + 1);
437
lastStart = i + 1;
0 commit comments