[LocationCompleter] New highlighter algorithm using QTextLayout that fixes rendering of RTL strings.
[LocationCompleter] Correctly elide text also fixed compile on Qt5.
Merge pull request #1376 from srazi/loc-highlighter

New highlighter algorithm using QTextLayout that fixes rendering of RTL strings.