1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-24 19:47:41 +03:00
vimr/SwiftNeoVim/NeoVimViewDelegate.swift
2017-06-25 17:35:51 +02:00

26 lines
523 B
Swift

/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
import Cocoa
// See http://stackoverflow.com/a/24104371 for class
public protocol NeoVimViewDelegate: class {
func neoVimStopped()
func set(title: String)
func set(dirtyStatus: Bool)
func cwdChanged()
func bufferListChanged()
func tabChanged()
func currentBufferChanged(_ currentBuffer: NeoVimBuffer)
func colorschemeChanged(to: NeoVimView.Theme)
func ipcBecameInvalid(reason: String)
func scroll()
func cursor(to: Position)
}