Hoogle Search

Within LTS Haskell 24.65 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. miniIdentString :: FBuffer -> Text

    yi-core Yi.Buffer.Misc

    No documentation available.

  2. screenMidLn :: BufferM Int

    yi-core Yi.Buffer.Misc

    Middle line of the screen

  3. shiftWidth :: IndentSettings -> !Int

    yi-core Yi.Buffer.Misc

    Indent by so many columns

  4. shiftWidthA :: Lens' IndentSettings Int

    yi-core Yi.Buffer.Misc

    No documentation available.

  5. shortIdentString :: Int -> FBuffer -> Text

    yi-core Yi.Buffer.Misc

    Gets a short identifier of a buffer. If we're given a MemBuffer then just wraps the buffer name like so: *name*. If we're given a FileBuffer, it drops the number of path components.

    >>> let memBuf = newB (BufferRef 0) (MemBuffer "foo/bar/hello") ""
    
    >>> shortIdentString 2 memBuf
    "*foo/bar/hello*"
    
    >>> let fileBuf = newB (BufferRef 0) (FileBuffer "foo/bar/hello") ""
    
    >>> shortIdentString 2 fileBuf
    "hello"
    

  6. data BoundarySide

    yi-core Yi.Buffer.Normal

    Boundary side

  7. InsideBound :: BoundarySide

    yi-core Yi.Buffer.Normal

    No documentation available.

  8. OutsideBound :: BoundarySide

    yi-core Yi.Buffer.Normal

    No documentation available.

  9. outsideUnit :: TextUnit -> TextUnit

    yi-core Yi.Buffer.Normal

    Turns a unit into its "negative" by inverting the boundaries. For example, outsideUnit unitViWord will be the unit of spaces between words. For units without boundaries (Character, Document, ...), this is the identity function.

  10. data BoundarySide

    yi-core Yi.Buffer.TextUnit

    Boundary side

Page 805 of many | Previous | Next