Data.Rope.UTF16.Internal.Text
Description
Helpers for working with Text in UTF-16 code units
Text
lengthWord16 :: Text -> Int Source #
utf16Length :: Char -> Int Source #
index8To16 :: Int -> Text -> Int Source #
index16To8 :: Int -> Text -> Int Source #
take16 :: Int -> Text -> Text Source #
drop16 :: Int -> Text -> Text Source #
split16At :: Int -> Text -> (Text, Text) Source #
split8At :: Int -> Text -> (Text, Text) Source #
clamp8 :: Int -> Text -> Int Source #
chunks8Of :: Int -> Text -> [Text] Source #