• Pino Toscano's avatar
    refactor a bit the string matching in text search, using a intermediate comparer function · 192c0a08
    Pino Toscano authored
    this way, we can choose the comparing strategy before starting the search
    also, make the comparer function use stringref, so we avoid copying data from the original strings (meaning less memory used, and slightly faster)
    provide two comparing strategies, case sensitive and case insensitive, to continue doing the same job done so far
    
    svn path=/trunk/KDE/kdegraphics/okular/; revision=1066591
    192c0a08
textpage_p.h 2.16 KB