added comment about mixed fonts in the spell checker section
This commit is contained in:
parent
f66289aacf
commit
67873fd6c6
@ -893,6 +893,9 @@ namespace Volian.Controls.Library
|
||||
int adj = (int)(btm - top);
|
||||
for (int i = 0; i < errors.Count; i++)
|
||||
{
|
||||
// The positioning of the the squigle line does not account for mixed font sizes
|
||||
// should we support having mixed fonts in the table cells, we will need to add
|
||||
// logic to support it.
|
||||
Point ptStart = _rtf.GetPositionFromCharIndex(errors[i].Start);
|
||||
Point ptEnd = _rtf.GetPositionFromCharIndex(errors[i].Start + errors[i].Length);
|
||||
SquigleLine(e.Graphics, e.Bounds.Left + ptStart.X, e.Bounds.Top + ptStart.Y + adj, e.Bounds.Left + ptEnd.X);
|
||||
|
Loading…
x
Reference in New Issue
Block a user