<feed xmlns='http://www.w3.org/2005/Atom'>
<title>scintilla-mirror, branch sciteco-rel-5-5-7</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-10-26T13:42:45+00:00</updated>
<author>
<name>Robin Haberkorn</name>
<email>rhaberkorn@fmsbw.de</email>
</author>
<published>2025-10-19T21:40:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=db63b6316586873ae1fd13318787dca586026645'/>
<id>db63b6316586873ae1fd13318787dca586026645</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>disable automatic scrolling and choosing the X that caret sticks to</title>
<updated>2025-08-22T11:40:19+00:00</updated>
<author>
<name>Robin Haberkorn</name>
<email>robin.haberkorn@googlemail.com</email>
</author>
<published>2023-04-18T08:58:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=b1be61a1f449360187a6d9ff0b49f837177ffe9a'/>
<id>b1be61a1f449360187a6d9ff0b49f837177ffe9a</id>
<content type='text'>
* SciTECO needs to avoid automatic scrolling as an optimization.
  While this works partially by avoiding certain messages like SCI_GOTOPOS (in favor of SCI_SETEMPTYSELECTION),
  there aren't alternatives for all messages that scroll.
  For instance SCI_UNDO will always call EnsureCaretVisible().
  Also, even if we could avoid all scrolling messages, there is no guarantee that will not suddenly
  and unexpectedly break in the future.
* Instead, every scrolling is now disabled except for an explicit SCI_SCROLLCARET.
  SciTECO can therefore use the more intuitive messages like SCI_GOTOPOS.
* SetLastXChosen() (choosing the X that caret sticks to) has been found to be a major slow down
  during UNDO and serves no purpose on SciTECO anyway - we have to implement such an algorithm
  at the SciTECO language level.
  We therefore simply disable SetLastXChosen().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* SciTECO needs to avoid automatic scrolling as an optimization.
  While this works partially by avoiding certain messages like SCI_GOTOPOS (in favor of SCI_SETEMPTYSELECTION),
  there aren't alternatives for all messages that scroll.
  For instance SCI_UNDO will always call EnsureCaretVisible().
  Also, even if we could avoid all scrolling messages, there is no guarantee that will not suddenly
  and unexpectedly break in the future.
* Instead, every scrolling is now disabled except for an explicit SCI_SCROLLCARET.
  SciTECO can therefore use the more intuitive messages like SCI_GOTOPOS.
* SetLastXChosen() (choosing the X that caret sticks to) has been found to be a major slow down
  during UNDO and serves no purpose on SciTECO anyway - we have to implement such an algorithm
  at the SciTECO language level.
  We therefore simply disable SetLastXChosen().
</pre>
</div>
</content>
</entry>
<entry>
<title>commented out Editor::SetRepresentations()</title>
<updated>2025-08-22T11:40:19+00:00</updated>
<author>
<name>Robin Haberkorn</name>
<email>robin.haberkorn@googlemail.com</email>
</author>
<published>2021-10-10T14:47:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=e04f4e9a885a832ff13906cb1fd1e9b8abfd1922'/>
<id>e04f4e9a885a832ff13906cb1fd1e9b8abfd1922</id>
<content type='text'>
* This sets the default key representations on every SCI_SETDOCPOINTER
  which is very inefficient considering the way that SciTECO uses the
  Q-Register view.
  Furthermore it meant, we had to reset the representations to their
  SciTECO versions again after every SCI_SETDOCPOINTER.
* This patch only does not cause problems because we initialize
  the representations anyway for every Scintilla view.
  This patch is not meant to be upstreamed!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* This sets the default key representations on every SCI_SETDOCPOINTER
  which is very inefficient considering the way that SciTECO uses the
  Q-Register view.
  Furthermore it meant, we had to reset the representations to their
  SciTECO versions again after every SCI_SETDOCPOINTER.
* This patch only does not cause problems because we initialize
  the representations anyway for every Scintilla view.
  This patch is not meant to be upstreamed!
</pre>
</div>
</content>
</entry>
<entry>
<title>Feature [feature-requests:#1563]. Move main range in selection serialized form.</title>
<updated>2025-07-02T22:23:26+00:00</updated>
<author>
<name>Zufu Liu</name>
<email>unknown</email>
</author>
<published>2025-07-02T22:23:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=cde12528a7e587833926354b88ad1974aedaf103'/>
<id>cde12528a7e587833926354b88ad1974aedaf103</id>
<content type='text'>
Avoid processing characters multiple times by relying on from_chars munching
digit characters instead of searching for delimiters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid processing characters multiple times by relying on from_chars munching
digit characters instead of searching for delimiters.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some typos and indentation.</title>
<updated>2025-06-26T12:17:20+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-06-26T12:17:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=181b13c2eed7499d192d0b85c7269dc7ab71336b'/>
<id>181b13c2eed7499d192d0b85c7269dc7ab71336b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop making .BSC file as not needed and shows warnings.</title>
<updated>2025-06-21T22:24:55+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-06-21T22:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=1226611b78512a0e1b6299e5dd51c354290df0f4'/>
<id>1226611b78512a0e1b6299e5dd51c354290df0f4</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:#1557]. Fix finding sub-line of position in</title>
<updated>2025-06-17T03:25:27+00:00</updated>
<author>
<name>Zufu Liu</name>
<email>unknown</email>
</author>
<published>2025-06-17T03:25:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=c654993b564b128b01cd57fbe6bf1a5aa753ee47'/>
<id>c654993b564b128b01cd57fbe6bf1a5aa753ee47</id>
<content type='text'>
bidirectional mode which is used for accessibility on macOS with VoiceOver.
Avoid out-of-bounds access.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bidirectional mode which is used for accessibility on macOS with VoiceOver.
Avoid out-of-bounds access.
</pre>
</div>
</content>
</entry>
<entry>
<title>Feature [feature-requests:#1557]. Shorten expression.</title>
<updated>2025-06-17T03:20:11+00:00</updated>
<author>
<name>Zufu Liu</name>
<email>unknown</email>
</author>
<published>2025-06-17T03:20:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=b1dcfa8dc328644f2a68c5168130b9e66a842427'/>
<id>b1dcfa8dc328644f2a68c5168130b9e66a842427</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Squash some warnings, mostly by defining constants symbolically.</title>
<updated>2025-06-12T03:23:34+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2025-06-12T03:23:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=54ff6ee4087b74dd3c075f2cac6100f0542c87dd'/>
<id>54ff6ee4087b74dd3c075f2cac6100f0542c87dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug [#2482]. Force list colours to be opaque.</title>
<updated>2025-06-12T00:54:21+00:00</updated>
<author>
<name>Sven Ritter</name>
<email>unknown</email>
</author>
<published>2025-06-12T00:54:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=cfc124a4a9d8ba3176c2ba8a107dcdf4bdd36137'/>
<id>cfc124a4a9d8ba3176c2ba8a107dcdf4bdd36137</id>
<content type='text'>
Enlarge bitmap to avoid visible blank background between items.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enlarge bitmap to avoid visible blank background between items.
</pre>
</div>
</content>
</entry>
</feed>
