| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ide.PluginUtils
Synopsis
- normalize :: Range -> Range
- data WithDeletions
- diffText :: ClientCapabilities -> (Uri, Text) -> Text -> WithDeletions -> WorkspaceEdit
- makeDiffTextEdit :: Text -> Text -> List TextEdit
- makeDiffTextEditAdditive :: Text -> Text -> List TextEdit
- diffTextEdit :: Text -> Text -> WithDeletions -> List TextEdit
- diffText' :: Bool -> (Uri, Text) -> Text -> WithDeletions -> WorkspaceEdit
- clientSupportsDocumentChanges :: ClientCapabilities -> Bool
Documentation
normalize :: Range -> Range Source #
Extend to the line below and above to replace newline character.
data WithDeletions Source #
Constructors
| IncludeDeletions | |
| SkipDeletions |
Instances
| Eq WithDeletions Source # | |
Defined in Ide.PluginUtils Methods (==) :: WithDeletions -> WithDeletions -> Bool # (/=) :: WithDeletions -> WithDeletions -> Bool # | |
diffText :: ClientCapabilities -> (Uri, Text) -> Text -> WithDeletions -> WorkspaceEdit Source #
Generate a WorkspaceEdit value from a pair of source Text
diffTextEdit :: Text -> Text -> WithDeletions -> List TextEdit Source #
diffText' :: Bool -> (Uri, Text) -> Text -> WithDeletions -> WorkspaceEdit Source #
A pure version of diffText for testing