Discussion:
Over-scroll
Matthew Brush
2013-07-27 00:56:54 UTC
Permalink
Hi,

I googled a bit and didn't find much. What would be involved in adding
so called "over-scroll" where you can scroll past the last line until
the last line is the first line in the view and there are no line
numbers past the true last line?

Cheers,
Matthew Brush
--
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 scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Griffin, Brian
2013-07-27 01:13:55 UTC
Permalink
Just fudging the scrollbar position arithmetic, unless of course you want a visual graphic of the end-of-page... At least that's the place to start.

-Brian
Hi,
I googled a bit and didn't find much. What would be involved in adding so called "over-scroll" where you can scroll past the last line until the last line is the first line in the view and there are no line numbers past the true last line?
Cheers,
Matthew Brush
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Matthew Brush
2013-07-27 01:32:20 UTC
Permalink
Post by Griffin, Brian
Just fudging the scrollbar position arithmetic, unless of course you
want a visual graphic of the end-of-page... At least that's the
place to start.
Hi,

I was hoping for something more concrete about the implementation.

Thanks for your response,
Matthew Brush
Post by Griffin, Brian
-Brian
Post by Matthew Brush
Hi,
I googled a bit and didn't find much. What would be involved in
adding so called "over-scroll" where you can scroll past the last
line until the last line is the first line in the view and there
are no line numbers past the true last line?
Cheers, Matthew Brush
-- 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
this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Neil Hodgson
2013-07-27 02:16:09 UTC
Permalink
I googled a bit and didn't find much. What would be involved in adding so called "over-scroll" where you can scroll past the last line until the last line is the first line in the view and there are no line numbers past the true last line?
http://www.scintilla.org/ScintillaDoc.html#SCI_SETENDATLASTLINE

The problem with adding every wanted feature is that no one reads all that documentation.

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 scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Matthew Brush
2013-07-27 02:27:40 UTC
Permalink
Post by Neil Hodgson
I googled a bit and didn't find much. What would be involved in adding so called "over-scroll" where you can scroll past the last line until the last line is the first line in the view and there are no line numbers past the true last line?
http://www.scintilla.org/ScintillaDoc.html#SCI_SETENDATLASTLINE
The problem with adding every wanted feature is that no one reads all that documentation.
The problem is with not knowing the correct search terms :)

Thanks Neil, it seems to work just right.

Cheers,
Matthew Brush
--
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 scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Loading...