1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-24 22:33:52 +03:00

Remove unnec' code

This commit is contained in:
Tae Won Ha 2016-07-05 18:54:44 +02:00
parent c16b70db04
commit 292e2be410
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
2 changed files with 0 additions and 18 deletions

View File

@ -8,5 +8,4 @@ import Cocoa
public protocol NeoVimViewDelegate {
func setTitle(title: String)
func resizeToSize(size: CGSize)
}

View File

@ -31,25 +31,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, NeoVimViewDelegate {
view.autoPinEdgesToSuperviewEdges()
self.window.makeFirstResponder(self.neoVim.view)
// neoVim.vimInput("i")
// neoVim.vimInput("\u{1F914}")
// neoVim.vimInput("\u{1F480}")
// neoVim.vimInput("č")
// neoVim.vimInput("")
// neoVim.vimInput("a")
// neoVim.vimInput("")
// neoVim.vimInput("z")
// neoVim.vimInput("\u{001B}")
}
func resizeToSize(size: CGSize) {
// let delta = CGFloat(4 + 4)
// let bigger = CGSize(width: size.width + delta, height: size.height + delta)
// self.neoVim.view.setFrameSize(bigger)
// NSLog("\(#function)")
}
func setTitle(title: String) {
self.window.title = title
}