yi-0.12.0: The Haskell-Scriptable Editor

LicenseGPL-2
Maintaineryi-devel@googlegroups.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010
Extensions
  • Cpp
  • TemplateHaskell
  • OverloadedStrings
  • DeriveDataTypeable
  • DeriveGeneric
  • TypeSynonymInstances
  • FlexibleContexts
  • FlexibleInstances
  • MultiParamTypeClasses
  • FunctionalDependencies
  • GeneralizedNewtypeDeriving
  • NondecreasingIndentation
  • LambdaCase

Yi.Snippets

Description

 

Synopsis

Documentation

data MarkInfo Source

Constructors

SimpleMarkInfo 

Fields

userIndex :: !Int
 
startMark :: !Mark
 
ValuedMarkInfo 

Fields

userIndex :: !Int
 
startMark :: !Mark
 
endMark :: !Mark
 
DependentMarkInfo 

Fields

userIndex :: !Int
 
startMark :: !Mark
 
endMark :: !Mark
 

(&) :: (MkSnippetCmd a any, MkSnippetCmd b c) => a -> b -> SnippetCmd c infixr 5 Source

(&>) :: (MkSnippetCmd a b, MkSnippetCmd c d) => a -> (b -> c) -> SnippetCmd d Source

withSimpleRegion :: MarkInfo -> (Region -> BufferM Region) -> BufferM Region Source

findOverlappingMarksWith :: (MarkInfo -> BufferM Region) -> ([[MarkInfo]] -> [MarkInfo]) -> Bool -> Region -> MarkInfo -> BufferM [MarkInfo] Source

newtype SupertabExt Source

Constructors

Supertab (YiString -> Maybe (BufferM ())) 

Instances

fromSnippets :: Bool -> [(YiString, SnippetCmd ())] -> SupertabExt Source

Convert snippet description list into a SuperTab extension