We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ac9824a + 85035b5 commit b2e9586Copy full SHA for b2e9586
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