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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user