mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Switch X and Y coordinates of cursor position label in text editor, like it's in the status bar. And decrease timer interval for updating label.
This commit is contained in:
@@ -134,7 +134,7 @@ begin
|
||||
Lines := 0
|
||||
else
|
||||
Lines := CountLineBreaks(FmemoText.Text) + 1;
|
||||
CursorPos := FormatNumber(FmemoText.CaretPos.X+1) + ' : ' + FormatNumber(FmemoText.CaretPos.Y+1);
|
||||
CursorPos := FormatNumber(FmemoText.CaretPos.Y+1) + ' : ' + FormatNumber(FmemoText.CaretPos.X+1);
|
||||
lblTextLength.Caption := f_('%s characters (max: %s), %s lines, cursor at %s', [FormatNumber(TextLen), MaxLen, FormatNumber(Lines), CursorPos]);
|
||||
end;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user