浏览代码

Note about Windows 11 Notepad

Source commit: 29458207940c37e1d78f2822ca43ecd96b5aad22
Martin Prikryl 9 月之前
父节点
当前提交
53d52b64b2
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      source/windows/WinConfiguration.cpp

+ 3 - 0
source/windows/WinConfiguration.cpp

@@ -133,6 +133,9 @@ void __fastcall TEditorData::ExternalEditorOptionsAutodetect()
     // A notable exception is Windows Notepad before Windows 10 1809, so here's an exception for it.
     ExternalEditorText = !IsWin10Build(17763);
 
+    // While on Windows 11, the notepad.exe open the MDI Store Windows Notepad,
+    // the notepad.exe process runs as long as the Windows Notepad tab is opened,
+    // so technically the notepad.exe is stil SDI
     SDIExternalEditor = true;
   }
 }