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

28 lines
586 B
Swift
Raw Normal View History

/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
import Cocoa
// See http://stackoverflow.com/a/24104371 for class
public protocol NeoVimViewDelegate: class {
2016-11-20 23:55:51 +03:00
func neoVimStopped()
2016-09-27 01:17:53 +03:00
func set(title: String)
func set(dirtyStatus: Bool)
2016-09-07 21:12:18 +03:00
func cwdChanged()
func bufferListChanged()
func tabChanged()
func currentBufferChanged(_ currentBuffer: NeoVimBuffer)
2017-06-25 12:46:43 +03:00
func foregroundChanged(to: NSColor)
func backgroundChanged(to: NSColor)
func specialChanged(to: NSColor)
func ipcBecameInvalid(reason: String)
2017-01-04 22:32:56 +03:00
func scroll()
2017-01-08 15:52:28 +03:00
func cursor(to: Position)
}