!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ NoneOTAn iso which converts to/from  -> TextAn iso which converts to/from  -> StringAn iso which converts to/from  -> []None2OT-A Helper only used when combining many spans.8A span which maps a piece of Monoidal data over a range.An Q represents an exact position in a file as a number of characters from the start. (Coord Row Column) represents a char in a block of text. (zero indexed) e.g. Coord 0 0 is the first character in the text, Coord 2 1 is the second character of the third row 1This represents a range between two coordinates ( ) Moves a   by a given  q It may be unintuitive, but for (Coord row col) a given range will be moved down by row and to the right by col.)Moves a range forward by the given amountMoves a  ' forward by the given amount of columns+Adds the rows and columns of the given two  s.=Given the text you're operating over, creates an iso from an  to a  .1Given the text you're operating over, converts a   to an .2Given the text you're operating over, converts an  to a  .This will restrict a given  1 to a valid one which lies within the given text.This will restrict a given  1 to a valid one which lies within the given text.Combines a list of spans containing some monoidal data into a list of offsets with with the data that applies from each Offset forwards.clamp min max val3 restricts val to be within min and max (inclusive).Returns the number of rows and columns that a   spans as a  GReturns the number of rows and columns that a chunk of text spans as a   A lens over text before a given  A lens over text after a given          SafeAT(0A map of extension types to their current value.)DA wrapper around an extension of any type so it can be stored in an (()*+()*)*(()*+None /9;AIOT,zA buffer, holds the text in the buffer and any extension states that are set on the buffer. A buffer is the State of the  c monad transformer stack, so the type may be useful in defining lenses over your extension states./*Creates a new buffer from the givven text.,-./0)*,-./,)*-./,-./0NoneAOT1(This is the primary state of the editor.2An opaque reference to a buffer (The contained Int is not meant to be altered). It is possible for references to become stale if buffers are deleted. Operations over invalid BufRef's are simply ignored and return  if a value was expected.;;Q is a lens which will focus a given extension's state within a buffer (within a   ). The lens will automagically focus the required extension by using type inference. It's a little bit of magic, if you treat the focus as a member of your extension state it should just work out.(This lens falls back on the extension's 9 instance (when getting) if nothing has yet been stored.<< is a lens which will focus the extension state that matches the type inferred as the focal point. It's a little bit of magic, if you treat the focus as a member of your extension state it should just work out.(This lens falls back on the extension's 9 instance (when getting) if nothing has yet been stored.=+A lens over text which is encompassed by a  1236789:;<=>?@ 1236:987;<=16789:789<;:=23 1236789:;<=>?@NoneAT AIThis represents each modifier key that could be pressed along with a key.E}This event is dispatched in response to keyboard key presses. It contains both the char that was pressed and any modifiers (A+) that where held when the key was pressed.KbThis event is dispatched after adding a new buffer. The contained BufRef refers to the new buffer.MlThis event is dispatched before exiting the editor, listen for this to do any clean-up (saving files, etc.)O7This event is dispatched immediately after dispatching Q.QKThis event is dispatched when it's time for extensions to render to screen.S=This event is dispatched immediately before dispatching the Q event.UkThis event is dispatched immediately before dispatching any events from asyncronous event listeners (like Es)WThe Event type represents a common denominator for all actions that could occur Event transmitters express events that have occured as a member of this type. At the moment it's quite sparse, but it will expand as new types of events are needed.@This event is dispatched exactly once when the editor starts up.ABCDEFGHIJKLMNOPQRSTUVWXACDBEJFGHIKLMNOPQRSTUVWXWXUVSTQROPMNKLEFGHIJABCD ABCDEFGHIJKLMNOPQRSTUVWXNone/AITpThis is a monad-transformer stack for performing actions against the editor. You register Actions to be run in response to events using Within an Action you can:Use liftIO for IO5Access/edit extensions that are stored globally, see < Embed any ps exported other extensionsEmbed buffer actions using  and DAdd/Edit/Focus buffers and a few other Editor-level things, see the  module.s:A map of Event types to a list of listeners for that eventt:A wrapper around event listeners so they can be stored in s.v9Unwrap and execute an Action (returning the editor state)w3Unwrap and evaluate an Action (returning the value)~This is a monad-transformer stack for performing actions on a specific buffer. You register BufActions to be run by embedding them in a scheduled p via bufferDo or focusDoWithin a BufAction you can:Use liftIO for IO#Access/edit buffer extensions; see ;Embed and sequence any ~s from other extensionsAccess/Edit the buffer's .<This lifts up a bufAction into an Action which performs the ~K over the referenced buffer and returns the result (if the buffer existed)klmnopqrstuvw~klmnopqrstuvw~tuspqrvwoklmn~klmnopqrstuvw~None2AIT wThe Scheduler is how you can register your extension's actions to run at different points in the editor's event cycle.$The event cycle proceeds as follows:  Init (Runs ONCE) -- The following loops until an exit is triggered: BeforeEvent -> (any event) -> BeforeRender -> OnRender -> AfterRender Exit (Runs ONCE) 9Each extension which wishes to perform actions exports a  (). which the user inserts in their config file.Use this to dispatch an event of any type, any hooks which are listening for this event will be triggered with the provided event. Use this within an Action.lThis is a helper which extracts and coerces a hook from its wrapper back into the proper event handler type.fThis extracts all event listener hooks from a map of hooks which match the type of the provided event.]This registers an event listener hook, as long as the listener is well-typed similar to this:MyEventType -> Action ()Z then it will be registered to listen for dispatched events of that type. Use within the . and add have the user add it to their config. Transform a  monad into a s map.DRegisters an action to be performed during the Initialization phase.9This phase occurs exactly ONCE when the editor starts up.<Registers an action to be performed BEFORE each event phase.=Registers an action to be performed BEFORE each render phase.This is a good spot to add information useful to the renderer since all actions have been performed. Only cosmetic changes should occur during this phase.=Registers an action to be performed during each render phase.MThis phase should only be used by extensions which actually render something.<Registers an action to be performed AFTER each render phase.This is useful for cleaning up extension state that was registered for the renderer, but needs to be cleared before the next iteration.:Registers an action to be performed during the exit phase.This is only triggered exactly once when the editor is shutting down. It allows an opportunity to do clean-up, kill any processes you've started, or save any data before the editor terminates.@Registers an action to be performed after a new buffer is added.,The supplied function will be called with a 2& to the new buffer, and the resulting p will be run.stts  NoneThis function takes an IO which results in some Event, it runs the IO asynchronously and dispatches the event, then repeats the process all over again. Use this inside the onInit scheduler to register an event listener for some event (e.g. keypresses or network activity)SdoAsync allows you to perform a task asynchronously and then apply the result. In doAsync asyncAction,  asyncActionk is an IO which resolves to an Action, note that the context in which the second action is executed is NOT the same context in which doAsync is called; it is likely that text and other state have changed while the IO executed, so it's a good idea to check (inside the applying Action) that things are in a good state before making changes. Here's an example: >asyncCapitalize :: Action () asyncCapitalize = do txt <- focusDo $ use text -- We give doAsync an IO which resolves in an action doAsync $ ioPart txt ioPart :: Text -> IO (Action ()) ioPart txt = do result <- longAsyncronousCapitalizationProgram txt -- Note that this returns an Action, but it's still wrapped in IO return $ maybeApplyResult txt result maybeApplyResult :: Text -> Text -> Action () maybeApplyResult oldTxt capitalized = do -- We get the current buffer's text, which may have changed since we started newTxt <- focusDo (use text) if newTxt == oldTxt -- If the text is the same as it was, we can apply the transformation then focusDo (text .= capitalized) -- Otherwise we can choose to re-queue the whole action and try again -- Or we could just give up. else asyncCapitalize NoneOT  This lifts a   to an  which performs the  ; on every buffer and collects the return values as a list. This lifts a   to an  which performs the  " on the buffer referred to by the 2: If the buffer referred to no longer exists this returns Action Nothing.+This adds a new buffer with the given text."Returns an up-to-date list of all 2sGets 2" that comes after the one providedGets 2# that comes before the one providedmThis signals to the editor that you'd like to shutdown. The current events will finish processing, then the + hook will run, then the editor will exit.4Deletes the text in the given range from the buffer.5Replaces the text in the given range from the buffer.0Inserts text into the buffer at the given Coord.RRuns the given function over the text in the range, replacing it with the results.  (C) 2016 Chris PennerMIT+Chris Penner <christopher.penner@gmail.com>None:OTF ,.26;<=ACDBEJFGHIpst~Fp~<;,26.EFGHIJABCDst =  NoneAOTThe main function to run rasa. rasa eventProviders extensions@This should be imported by a user-config with and called with a 7 containing any extensions which have event listeners.  rasa $ do cursor vim slateOThis is the main event loop, it runs recursively forever until something sets z. It runs the pre-event hooks, then checks if any async events have finished, then runs the post event hooks and repeats. !!""##$%&'()*+,-./0123456789:;<=>?@@ABCDEFGHHIJKLMNOPQRSTUVWXYYZ[\]^^__``aabbccddefghijklmnopqrstuvwwxyz{|}}~    BG !rasa-0.1.4-3JZiEUUvTD76AyNCieclP0Rasa.Internal.TextRasa.Internal.RangeRasa.Internal.ExtensionsRasa.Internal.BufferRasa.Internal.EditorRasa.Internal.EventsRasa.Internal.ActionRasa.Internal.SchedulerRasa.Internal.AsyncRasa.Internal.DirectiveRasa BufAction Data.Action eventListenerRasa.Internal.Ext.DirectivebufDofocusDoRasa.Internal.Ext Directive Rasa.ActionActionRasa.Ext.ScheduleronExitRasa.Ext Rasa.EditorexitingasTextasStringasLinesSpan _getRange_dataOffsetCoordRange moveRange moveRangeByN moveCursorByN moveCursorasCoord clampCoord clampRange combineSpansclampsizeOfRsizeOfbeforeCafterC $fNumCoord $fOrdCoord $fOrdRange $fShowCoord $fEqCoord $fShowRange $fEqRange $fShowOffset $fEqOffset $fShowSpan$fEqSpan $fFunctorSpan $fShowMarker $fEqMarkerExtMapExt $fShowExtBufferbufExtstextmkBuffer $fShowBufferEditorBufRef $fShowBufRef $fEqBufRef HasEditoreditorbuffers nextBufIdbufExtextrange$fDefaultEditor $fShowEditor$fHasEditorEditorModCtrlAltShiftKeypressEscBSEnterUnknownBufAddedExit AfterRenderOnRender BeforeRender BeforeEventInit $fShowInit$fEqInit$fShowBeforeEvent$fEqBeforeEvent$fShowBeforeRender$fEqBeforeRender$fShowOnRender $fEqOnRender$fShowAfterRender$fEqAfterRender $fShowExit$fEqExit$fShowBufAdded $fEqBufAdded $fShowMod$fEqMod$fShowKeypress $fEqKeypress ActionState_ed_asyncs AsyncActionrunActHooksHook execAction evalAction$fFunctorAction$fApplicativeAction $fMonadAction$fMonadStateAction$fMonadReaderAction$fMonadIOAction getBufActionHasActionState actionStateasyncsedliftBuf$fShowActionState$fDefaultActionState$fHasEditorActionState$fHasActionStateActionState$fFunctorBufAction$fApplicativeBufAction$fMonadBufAction$fMonadStateBufAction$fMonadReaderBufAction$fMonadIOBufAction SchedulerrunSched dispatchEvent matchingHooksgetHooksonInit beforeEvent beforeRenderonRender afterRender onBufAdded$fFunctorScheduler$fApplicativeScheduler$fMonadScheduler$fMonadStateScheduler eventProviderdoAsync buffersDo buffersDo_bufDo_ newBuffer getBufRefs nextBufRef prevBufRefexit deleteRange replaceRangeinsertAt overRangerasa$yi-rope-0.7.0.2-4e29TpEi6l7hStEfnaGSYi.RopeYiStringMarkertoOffsettoCoordIDStartEnd_text_bufExtsbaseGHC.BaseNothing1data-default-class-0.1.2.0-FYQpjIylblBDctdkHAFeXAData.Default.ClassDefault_buffers_exiting _extState _nextBufIdextStategetHook eventLoop