Module TextUtilities

Index

Interfaces

Functions

Functions

getLengthOfLineBreak(text: ICharacterSequence, index: number): number

Parameters

Returns

number

getLengthOfLineBreakSlow(text: ICharacterSequence, index: number, c: number): number

Parameters

Returns

number

isAnyLineBreakCharacter(c: number): boolean

Parameters

  • c: number

Returns

boolean

parseLineStarts(text: ICharacterSequence): Array<number>

Parameters

Returns

Array<number>