summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUffe Jakobsen2022-12-08 11:35:39 +0100
committerUffe Jakobsen2022-12-08 11:35:39 +0100
commit7a1b5e7d6bdca9ebd3a026fac20b13ddd63d6c34 (patch)
treee1f34a5719844b93f740703ec282904e9a2a4e93
parentc7130b297dfcff795af0917942447aeaa9e01b60 (diff)
downloadaur-7a1b5e7d6bdca9ebd3a026fac20b13ddd63d6c34.tar.gz
Refresh FSW patch
-rw-r--r--codelite-fsw-symlink.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/codelite-fsw-symlink.patch b/codelite-fsw-symlink.patch
index c010c0bd9658..b7c684557811 100644
--- a/codelite-fsw-symlink.patch
+++ b/codelite-fsw-symlink.patch
@@ -78,7 +78,7 @@ index 6bbdc24c5..462fcdc13 100644
\ No newline at end of file
+}
diff --git LiteEditor/mainbook.cpp LiteEditor/mainbook.cpp
-index 9798c7189..71ed6bed9 100644
+index 9798c7189..971eaad7a 100644
--- LiteEditor/mainbook.cpp
+++ LiteEditor/mainbook.cpp
@@ -440,7 +440,7 @@ int MainBook::FindEditorIndexByFullPath(const wxString& fullpath)
@@ -99,6 +99,15 @@ index 9798c7189..71ed6bed9 100644
if(editorDest.Cmp(fullpath) == 0 || editorDest.Cmp(fileNameDest) == 0) {
return i;
}
+@@ -1751,7 +1751,7 @@ WelcomePage* MainBook::GetOrCreateWelcomePage()
+
+ clEditor* MainBook::OpenFileAsync(const wxString& file_name, std::function<void(IEditor*)>&& callback)
+ {
+- wxString real_path = CLRealPath(file_name);
++ wxString real_path = FileUtils::RealPath(file_name);
+ auto editor = FindEditor(real_path);
+ if(editor) {
+ push_callback(std::move(callback), real_path);
diff --git Plugin/globals.cpp Plugin/globals.cpp
index 68e87c0b1..2800d4b44 100644
--- Plugin/globals.cpp