Permalink
Browse files

Restore something that removing might have caused problems

  • Loading branch information...
1 parent 04a881b commit 297aedfb066a62ec6d58085f6d3cc433cd24e25d @danlucraft danlucraft committed Mar 29, 2012
Binary file not shown.
@@ -83,7 +83,7 @@ private void redrawLines(int line) {
if (line + 2 < control.getLineCount()) {
endingOffset = control.getOffsetAtLine(line + 2);
} else {
- endingOffset = control.getText().length();
+ endingOffset = control.getText().length() - 1;
}
control.redrawRange(startOffset, endingOffset - startOffset, false);
}

0 comments on commit 297aedf

Please sign in to comment.