[rekonq] Re: Review Request: Multiple word highlighting: highlight the last char of a string as well.

Benjamin Poulain ikipou at gmail.com
Wed Oct 20 15:49:47 CEST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100091/#review147
-----------------------------------------------------------



src/urlbar/listitem.cpp
<http://git.reviewboard.kde.org/r/100091/#comment132>

    Shouldn't that be up to (boldSections.size() - 1)?


- Benjamin


On 2010-10-20 13:30:11, Pierre Rossi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100091/
> -----------------------------------------------------------
> 
> (Updated 2010-10-20 13:30:11)
> 
> 
> Review request for rekonq, Andrea Diamantini and Benjamin Poulain.
> 
> 
> Summary
> -------
> 
> This patch essentially fixes the highlighting algorithm.
> 
> I f**ked up the first time and due to an offset here and an offset there, the last character of a string wouldn't be bold, even if it needed to.
> 
> 
> Diffs
> -----
> 
>   src/tests/listitem_test.cpp 961f4b6 
>   src/urlbar/listitem.cpp 8b90814 
> 
> Diff: http://git.reviewboard.kde.org/r/100091/diff
> 
> 
> Testing
> -------
> 
> Typed "ciao" and "test" in the urlbar, as first pointed out by Andrea.
> Added this entry to the existing autotest.
> 
> 
> Thanks,
> 
> Pierre
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/rekonq/attachments/20101020/21589808/attachment.htm 


More information about the rekonq mailing list