1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 19:47:41 +03:00
vimr/SwiftNeoVim/NeoVimViewDelegate.swift

26 lines
523 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 18:35:51 +03:00
func colorschemeChanged(to: NeoVimView.Theme)
2017-06-25 12:46:43 +03:00
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)
}