<feed xmlns='http://www.w3.org/2005/Atom'>
<title>scintilla-mirror/src/CellBuffer.cxx, branch rel-5-6-1</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>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>Bug [#1224]. Remember selection in undo history. SCI_SETSELECTIONUNDOHISTORY.</title>
<updated>2025-01-22T10:34:54+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-01-22T10:34:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=3de9d37c7b8f4501558d309ada718dc52533e94c'/>
<id>3de9d37c7b8f4501558d309ada718dc52533e94c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t.</title>
<updated>2024-11-25T21:19:54+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2024-11-25T21:19:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=1beb1d8b049d1bc998c513221ba758b633074d58'/>
<id>1beb1d8b049d1bc998c513221ba758b633074d58</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add SCI_GETUNDOSEQUENCE to determine whether an undo sequence is active and its</title>
<updated>2024-07-27T23:48:13+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2024-07-27T23:48:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=1cccf5165b891eb95c85932474bb872ab0fbe638'/>
<id>1cccf5165b891eb95c85932474bb872ab0fbe638</id>
<content type='text'>
nesting depth.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nesting depth.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reformat with astyle.</title>
<updated>2024-03-07T22:09:54+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2024-03-07T22:09:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=61b369cbfef41fece0d01b7ff600afaa891d76ec'/>
<id>61b369cbfef41fece0d01b7ff600afaa891d76ec</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:#1511] Add mayCoalesce argument to BeginUndoAction.</title>
<updated>2024-03-02T05:58:47+00:00</updated>
<author>
<name>John Ehresman</name>
<email>unknown</email>
</author>
<published>2024-03-02T05:58:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=e99c07091ec1cebc855bcda42426286872d3a667'/>
<id>e99c07091ec1cebc855bcda42426286872d3a667</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore change history to the extent possible when restoring undo history.</title>
<updated>2024-02-27T04:34:01+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2024-02-27T04:34:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=c596111b25cc19cc31945b28dbc00a57f9172689'/>
<id>c596111b25cc19cc31945b28dbc00a57f9172689</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore change history when restoring undo history.</title>
<updated>2024-02-17T21:30:04+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2024-02-17T21:30:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=6c1c08e08029f3daeba6822dec4487e1cddae445'/>
<id>6c1c08e08029f3daeba6822dec4487e1cddae445</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement detach point access with SCI_SETUNDODETACH and SCI_GETUNDODETACH.</title>
<updated>2024-02-15T22:52:43+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2024-02-15T22:52:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=f39367fc4c7af72caef8e20b1e9b1a038e242b0a'/>
<id>f39367fc4c7af72caef8e20b1e9b1a038e242b0a</id>
<content type='text'>
Write more documentation for undo history.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Write more documentation for undo history.
</pre>
</div>
</content>
</entry>
<entry>
<title>Perform validation of undo state when SCI_SETUNDOCURRENT called, setting status</title>
<updated>2024-02-15T03:17:08+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2024-02-15T03:17:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=38d2856d341358bf9c691157ae0ca2e8960e35df'/>
<id>38d2856d341358bf9c691157ae0ca2e8960e35df</id>
<content type='text'>
when invalid.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
when invalid.
</pre>
</div>
</content>
</entry>
</feed>
