1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-25 06:06:21 +03:00
vimr/SwiftNeoVim/NeoVimViewDelegate.swift
2017-06-25 11:46:43 +02:00

28 lines
586 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 foregroundChanged(to: NSColor)
func backgroundChanged(to: NSColor)
func specialChanged(to: NSColor)
func ipcBecameInvalid(reason: String)
func scroll()
func cursor(to: Position)
}