Multiple word highlighting: highlight the last char of a string as well.

Review Request #100091 - Created Oct. 20, 2010 and submitted

Information
Pierre Rossi
rekonq
master
Reviewers
rekonq
adjam, poulain
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.
Typed "ciao" and "test" in the urlbar, as first pointed out by Andrea.
Added this entry to the existing autotest.
Benjamin Poulain
Pierre Rossi
Benjamin Poulain
Pierre Rossi
Benjamin Poulain
Pierre Rossi
Review request changed

Change Summary:

Oups, I had left something really wrong in there...

Diff:

Revision 5 (+16 -13)

Show changes

Benjamin Poulain

   
src/urlbar/listitem.cpp (Diff revision 5)
 
 
"i space plus space 1"? :)
Benjamin Poulain
Looks good to me.
Andrea Diamantini
Looks good to me, too. :)
Loading...