Sign in Join
FPDoc Onlineexperiment

TUnicodeCharacterEnumerator.MoveNext function

Member of TUnicodeCharacterEnumeratorpublicIn unit LazUnicode

Adds support for combining diacritical marks when moving to the next codepoint.

Declaration

pascal
function MoveNext: Boolean

Function result

True when more characters (codepoints) are available to the enumerator.

Description

MoveNext is an overridden method which adds support for combining diacritical marks when moving to the next codepoint for the enumerator. The return value is True when more characters (codepoints) are available to the enumerator. MoveNext updates the value in CurrentCodeUnitCount, and includes combining diacritical marks in the byte count. MoveNext calls UpdateCurrent to store the value for the Current property.

MoveNext does not call the inherited method.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.