From ae94c26cc2ccdf2d50b78f16e6bd3712e70d4a5f Mon Sep 17 00:00:00 2001 From: Olly Date: Thu, 21 Sep 2023 23:29:33 +0100 Subject: [PATCH] Fix statusbar editor caret x,y --- Source/simba.ide_mainstatusbar.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/simba.ide_mainstatusbar.pas b/Source/simba.ide_mainstatusbar.pas index aa32fe1e6..2c811c7eb 100644 --- a/Source/simba.ide_mainstatusbar.pas +++ b/Source/simba.ide_mainstatusbar.pas @@ -68,7 +68,7 @@ procedure TSimbaMainStatusBar.DoTabCaretMoved(Sender: TObject); begin if (Sender is TSimbaScriptTab) then with TSimbaScriptTab(Sender) do - FStatusBar.PanelText[2] := 'Line ' + IntToStr(Editor.CaretX) + ', Col ' + IntToStr(Editor.CaretY); + FStatusBar.PanelText[2] := 'Line ' + IntToStr(Editor.CaretY) + ', Col ' + IntToStr(Editor.CaretX); end; procedure TSimbaMainStatusBar.DoTabLoaded(Sender: TObject);