[Interest] Bug in QPlainTextEdit::find

Thiago Macieira thiago.macieira at intel.com
Wed Sep 16 19:59:37 CEST 2015


On Wednesday 16 September 2015 17:35:15 Scott Aron Bloom wrote:
> One problem I see, is QChar does not have a "isWordSeparator", that would
> line allow for an easy replacement of isLetterOrNumber with
> !isWordSeparator.
> 
> My recommendation, would be to add isWordSeparator to QChar, as well as
> changing the code...

Please use QTextBoundaryFinder instead. Word separator is not such a simple 
concept.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list