<feed xmlns='http://www.w3.org/2005/Atom'>
<title>scintilla-mirror, branch rel-5-5-8</title>
<subtitle>Git mirror of the Scintilla editor component. Referenced by the SciTECO repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/'/>
<entry>
<title>Updates for version 5.5.8.</title>
<updated>2025-11-04T22:20:54+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-11-04T22:20:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=bf191949ce2f1d9ecd4865ec621388f8700143a7'/>
<id>bf191949ce2f1d9ecd4865ec621388f8700143a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Feature [feature-requests:#1569]. Update to Unicode 16.</title>
<updated>2025-11-03T22:43:00+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-11-03T22:43:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=dab0b09e330c037e3786e7841dabbce046796217'/>
<id>dab0b09e330c037e3786e7841dabbce046796217</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Standardize parameter name for SCI_AUTOCSETIMAGESCALE for change #9752.</title>
<updated>2025-11-03T21:52:51+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-11-03T21:52:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=5229d476ef439c0a95095ba5915351f1a3b8900e'/>
<id>5229d476ef439c0a95095ba5915351f1a3b8900e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support ptrdiff_t if it has the same storage size as int, but does *not* alias it</title>
<updated>2025-11-03T09:06:45+00:00</updated>
<author>
<name>Robin Haberkorn</name>
<email>rhaberkorn@fmsbw.de</email>
</author>
<published>2025-11-03T09:06:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=30ec0541d55d048467ad5de9a9718d89ad6c8c35'/>
<id>30ec0541d55d048467ad5de9a9718d89ad6c8c35</id>
<content type='text'>
* This is the case e.g. on NetBSD 10 for ARMv6 where Sci::Position == ptrdiff_t == long int,
  but obviously for other platforms as well, where it causes "invalid conversion"
  and "undefined symbol" errors.
  Scintilla was testing for aliasability by comparing the storage size with sizeof()
  or PTRDIFF_MAX == INT_MAX at the preprocessor level.
  This was fundamentally flawed.
* In LineVector&lt;T&gt;::InsertLines() we are now using the C++17 construct
  std::is_convertible_v&lt;From*,To*&gt; instead.
* We need RunStyles&lt;ptrdiff_t&gt; as well on the affected platforms.
  This is impossible to test for in a constant expression that can be used
  with the preprocessor.
  Also, it's not possible to conditionally instantiate templates.
  We tried to instantiate RunStyles for all scalar types that could be behind ptrdiff_t,
  but it was causing warnings on MSVC.
  Implicitly instantiating RunStyles would be possible, but is not desired.
  Therefore as a workaround, you can now define the PTRDIFF_DOESNT_ALIAS_INT
  macro when invoking the build system, to force instantiating RunStyles&lt;ptrdiff_t&gt;.
  When writing portable applications, you may have to use a compile-time check
  for checking aliasability of ptrdiff_t and int in order to define PTRDIFF_DOESNT_ALIAS_INT.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* This is the case e.g. on NetBSD 10 for ARMv6 where Sci::Position == ptrdiff_t == long int,
  but obviously for other platforms as well, where it causes "invalid conversion"
  and "undefined symbol" errors.
  Scintilla was testing for aliasability by comparing the storage size with sizeof()
  or PTRDIFF_MAX == INT_MAX at the preprocessor level.
  This was fundamentally flawed.
* In LineVector&lt;T&gt;::InsertLines() we are now using the C++17 construct
  std::is_convertible_v&lt;From*,To*&gt; instead.
* We need RunStyles&lt;ptrdiff_t&gt; as well on the affected platforms.
  This is impossible to test for in a constant expression that can be used
  with the preprocessor.
  Also, it's not possible to conditionally instantiate templates.
  We tried to instantiate RunStyles for all scalar types that could be behind ptrdiff_t,
  but it was causing warnings on MSVC.
  Implicitly instantiating RunStyles would be possible, but is not desired.
  Therefore as a workaround, you can now define the PTRDIFF_DOESNT_ALIAS_INT
  macro when invoking the build system, to force instantiating RunStyles&lt;ptrdiff_t&gt;.
  When writing portable applications, you may have to use a compile-time check
  for checking aliasability of ptrdiff_t and int in order to define PTRDIFF_DOESNT_ALIAS_INT.
</pre>
</div>
</content>
</entry>
<entry>
<title>Feature [feature-requests:#1567]. Remove unnecessary InvalidateStyleRedraw call.</title>
<updated>2025-10-29T06:15:27+00:00</updated>
<author>
<name>YX Hao</name>
<email>unknown</email>
</author>
<published>2025-10-29T06:15:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=b0552440af91e0e7647df415b92c5b3e75b5f654'/>
<id>b0552440af91e0e7647df415b92c5b3e75b5f654</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Feature [feature-requests:#1567]. Fix bug when indenting rectangular selection.</title>
<updated>2025-10-29T06:10:25+00:00</updated>
<author>
<name>Zufu Liu</name>
<email>unknown</email>
</author>
<published>2025-10-29T06:10:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=bd97e46bc614bb86ff18ab493240dc9be2dabd05'/>
<id>bd97e46bc614bb86ff18ab493240dc9be2dabd05</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Feature [feature-requests:#1567]. Fix running tests in Visual C++ debugger.</title>
<updated>2025-10-29T06:03:25+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-10-29T06:03:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=527af5a4ec23792f40dd26dbbc076b006d75369d'/>
<id>527af5a4ec23792f40dd26dbbc076b006d75369d</id>
<content type='text'>
Set optional SCINTILLA_BIN environment variable to point to build directory.
It's unclear just what the problem was but Python 3.13 would crash out in window
handling code when run inside the debugger and using its HINSTANCE.
Changing to a global class and using None for the HINSTANCE made it work.
There are various other minor problems here like using c_int (32-bit) for the
window procedure return instead of c_ssize_t (64-bit) but they are not worth
destabilizing the code further.

Example Scintilla.vcxproj.user for debugging a test script with a particular
Python interpreter.

&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
  &lt;PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"&gt;
    &lt;LocalDebuggerCommand&gt;C:\Users\Neil\AppData\Local\Programs\Python\Python313\python.exe&lt;/LocalDebuggerCommand&gt;
    &lt;DebuggerFlavor&gt;WindowsLocalDebugger&lt;/DebuggerFlavor&gt;
    &lt;LocalDebuggerCommandArguments&gt;G:\u\hg\scintilla\test\simpleTests.py&lt;/LocalDebuggerCommandArguments&gt;
    &lt;LocalDebuggerWorkingDirectory&gt;G:\u\hg\scintilla\test\&lt;/LocalDebuggerWorkingDirectory&gt;
    &lt;LocalDebuggerEnvironment&gt;SCINTILLA_BIN=G:\\u\\hg\\scintilla\\win32\\x64\\Debug&lt;/LocalDebuggerEnvironment&gt;
  &lt;/PropertyGroup&gt;
&lt;/Project&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set optional SCINTILLA_BIN environment variable to point to build directory.
It's unclear just what the problem was but Python 3.13 would crash out in window
handling code when run inside the debugger and using its HINSTANCE.
Changing to a global class and using None for the HINSTANCE made it work.
There are various other minor problems here like using c_int (32-bit) for the
window procedure return instead of c_ssize_t (64-bit) but they are not worth
destabilizing the code further.

Example Scintilla.vcxproj.user for debugging a test script with a particular
Python interpreter.

&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
  &lt;PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"&gt;
    &lt;LocalDebuggerCommand&gt;C:\Users\Neil\AppData\Local\Programs\Python\Python313\python.exe&lt;/LocalDebuggerCommand&gt;
    &lt;DebuggerFlavor&gt;WindowsLocalDebugger&lt;/DebuggerFlavor&gt;
    &lt;LocalDebuggerCommandArguments&gt;G:\u\hg\scintilla\test\simpleTests.py&lt;/LocalDebuggerCommandArguments&gt;
    &lt;LocalDebuggerWorkingDirectory&gt;G:\u\hg\scintilla\test\&lt;/LocalDebuggerWorkingDirectory&gt;
    &lt;LocalDebuggerEnvironment&gt;SCINTILLA_BIN=G:\\u\\hg\\scintilla\\win32\\x64\\Debug&lt;/LocalDebuggerEnvironment&gt;
  &lt;/PropertyGroup&gt;
&lt;/Project&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Cocoa bidirectional mode crash when scrolled before start of document.</title>
<updated>2025-10-13T02:27:07+00:00</updated>
<author>
<name>Neil Hodgson</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-10-13T02:27:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=66185664e71b7cd65fa933467e338c665b2d5b88'/>
<id>66185664e71b7cd65fa933467e338c665b2d5b88</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug [#2487]. Reduce work performed for SetSelectionSerialized.</title>
<updated>2025-10-11T22:10:20+00:00</updated>
<author>
<name>Zufu Liu</name>
<email>unknown</email>
</author>
<published>2025-10-11T22:10:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=ec7e01ee4f94c654849c763835d8f03b8398db82'/>
<id>ec7e01ee4f94c654849c763835d8f03b8398db82</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress #error diagnostics in files generated by Qt.</title>
<updated>2025-10-11T22:02:20+00:00</updated>
<author>
<name>Zufu Liu</name>
<email>unknown</email>
</author>
<published>2025-10-11T22:02:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=98789ba72fbe438edc95e1fb7f50cf9431352858'/>
<id>98789ba72fbe438edc95e1fb7f50cf9431352858</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
