diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2012-04-05 12:05:41 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2012-04-05 12:05:41 +0400 |
commit | 665251c3230881becfb4ac76c98b2e219f17eac7 (patch) | |
tree | bd8f558a5103dbe8e58d4a48a713975563d926a8 /main/src/addins/VersionControl | |
parent | b4a84d3345d30512aac720fa23458c48a9eebc77 (diff) |
[TextEditor] Renamed LineSegment.EditableLength -> LineSegment.Length.
Diffstat (limited to 'main/src/addins/VersionControl')
-rw-r--r-- | main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/EditorCompareWidgetBase.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/EditorCompareWidgetBase.cs b/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/EditorCompareWidgetBase.cs index b01b8239b6..e0bef426d3 100644 --- a/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/EditorCompareWidgetBase.cs +++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Views/EditorCompareWidgetBase.cs @@ -260,7 +260,7 @@ namespace MonoDevelop.VersionControl.Views var point = editor.LocationToPoint (editor.Document.OffsetToLocation (startOffset), true); Cairo.Point point2; var line = editor.GetLineByOffset (startOffset); - if (line.Offset + line.EditableLength < endOffset) { + if (line.Offset + line.Length < endOffset) { point2 = new Cairo.Point ((int)(point.X + editor.TextViewMargin.CharWidth * (endOffset - startOffset)), point.Y); } else { point2 = editor.LocationToPoint (editor.Document.OffsetToLocation (endOffset), true); |