leksah-0.10.0.4: Haskell IDE written in HaskellSource codeContentsIndex
IDE.Core.State
Contents
Convenience methods for accesing the IDE State
Description
The core state of ide. This module is imported from every other module, | and all data structures of the state are declared here, to avoid circular | module dependencies.
Synopsis
window :: FrameState delta -> Window
errorRefs :: IDE -> [LogRef]
breakpointRefs :: IDE -> [LogRef]
contextRefs :: IDE -> [LogRef]
currentError :: IDE -> Maybe LogRef
currentBreak :: IDE -> Maybe LogRef
currentContext :: IDE -> Maybe LogRef
setCurrentError :: Maybe LogRef -> ReaderT IDERef IO ()
setCurrentBreak :: Maybe LogRef -> ReaderT IDERef IO ()
setCurrentContext :: Maybe LogRef -> IDEM ()
isInterpreting :: IDEM Bool
isStartingOrClosing :: IDEState -> Bool
triggerEventIDE :: IDEEvent -> IDEM IDEEvent
deactivatePane :: IDEAction
readIDE :: (IDE -> beta) -> IDEM beta
modifyIDE :: (IDE -> (IDE, beta)) -> IDEM beta
modifyIDE_ :: (IDE -> IDE) -> IDEM ()
withIDE :: (IDE -> IO alpha) -> IDEM alpha
getIDE :: IDEM IDE
throwIDE :: String -> a
reifyIDE :: (IDERef -> IO a) -> IDEM a
reflectIDE :: IDEM a -> IDERef -> IO a
catchIDE :: Exception e => IDEM a -> (e -> IO a) -> IDEM a
postSyncIDE :: IDEM a -> IDEM a
postAsyncIDE :: IDEM () -> IDEM ()
forkIDE :: IDEAction -> IDEAction
sysMessage :: MonadIO m => MessageLevel -> String -> m ()
data MessageLevel
= Silent
| Normal
| High
ideMessage :: MessageLevel -> String -> IDEAction
logMessage :: String -> LogTag -> IDEAction
withoutRecordingDo :: IDEAction -> IDEAction
activeProjectDir :: IDEM FilePath
liftYiControl :: ControlM a -> IDEM a
liftYi :: YiM a -> IDEM a
module IDE.Core.Types
module IDE.Core.CTypes
module IDE.Utils.Utils
module Graphics.UI.Frame.Panes
module Graphics.UI.Frame.ViewFrame
Documentation
window :: FrameState delta -> WindowSource
errorRefs :: IDE -> [LogRef]Source
breakpointRefs :: IDE -> [LogRef]Source
contextRefs :: IDE -> [LogRef]Source
currentError :: IDE -> Maybe LogRefSource
currentBreak :: IDE -> Maybe LogRefSource
currentContext :: IDE -> Maybe LogRefSource
setCurrentError :: Maybe LogRef -> ReaderT IDERef IO ()Source
setCurrentBreak :: Maybe LogRef -> ReaderT IDERef IO ()Source
setCurrentContext :: Maybe LogRef -> IDEM ()Source
isInterpreting :: IDEM BoolSource
isStartingOrClosing :: IDEState -> BoolSource
triggerEventIDE :: IDEEvent -> IDEM IDEEventSource
deactivatePane :: IDEActionSource
Convenience methods for accesing the IDE State
readIDE :: (IDE -> beta) -> IDEM betaSource
Read an attribute of the contents
modifyIDE :: (IDE -> (IDE, beta)) -> IDEM betaSource
Variation on modifyIDE_ that lets you return a value
modifyIDE_ :: (IDE -> IDE) -> IDEM ()Source
Modify the contents, without returning a value
withIDE :: (IDE -> IO alpha) -> IDEM alphaSource
getIDE :: IDEM IDESource
throwIDE :: String -> aSource
reifyIDE :: (IDERef -> IO a) -> IDEM aSource
A reader monad for a mutable reference to the IDE state
reflectIDE :: IDEM a -> IDERef -> IO aSource
catchIDE :: Exception e => IDEM a -> (e -> IO a) -> IDEM aSource
postSyncIDE :: IDEM a -> IDEM aSource
postAsyncIDE :: IDEM () -> IDEM ()Source
forkIDE :: IDEAction -> IDEActionSource
sysMessage :: MonadIO m => MessageLevel -> String -> m ()Source
data MessageLevel Source
Constructors
Silent
Normal
High
show/hide Instances
ideMessage :: MessageLevel -> String -> IDEActionSource
logMessage :: String -> LogTag -> IDEActionSource
withoutRecordingDo :: IDEAction -> IDEActionSource
activeProjectDir :: IDEM FilePathSource
liftYiControl :: ControlM a -> IDEM aSource
liftYi :: YiM a -> IDEM aSource
module IDE.Core.Types
module IDE.Core.CTypes
module IDE.Utils.Utils
module Graphics.UI.Frame.Panes
module Graphics.UI.Frame.ViewFrame
Produced by Haddock version 2.6.1