From 62f21d96d71bb38d860eb7378ec0c0538ad65251 Mon Sep 17 00:00:00 2001 From: FRex Date: Thu, 11 Nov 2021 10:42:11 +0100 Subject: [PATCH] restore caret position on tab close --- mainunit.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mainunit.pas b/mainunit.pas index 9e8335f..f1d5d65 100644 --- a/mainunit.pas +++ b/mainunit.pas @@ -785,6 +785,8 @@ procedure TForm1.CloseTabActionExecute(Sender: TObject); end; FilterTextByAwesomeBar; + LoadCaretAndView(MainTabs.TabIndex); + end; procedure TForm1.DeselectSuggestionsTimerTimer(Sender: TObject);