enum ICU::BiDi::WriteOption

Overview

Options for write_reordered and static write_reverse. Affects the output string.

Defined in:

icu/bidi.cr

Enum Members

KeepBaseCombining = 1_u16

Keep combining characters after their base characters in RTL runs.

DoMirroring = 2_u16

Replace characters with the "mirrored" property in RTL runs by their mirror-image mappings.

InsertLrmForNumeric = 4_u16

Surround the run with LRMs if necessary (part of approximate "inverse Bidi").

RemoveBidiControls = 8_u16

Remove Bidi control characters.

OutputReverse = 16_u16

Write the output in reverse order.

None = 0_u16
All = 31_u16

Instance Method Summary

Instance Method Detail

def do_mirroring? #

Returns true if this enum value contains DoMirroring


[View source]
def insert_lrm_for_numeric? #

Returns true if this enum value contains InsertLrmForNumeric


[View source]
def keep_base_combining? #

Returns true if this enum value contains KeepBaseCombining


[View source]
def none? #

[View source]
def output_reverse? #

Returns true if this enum value contains OutputReverse


[View source]
def remove_bidi_controls? #

Returns true if this enum value contains RemoveBidiControls


[View source]