rope-utf16-splay-0.4.0.0: Ropes optimised for updating using UTF-16 code units and row/column pairs.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Rope.UTF16.Internal.Text

Description

Helpers for working with Text in UTF-16 code units

Documentation

lengthWord16 :: Text -> Int #

utf16Length :: Char -> Int #

index8To16 :: Int -> Text -> Int #

index16To8 :: Int -> Text -> Int #

take16 :: Int -> Text -> Text #

drop16 :: Int -> Text -> Text #

split16At :: Int -> Text -> (Text, Text) #

split8At :: Int -> Text -> (Text, Text) #

clamp8 :: Int -> Text -> Int #

chunks8Of :: Int -> Text -> [Text] #