Go to file
Konstantin Ritt 824180a122 Set the whiteSpace flag outside the grapheme and the line breaking loop
The white spaces determination doesn't belong to the text breaking algorithm.
A proper breaking implementation shouldn't assume spaces are
break opportunities (actually, space is allowed to be a grapheme base);
However, the whiteSpace flag should never be checked alone while iterating
over the text to find the space sequence; the grapheme boundaries should always
be taken into account. This covers the SMP code points in UTF-16 text and
graphemes that consist of a space followed with one or more grapheme extenders.

This introduces a minor overhead that would be eliminated some later.

Change-Id: Ic2cc7f485631fd0b436fc256ce112ded5f94fc07
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-06-07 21:18:36 +02:00
bin make syncqt work with MSys Perl and MSVC 2012-06-01 18:26:18 +02:00
config.tests configure: Auto-detect and enable C++11 support if available 2012-06-05 12:30:13 +02:00
dist configure: Auto-detect and enable C++11 support if available 2012-06-05 12:30:13 +02:00
doc Remove the MacMainWindow example. 2012-05-30 01:54:45 +02:00
examples Fix compilation of examples with -no-widgets 2012-06-07 07:27:53 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Expand the 'existing target guard' in generated CMake files. 2012-06-07 19:08:34 +02:00
qmake qmake can not process project file with UTF-8 BOM 2012-05-30 01:54:45 +02:00
src Set the whiteSpace flag outside the grapheme and the line breaking loop 2012-06-07 21:18:36 +02:00
tests Make qtexttable autotest build without widgets 2012-06-07 07:26:05 +02:00
tools Move the sub-architecture feature to better places in qmake 2012-05-31 17:55:49 +02:00
util Move ScriptSentinel enum from header to .cpp 2012-05-25 21:48:44 +02:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Add imports directory to ignore list 2012-04-11 01:42:12 +02:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure Do not build eglfs QPA when cross compiling for QNX 2012-06-06 12:31:58 +02:00
configure.bat Remove Q_BYTE_ORDER and -*-endian arguments from configures 2012-03-02 14:48:00 +01:00
header.BSD Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.FDL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL-ONLY Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
INSTALL Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.GPL Add the LICENSE.GPL file to the module referenced from license headers 2012-05-20 22:41:08 +02:00
LICENSE.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
sync.profile Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00