fltkhs-0.3.0.1: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.TextDisplay

Contents

Synopsis

Documentation

Hierarchy

Functions

colToX :: Ref TextDisplay -> Double -> IO (Double)

countLines :: Ref TextDisplay -> BufferRange -> Bool -> IO (Int)

destroy :: Ref TextDisplay -> IO ()

getBuffer :: Ref TextDisplay -> IO (Maybe (Ref TextBuffer))

getCursorColor :: Ref TextDisplay -> IO (Color)

getInsertPosition :: Ref TextDisplay -> IO BufferOffset

getLinenumberAlign :: Ref TextDisplay -> IO (AlignType)

getLinenumberBgcolor :: Ref TextDisplay -> IO (Color)

getLinenumberFgcolor :: Ref TextDisplay -> IO (Color)

getLinenumberFont :: Ref TextDisplay -> IO (Font)

getLinenumberFormat :: Ref TextDisplay -> IO (String)

getLinenumberSize :: Ref TextDisplay -> IO (FontSize)

getLinenumberWidth :: Ref TextDisplay -> IO (Width)

getScrollbarAlign :: Ref TextDisplay -> IO (AlignType)

getScrollbarWidth :: Ref TextDisplay -> IO (Width)

getShortcut :: Ref TextDisplay -> IO (Maybe ShortcutKeySequence)

getTextcolor :: Ref TextDisplay -> IO (Color)

getTextfont :: Ref TextDisplay -> IO (Font)

getTextsize :: Ref TextDisplay -> IO (FontSize)

handle :: Ref TextDisplay -> Event -> IO (Int)

highlightData:: (Parent a TextBuffer) => Ref TextDisplay -> Ref a -> [(Char, StyleTableEntry]) -> 'Maybe(Char,UnfinishedStyleCb') -> IO ()

inSelection :: Ref TextDisplay -> Position -> IO (Bool)

lineEnd :: Ref TextDisplay -> BufferOffset -> Bool -> IO (BufferOffset)

lineStart :: Ref TextDisplay -> BufferOffset -> IO (BufferOffset)

moveDown :: Ref TextDisplay -> IO (Either OutOfRange ())

moveLeft :: Ref TextDisplay -> IO (Either OutOfRange ())

moveRight :: Ref TextDisplay -> IO (Either OutOfRange ())

moveUp :: Ref TextDisplay -> IO (Either OutOfRange ())

nextWord :: Ref TextDisplay -> IO ()

overstrike :: Ref TextDisplay -> String -> IO ()

positionStyle :: Ref TextDisplay -> BufferOffset -> Int -> Int -> IO TextDisplayStyle

positionToXy :: Ref TextDisplay -> BufferOffset -> IO (Either OutOfRange Position)

previousWord :: Ref TextDisplay -> IO ()

redisplayRange :: Ref TextDisplay -> BufferRange -> IO ()

resize :: Ref TextDisplay -> Rectangle -> IO ()

rewindLines :: Ref TextDisplay -> BufferOffset -> Int -> IO (BufferOffset)

scroll :: Ref TextDisplay -> Int -> BufferOffset -> IO ()

setBuffer:: (Parent a TextBuffer) => Ref TextDisplay -> Maybe ( Ref a ) -> IO ()

setCursorColor :: Ref TextDisplay -> Color -> IO ()

setCursorStyle :: Ref TextDisplay -> CursorType -> IO ()

setInsertPosition :: Ref TextDisplay -> BufferOffset -> IO ()

setLinenumberAlign :: Ref TextDisplay -> AlignType -> IO ()

setLinenumberBgcolor :: Ref TextDisplay -> Color -> IO ()

setLinenumberFgcolor :: Ref TextDisplay -> Color -> IO ()

setLinenumberFont :: Ref TextDisplay -> Font -> IO ()

setLinenumberFormat :: Ref TextDisplay -> String -> IO ()

setLinenumberSize :: Ref TextDisplay -> FontSize -> IO ()

setLinenumberWidth :: Ref TextDisplay -> Width -> IO ()

setScrollbarAlign :: Ref TextDisplay -> AlignType -> IO ()

setScrollbarWidth :: Ref TextDisplay -> Width -> IO ()

setShortcut :: Ref TextDisplay -> ShortcutKeySequence -> IO ()

setTextcolor :: Ref TextDisplay -> Color -> IO ()

setTextsize :: Ref TextDisplay -> FontSize -> IO ()

showCursor :: Ref TextDisplay -> Bool -> IO ()

showInsertPosition :: Ref TextDisplay -> IO ()

skipLines :: Ref TextDisplay -> BufferOffset -> Int -> Bool -> IO (BufferOffset)

wordEnd :: Ref TextDisplay -> BufferOffset -> IO (BufferOffset)

wordStart :: Ref TextDisplay -> BufferOffset -> IO (BufferOffset)

xToCol :: Ref TextDisplay -> Double -> IO (Double)