浏览代码

Compiler IDE change: The editor now restores selections on undo and redo.

Martijn Laan 5 月之前
父节点
当前提交
54e3e82fac
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 1 0
      Projects/Src/IDE.IDEScintEdit.pas
  2. 5 0
      whatsnew.htm

+ 1 - 0
Projects/Src/IDE.IDEScintEdit.pas

@@ -228,6 +228,7 @@ begin
   Call(SCI_SETADDITIONALSELECTIONTYPING, 1, 0);
   Call(SCI_SETMULTIPASTE, SC_MULTIPASTE_EACH, 0);
   Call(SCI_SETCOPYSEPARATOR, 0, LineEndingString);
+  Call(SCI_SETUNDOSELECTIONHISTORY, 1, 0);
 
   AssignCmdKey('Z', [ssShift, ssCtrl], SCI_REDO);
   

+ 5 - 0
whatsnew.htm

@@ -29,6 +29,11 @@ For conditions of distribution and use, see <a href="files/is/license.txt">LICEN
 
 <p><b>Want to be notified by e-mail of new Inno Setup releases?</b> <a href="ismail.php">Subscribe</a> to the Inno Setup Mailing List!</p>
 
+<p><a name="6.4.3"></a><span class="ver">6.4.3-dev </span><span class="date">(?)</span></p>
+<ul>
+  <li>Compiler IDE change: The editor now restores selections on undo and redo.</li>
+</ul>
+
 <p><a name="6.4.2"></a><span class="ver">6.4.2 </span><span class="date">(2025-03-12)</span></p>
 <ul>
   <li>Added <tt>[Setup]</tt> section directive <tt>CloseApplicationsFilterExcludes</tt>.</li>