Re: Request for SCI_SETUNDOSELECTIONHISTORY to make top line restoration optional
Mitchell <[email protected]> Tue, 15 Apr 2025 00:21:13 -0400
| Newsgroups | gmane.comp.lib.scintilla.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, > On Apr 14, 2025, at 9:40 AM, Mitchell <[email protected]> wrote: > > Hi Neil, > > Currently, when SCI_SETUNDOSELECTIONHISTORY is enabled, undo restores both the selection and the top line (scroll) position. Can we add either an option or a bit-field to disable the latter? I find it quite jarring when I’ve scrolled the view a little bit and press undo, only to have my scroll position reset. After thinking more on this, if the caret is outside the view, I’m fine restoring the scroll position. If the caret is in view, I’d prefer that the scroll position remain unchanged. Cheers, Mitchell -- You received this message because you are subscribed to the Google Groups "scintilla-interest" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/scintilla-interest/E9653988-1D27-4A68-A606-A633990F5AE3%40foicica.com.