Skip to content

Commit

Permalink
Fix statusbar editor caret x,y
Browse files Browse the repository at this point in the history
  • Loading branch information
ollydev committed Sep 21, 2023
1 parent 221bc62 commit ae94c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/simba.ide_mainstatusbar.pas
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ae94c26

Please sign in to comment.