hls-plugin-api-0.5.0.1: Haskell Language Server API for plugin communication
Safe HaskellNone
LanguageHaskell2010

Ide.PluginUtils

Synopsis

Documentation

normalize :: Range -> Range Source #

Extend to the line below and above to replace newline character.

data WithDeletions Source #

Instances

Instances details
Eq WithDeletions Source # 
Instance details

Defined in Ide.PluginUtils

diffText :: ClientCapabilities -> (Uri, Text) -> Text -> WithDeletions -> WorkspaceEdit Source #

Generate a WorkspaceEdit value from a pair of source Text

diffText' :: Bool -> (Uri, Text) -> Text -> WithDeletions -> WorkspaceEdit Source #

A pure version of diffText for testing