Fix: jumps disordered (Go to Line,Transpose Lines UP,Transpose Lines (#6210)

Down,Comment Selected Block and UnComment Selected Block)

Signed-off-by: T.J. McGrath-Daly <tj.mcgrath.daly@huawei.com>

Co-authored-by: Tobias Alexander Franke <tobias.alexander.franke@huawei.com>
This commit is contained in:
tjmgd
2021-12-22 18:54:49 +00:00
committed by GitHub
parent 454d6405b0
commit 38bbf9659e
2 changed files with 23 additions and 12 deletions
@@ -1280,7 +1280,7 @@ namespace LUAEditor
// go to that line of the selected file.
lineNumber = dlg.getLineNumber();
currentView->SetCursorPosition(lineNumber - 1, 0);
currentView->SetCursorPosition(lineNumber, 0);
}
}