yi-core-0.17.0: Yi editor core library

LicenseGPL-2
Maintaineryi-devel@googlegroups.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010
Extensions
  • Cpp
  • ScopedTypeVariables
  • OverloadedStrings
  • DeriveDataTypeable
  • TypeSynonymInstances
  • FlexibleInstances
  • RankNTypes
  • ExplicitForAll

Yi.History

Description

‘Command history’ implementation.

Synopsis

Documentation

dynKeyA :: (Default v, Ord k) => k -> Lens' (Map k v) v Source #

historyStartGen :: Text -> EditorM () Source #

Start an input session with History

historyFinishGen :: Text -> EditorM Text -> EditorM () Source #

Finish the current input session with history.

historyFind :: [Text] -> Int -> Int -> Int -> Text -> Int Source #

setHistory Source #

Arguments

:: (MonadEditor m, Functor m) 
=> Text

identifier

-> History

History to set

-> Map Text History

Map of existing histories

-> m () 

Helper that sets the given history at ident and putEditorDyns the result.