leksah-0.10.0.4: Haskell IDE written in Haskell
Source code
Contents
Index
IDE.Pane.SourceBuffer
Description
The source editor part of Leksah
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
allBuffers
::
IDEM
[
IDEBuffer
]
maybeActiveBuf
::
IDEM
(
Maybe
IDEBuffer
)
selectSourceBuf
::
FilePath
->
IDEM
(
Maybe
IDEBuffer
)
goToSourceDefinition
::
FilePath
->
Maybe
Location
->
IDEAction
goToDefinition
::
Descr
->
IDEAction
insertInBuffer
::
Descr
->
IDEAction
fileNew
::
IDEAction
fileOpenThis
::
FilePath
->
IDEAction
fileOpen
::
IDEAction
fileRevert
::
IDEAction
fileClose
::
IDEM
Bool
fileCloseAll
:: (
IDEBuffer
->
IDEM
Bool
) ->
IDEM
Bool
fileCloseAllButPackage
::
IDEAction
fileCloseAllButWorkspace
::
IDEAction
fileSave
::
Bool
->
IDEM
Bool
fileSaveAll
:: (
IDEBuffer
->
IDEM
Bool
) ->
IDEM
Bool
fileSaveBuffer
::
Bool
->
Notebook
->
EditorBuffer
->
IDEBuffer
->
Int
->
IDEM
Bool
fileCheckAll
:: (
IDEBuffer
->
IDEM
(
Maybe
alpha)) ->
IDEM
[alpha]
editUndo
::
IDEAction
editRedo
::
IDEAction
editCut
::
IDEAction
editCopy
::
IDEAction
editPaste
::
IDEAction
editDelete
::
IDEAction
editSelectAll
::
IDEAction
editComment
::
IDEAction
editUncomment
::
IDEAction
editShiftRight
::
IDEAction
editShiftLeft
::
IDEAction
editToCandy
::
IDEAction
editFromCandy
::
IDEAction
editKeystrokeCandy
::
Maybe
Char
->
IDEAction
editCandy
::
ReaderT
IDERef
IO
()
markRefInSourceBuf
::
Int
->
IDEBuffer
->
LogRef
->
Bool
->
IDEAction
inBufContext
:: alpha ->
IDEBuffer
-> (
Notebook
->
EditorBuffer
->
IDEBuffer
->
Int
->
IDEM
alpha) ->
IDEM
alpha
inActiveBufContext
:: alpha -> (
Notebook
->
EditorBuffer
->
IDEBuffer
->
Int
->
IDEM
alpha) ->
IDEM
alpha
align
::
Char
->
IDEAction
startComplete
::
IDEAction
selectedText
::
IDEM
(
Maybe
String
)
selectedTextOrCurrentLine
::
IDEM
(
Maybe
String
)
insertTextAfterSelection
::
String
->
IDEAction
selectedModuleName
::
IDEM
(
Maybe
String
)
selectedLocation
::
IDEM
(
Maybe
(
Int
,
Int
))
recentSourceBuffers
::
IDEM
[
PaneName
]
newTextBuffer
::
PanePath
->
String
->
Maybe
FilePath
->
IDEM
(
Maybe
IDEBuffer
)
belongsToPackage
::
IDEBuffer
->
IDEM
(
Maybe
IDEPackage
)
belongsToWorkspace
::
IDEBuffer
->
ReaderT
IDERef
IO
Bool
Documentation
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
allBuffers
::
IDEM
[
IDEBuffer
]
Source
maybeActiveBuf
::
IDEM
(
Maybe
IDEBuffer
)
Source
selectSourceBuf
::
FilePath
->
IDEM
(
Maybe
IDEBuffer
)
Source
goToSourceDefinition
::
FilePath
->
Maybe
Location
->
IDEAction
Source
goToDefinition
::
Descr
->
IDEAction
Source
insertInBuffer
::
Descr
->
IDEAction
Source
fileNew
::
IDEAction
Source
fileOpenThis
::
FilePath
->
IDEAction
Source
fileOpen
::
IDEAction
Source
fileRevert
::
IDEAction
Source
fileClose
::
IDEM
Bool
Source
fileCloseAll
:: (
IDEBuffer
->
IDEM
Bool
) ->
IDEM
Bool
Source
fileCloseAllButPackage
::
IDEAction
Source
fileCloseAllButWorkspace
::
IDEAction
Source
fileSave
::
Bool
->
IDEM
Bool
Source
fileSaveAll
:: (
IDEBuffer
->
IDEM
Bool
) ->
IDEM
Bool
Source
fileSaveBuffer
::
Bool
->
Notebook
->
EditorBuffer
->
IDEBuffer
->
Int
->
IDEM
Bool
Source
fileCheckAll
:: (
IDEBuffer
->
IDEM
(
Maybe
alpha)) ->
IDEM
[alpha]
Source
editUndo
::
IDEAction
Source
editRedo
::
IDEAction
Source
editCut
::
IDEAction
Source
editCopy
::
IDEAction
Source
editPaste
::
IDEAction
Source
editDelete
::
IDEAction
Source
editSelectAll
::
IDEAction
Source
editComment
::
IDEAction
Source
editUncomment
::
IDEAction
Source
editShiftRight
::
IDEAction
Source
editShiftLeft
::
IDEAction
Source
editToCandy
::
IDEAction
Source
editFromCandy
::
IDEAction
Source
editKeystrokeCandy
::
Maybe
Char
->
IDEAction
Source
editCandy
::
ReaderT
IDERef
IO
()
Source
markRefInSourceBuf
::
Int
->
IDEBuffer
->
LogRef
->
Bool
->
IDEAction
Source
inBufContext
:: alpha ->
IDEBuffer
-> (
Notebook
->
EditorBuffer
->
IDEBuffer
->
Int
->
IDEM
alpha) ->
IDEM
alpha
Source
inActiveBufContext
:: alpha -> (
Notebook
->
EditorBuffer
->
IDEBuffer
->
Int
->
IDEM
alpha) ->
IDEM
alpha
Source
align
::
Char
->
IDEAction
Source
startComplete
::
IDEAction
Source
selectedText
::
IDEM
(
Maybe
String
)
Source
selectedTextOrCurrentLine
::
IDEM
(
Maybe
String
)
Source
insertTextAfterSelection
::
String
->
IDEAction
Source
selectedModuleName
::
IDEM
(
Maybe
String
)
Source
selectedLocation
::
IDEM
(
Maybe
(
Int
,
Int
))
Source
recentSourceBuffers
::
IDEM
[
PaneName
]
Source
newTextBuffer
::
PanePath
->
String
->
Maybe
FilePath
->
IDEM
(
Maybe
IDEBuffer
)
Source
belongsToPackage
::
IDEBuffer
->
IDEM
(
Maybe
IDEPackage
)
Source
Returns the package, to which this buffer belongs, if possible
belongsToWorkspace
::
IDEBuffer
->
ReaderT
IDERef
IO
Bool
Source
Produced by
Haddock
version 2.6.1