2016-06-05 10:49:14 +03:00
|
|
|
/**
|
|
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
|
|
* See LICENSE
|
|
|
|
*/
|
|
|
|
|
|
|
|
import Cocoa
|
|
|
|
|
2016-07-17 15:41:53 +03:00
|
|
|
// 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()
|
2016-11-22 01:13:38 +03:00
|
|
|
func bufferListChanged()
|
2017-01-08 18:06:01 +03:00
|
|
|
func tabChanged()
|
2016-12-20 03:03:37 +03:00
|
|
|
func currentBufferChanged(_ currentBuffer: NeoVimBuffer)
|
2016-12-05 23:30:25 +03:00
|
|
|
|
2016-12-06 00:05:38 +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)
|
2016-06-05 10:49:14 +03:00
|
|
|
}
|