[Github-comments] [geany/geany] Stop auto-scroll when the scroll is not at the bottom of output #2772 (#2829)

Rinwasyu notifications at xxxxx
Mon Jun 21 13:34:56 UTC 2021


What this code does:

When adding a line in the compiler tab,
A: get current scroll location.
B: get max scroll distance.
C: get line height.
D: compare A and (B-C).
E: if A > (B-C) then compiler tab is going to be scrolled.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2829#issuecomment-865038018
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210621/f4832a79/attachment-0001.htm>


More information about the Github-comments mailing list