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

Reply via email to