Fix crash when building find string location bar if Wrap Long Lines is enabled

Based on TortoiseSVN revision 25603

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
[WIP] Tab Mode ribbon combo

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>