[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 165148] Bookmarks' blue mark in the scrollbar not in sync with
From:       Carlos Licea <carlos_licea () hotmail ! com>
Date:       2008-06-28 4:57:41
Message-ID: 20080628045741.23981.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=165148         




------- Additional Comments From carlos_licea hotmail com  2008-06-28 06:57 -------
I've been looking to see if I could figure out what's wrong. From my unexperienced \
point of view the problem may lay in kateviewhelpers.cpp:234 I've noticed that the \
sync is lost when the bookmar is set in a "big line" that is it has a "big" line \
number. So my wild guess is that double "d = (double)line / (m_savVisibleLines - 1);" \
is perhaps not precise enough and the error is just too big when the line is too big \
so that it's notisable. Like rounding up 0.666... to 0.667 you wouldn't really \
appreciate a big change (if you're dealing with integers that it) until you multiply \
that by 1000. Unfortunately i cannot prove it neither be sure about it, I'll try \
making a change and compiling and I'll let you know.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic