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

Data.Rope.UTF16.Internal.Text

Description

Helpers for working with Text in UTF-16 code units

Documentation

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] #