Browse Source

Fix incorrectly renamed strings

master
Slávek Banko 4 years ago
parent
commit
18151081a9
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/Editor.cpp

+ 2
- 2
src/Editor.cpp View File

@@ -1246,7 +1246,7 @@ void Editor::EnsureCaretVisible(bool useMargin, bool vert, bool horiz) {
1246 1246
 	int lineCaret = DisplayFromPosition(posCaret);
1247 1247
 	bool bSlop, bStrict, bJump, bEven;
1248 1248
 
1249
-	//Qt::Vertical positioning
1249
+	// Vertical positioning
1250 1250
 	if (vert && (pt.y < rcClient.top || ptBottomCaret.y > rcClient.bottom || (caretYPolicy & CARET_STRICT) != 0)) {
1251 1251
 		int linesOnScreen = LinesOnScreen();
1252 1252
 		int halfScreen = Platform::Maximum(linesOnScreen - 1, 2) / 2;
@@ -1340,7 +1340,7 @@ void Editor::EnsureCaretVisible(bool useMargin, bool vert, bool horiz) {
1340 1340
 		}
1341 1341
 	}
1342 1342
 
1343
-	//Qt::Horizontal positioning
1343
+	// Horizontal positioning
1344 1344
 	if (horiz && (wrapState == eWrapNone)) {
1345 1345
 		int halfScreen = Platform::Maximum(rcClient.Width() - 4, 4) / 2;
1346 1346
 		int xOffsetNew = xOffset;

Loading…
Cancel
Save