- SoftHyphen enum value has been added to specify a line break opportunity
at a soft hyphen (SHY) character.
- MandatoryBreak enum value has been added to specify a mandatory (aka "hard") line breaks.
- - StartWord/EndWord enum values has been logically replaced with StartOfItem/EndOfItem ones
- to mention they are not about the word boundaries only.
+ - Source-incompatible change: Since the behavior of boundaryReasons() method
+ has been changed a lot, StartWord/EndWord enum values were intentionally replaced
+ with StartOfItem/EndOfItem ones to force the affected code be revised.
* Softkeys API was removed. The following functions and enums were removed:
- QAction::setSoftKeyRole()
(can occur for a Line boundary type only).
\value SoftHyphen The boundary finder is at the soft hyphen
(can occur for a Line boundary type only).
-
- \value StartWord Deprecated since 5.0. Use StartOfItem instead.
- The boundary finder is at the start of a word.
- (can occur for a Word boundary type only).
- \value EndWord Deprecated since 5.0. Use EndOfItem instead.
- The boundary finder is at the end of a word.
- (can occur for a Word boundary type only).
*/
/*!
if (attr.wordBreak) {
reasons |= BreakOpportunity;
if (attr.wordStart)
- reasons |= StartOfItem | StartWord;
+ reasons |= StartOfItem;
if (attr.wordEnd)
- reasons |= EndOfItem | EndWord;
+ reasons |= EndOfItem;
}
break;
case Sentence: