Re: Re: Why is Scintilla doing this?

Andrew Truckle <[email protected]>
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <[email protected]>
I thought so too. It has been suggested that I try to use Spy. I'll do that 
tomorrow. But I think my only solution is to try and return to the state it 
was before the save:

scroll position
caret position
selected state - or non if easiest.

so I can get the scroll position right with setfirstvisible line.
and I get set the caret position right with setcurrentpos.

But when I clesr selections the caret return to top of file.

On Sunday 5 May 2024 at 22:53:24 UTC+1 Neil wrote:

> Andrew Truckle:
>
> > It selects all the text.
> > It scrolls all the way to the bottom.
> >
> > I don't want it to do any of this. The cursor should stay where it was 
> and it shouldn't select all the text.
> >...
> > It is when I show my file dialog and then click either OK or cancel that 
> this issue happens.
>
> I don't think this is caused by Scintilla but by your application or
> framework.SciTE doesn't do this for File | Save As ; Cancel.
>
> Neil
>

-- 
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 on the web visit https://groups.google.com/d/msgid/scintilla-interest/74915724-0bfd-4eeb-80f0-538d2c2f03ddn%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.