C# Class vim.VimEditor

Inheritance: IEditor
Show file Open project: continuoustests/EditorEngine

Public Methods

Method Description
BeginBatchUpdate ( ) : void
CanInsertFor ( string file ) : bool
CanRemoveFor ( string file ) : bool
EndBatchUpdate ( ) : void
GetCaret ( ) : Caret
GetDirtyFiles ( string file ) : string>[].KeyValuePair
GetWindows ( ) : string[]
GoTo ( Location location ) : void
GoTo ( Location location, string window ) : void
Initialize ( Location location, string args ) : void
Insert ( EditorInsertMessage message ) : void
Remove ( EditorEngine.Core.Messaging.Messages.EditorRemoveMessage message ) : void
RequestUserInput ( string identifier, string defaultValue ) : void
RequestUserSelection ( string identifier, string items, string defaultValue ) : void
RequestUserSelectionAtCaret ( string identifier, string items ) : void
RunCommand ( string args ) : void
SetFocus ( ) : void
TimeoutAfter ( int milliseconds ) : VimEditor

Private Methods

Method Description
Handle_serverClientConnected ( object sender, EventArgs e ) : void
Handle_serverIncomingMessage ( object sender, MessageArgs e ) : void
applyBufferID ( string path, bool setBufferNumber ) : int
completeSnippet ( object status ) : void
editFile ( string file ) : int
getBuffer ( string command ) : int
getBufferID ( string path ) : int
getCommand ( string command ) : string
getExecutable ( string arguments ) : string
getFirstAvailableBuffer ( ) : int
getIsHeadless ( string arguments ) : bool
getLocation ( ) : VIMLocation
getLocation ( int bufferID ) : VIMLocation
getModified ( ) : string
getModified ( int bufferID ) : string
getParameters ( ) : string
getPort ( string arguments ) : int
getText ( ) : string
getText ( int bufferID ) : string
getWhitespacePrefix ( string line ) : string
goTo ( int buffer, Location location ) : void
handleModifications ( ) : void
handleReply ( string message ) : bool
listenForModifications ( ) : void
removeBuffer ( int id ) : void
runFunction ( string function ) : string
send ( string message ) : void

Method Details

BeginBatchUpdate() public method

public BeginBatchUpdate ( ) : void
return void

CanInsertFor() public method

public CanInsertFor ( string file ) : bool
file string
return bool

CanRemoveFor() public method

public CanRemoveFor ( string file ) : bool
file string
return bool

EndBatchUpdate() public method

public EndBatchUpdate ( ) : void
return void

GetCaret() public method

public GetCaret ( ) : Caret
return EditorEngine.Core.Editors.Caret

GetDirtyFiles() public method

public GetDirtyFiles ( string file ) : string>[].KeyValuePair
file string
return string>[].KeyValuePair

GetWindows() public method

public GetWindows ( ) : string[]
return string[]

GoTo() public method

public GoTo ( Location location ) : void
location EditorEngine.Core.Editors.Location
return void

GoTo() public method

public GoTo ( Location location, string window ) : void
location EditorEngine.Core.Editors.Location
window string
return void

Initialize() public method

public Initialize ( Location location, string args ) : void
location EditorEngine.Core.Editors.Location
args string
return void

Insert() public method

public Insert ( EditorInsertMessage message ) : void
message EditorEngine.Core.Messaging.Messages.EditorInsertMessage
return void

Remove() public method

public Remove ( EditorEngine.Core.Messaging.Messages.EditorRemoveMessage message ) : void
message EditorEngine.Core.Messaging.Messages.EditorRemoveMessage
return void

RequestUserInput() public method

public RequestUserInput ( string identifier, string defaultValue ) : void
identifier string
defaultValue string
return void

RequestUserSelection() public method

public RequestUserSelection ( string identifier, string items, string defaultValue ) : void
identifier string
items string
defaultValue string
return void

RequestUserSelectionAtCaret() public method

public RequestUserSelectionAtCaret ( string identifier, string items ) : void
identifier string
items string
return void

RunCommand() public method

public RunCommand ( string args ) : void
args string
return void

SetFocus() public method

public SetFocus ( ) : void
return void

TimeoutAfter() public method

public TimeoutAfter ( int milliseconds ) : VimEditor
milliseconds int
return VimEditor