diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2023-04-18 11:58:19 +0300 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-05-09 22:44:45 +0200 |
| commit | 01a9fb54ba284e440cbf4799fc3b8840584471be (patch) | |
| tree | 4e6e27b06cef6b28c7b30a2929f74a247af1815a /cocoa/ScintillaTest/TestData.sql | |
| parent | 5fc04741e79dfb90df2a173cf4fe35842eddde3e (diff) | |
| download | scintilla-mirror-01a9fb54ba284e440cbf4799fc3b8840584471be.tar.gz | |
disable automatic scrolling and choosing the X that caret sticks to
* 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().
Diffstat (limited to 'cocoa/ScintillaTest/TestData.sql')
0 files changed, 0 insertions, 0 deletions
