summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-03-05 04:05:03 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2015-03-05 04:05:03 (GMT)
commit18151081a929d4161de8a88e1c77e58a03e66cbd (patch)
tree9e8175d47588772d06b5d8a4c0ca70dc1c3db3d8
parentd87b3ce512ee4164511af3b931a5a85df2c6018e (diff)
downloadtqscintilla-18151081.zip
tqscintilla-18151081.tar.gz
Fix incorrectly renamed strings
-rwxr-xr-xsrc/Editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.cpp b/src/Editor.cpp
index 9ac8c1b..c08517a 100755
--- a/src/Editor.cpp
+++ b/src/Editor.cpp
@@ -1246,7 +1246,7 @@ void Editor::EnsureCaretVisible(bool useMargin, bool vert, bool horiz) {
int lineCaret = DisplayFromPosition(posCaret);
bool bSlop, bStrict, bJump, bEven;
- //Qt::Vertical positioning
+ // Vertical positioning
if (vert && (pt.y < rcClient.top || ptBottomCaret.y > rcClient.bottom || (caretYPolicy & CARET_STRICT) != 0)) {
int linesOnScreen = LinesOnScreen();
int halfScreen = Platform::Maximum(linesOnScreen - 1, 2) / 2;
@@ -1340,7 +1340,7 @@ void Editor::EnsureCaretVisible(bool useMargin, bool vert, bool horiz) {
}
}
- //Qt::Horizontal positioning
+ // Horizontal positioning
if (horiz && (wrapState == eWrapNone)) {
int halfScreen = Platform::Maximum(rcClient.Width() - 4, 4) / 2;
int xOffsetNew = xOffset;