leksah-0.10.0.4: Haskell IDE written in Haskell
Source code
Contents
Index
IDE.BufferMode
Contents
Buffer Basics
Buffer Modes
Description
Synopsis
data
IDEBuffer
=
IDEBuffer
{
fileName
::
Maybe
FilePath
bufferName
::
String
addedIndex
::
Int
sourceView
::
EditorView
scrolledWindow
::
ScrolledWindow
modTime
::
IORef
(
Maybe
ClockTime
)
mode
::
Mode
}
data
BufferState
=
BufferState
FilePath
Int
|
BufferStateTrans
String
String
Int
maybeActiveBuf
::
IDEM
(
Maybe
IDEBuffer
)
lastActiveBufferPane
::
IDEM
(
Maybe
PaneName
)
recentSourceBuffers
::
IDEM
[
PaneName
]
getStartAndEndLineOfSelection
::
EditorBuffer
->
IDEM
(
Int
,
Int
)
inBufContext
:: alpha ->
IDEBuffer
-> (
Notebook
->
EditorBuffer
->
IDEBuffer
->
Int
->
IDEM
alpha) ->
IDEM
alpha
inActiveBufContext
:: alpha -> (
Notebook
->
EditorBuffer
->
IDEBuffer
->
Int
->
IDEM
alpha) ->
IDEM
alpha
doForSelectedLines
:: [a] -> (
EditorBuffer
->
Int
->
IDEM
a) ->
IDEM
[a]
data
Mode
=
Mode
{
modeName
::
String
modeEditComment
::
IDEAction
modeEditUncomment
::
IDEAction
modeSelectedModuleName
::
IDEM
(
Maybe
String
)
modeEditToCandy
::
IDEAction
modeEditFromCandy
::
IDEAction
modeEditKeystrokeCandy
::
Maybe
Char
->
IDEAction
}
modFromFileName
::
Maybe
FilePath
->
Mode
withCurrentMode
:: alpha -> (
Mode
->
IDEM
alpha) ->
IDEM
alpha
editComment
::
IDEAction
editUncomment
::
IDEAction
selectedModuleName
::
IDEM
(
Maybe
String
)
editToCandy
::
IDEAction
editFromCandy
::
IDEAction
editKeystrokeCandy
::
Maybe
Char
->
IDEAction
Buffer Basics
data
IDEBuffer
Source
A text editor pane description
Constructors
IDEBuffer
fileName
::
Maybe
FilePath
bufferName
::
String
addedIndex
::
Int
sourceView
::
EditorView
scrolledWindow
::
ScrolledWindow
modTime
::
IORef
(
Maybe
ClockTime
)
mode
::
Mode
Instances
Typeable
IDEBuffer
Pane
IDEBuffer
IDEM
RecoverablePane
IDEBuffer
BufferState
IDEM
data
BufferState
Source
Constructors
BufferState
FilePath
Int
BufferStateTrans
String
String
Int
Instances
Eq
BufferState
Ord
BufferState
Read
BufferState
Show
BufferState
Typeable
BufferState
RecoverablePane
IDEBuffer
BufferState
IDEM
maybeActiveBuf
::
IDEM
(
Maybe
IDEBuffer
)
Source
lastActiveBufferPane
::
IDEM
(
Maybe
PaneName
)
Source
recentSourceBuffers
::
IDEM
[
PaneName
]
Source
getStartAndEndLineOfSelection
::
EditorBuffer
->
IDEM
(
Int
,
Int
)
Source
inBufContext
:: alpha ->
IDEBuffer
-> (
Notebook
->
EditorBuffer
->
IDEBuffer
->
Int
->
IDEM
alpha) ->
IDEM
alpha
Source
inActiveBufContext
:: alpha -> (
Notebook
->
EditorBuffer
->
IDEBuffer
->
Int
->
IDEM
alpha) ->
IDEM
alpha
Source
doForSelectedLines
:: [a] -> (
EditorBuffer
->
Int
->
IDEM
a) ->
IDEM
[a]
Source
Buffer Modes
data
Mode
Source
Constructors
Mode
modeName
::
String
modeEditComment
::
IDEAction
modeEditUncomment
::
IDEAction
modeSelectedModuleName
::
IDEM
(
Maybe
String
)
modeEditToCandy
::
IDEAction
modeEditFromCandy
::
IDEAction
modeEditKeystrokeCandy
::
Maybe
Char
->
IDEAction
modFromFileName
::
Maybe
FilePath
->
Mode
Source
Assumes
withCurrentMode
:: alpha -> (
Mode
->
IDEM
alpha) ->
IDEM
alpha
Source
editComment
::
IDEAction
Source
editUncomment
::
IDEAction
Source
selectedModuleName
::
IDEM
(
Maybe
String
)
Source
editToCandy
::
IDEAction
Source
editFromCandy
::
IDEAction
Source
editKeystrokeCandy
::
Maybe
Char
->
IDEAction
Source
Produced by
Haddock
version 2.6.1