* LineTag.cs: Fix a case where the GetCharIndex would not return 0
when the mouse was to the left of the first character in the line.
svn path=/trunk/mcs/; revision=87533
+2007-10-15 Jonathan Pobst <monkey@jpobst.com>
+
+ * LineTag.cs: Fix a case where the GetCharIndex would not return 0
+ when the mouse was to the left of the first character in the line.
+
2007-10-15 Jonathan Pobst <monkey@jpobst.com>
* TextBox.cs, TextBoxBase.cs: When setting the document's password
if (Length == 0)\r
return start;\r
\r
+ if (x < line.widths[low])\r
+ return low - 1;\r
+ \r
if (x > line.widths[line.TextLengthWithoutEnding ()])\r
return line.TextWithoutEnding ().Length;\r
\r