Browse Source

TextEditor: Fixed UpdateToEnd when there are folded regions.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2601 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 18 years ago
parent
commit
e49d2b4493
  1. 2
      src/Libraries/ICSharpCode.TextEditor/Project/Src/Gui/TextArea.cs

2
src/Libraries/ICSharpCode.TextEditor/Project/Src/Gui/TextArea.cs

@ -898,7 +898,7 @@ namespace ICSharpCode.TextEditor @@ -898,7 +898,7 @@ namespace ICSharpCode.TextEditor
// return;
// }
//lineBegin = Math.Min(lineBegin, FirstPhysicalLine);
lineBegin = Document.GetVisibleLine(lineBegin);
int y = Math.Max( 0, (int)(lineBegin * textView.FontHeight));
y = Math.Max(0, y - this.virtualTop.Y);
Rectangle r = new Rectangle(0,

Loading…
Cancel
Save