mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-25 14:52:19 +03:00
Remove unnec' code
This commit is contained in:
parent
c16b70db04
commit
292e2be410
@ -8,5 +8,4 @@ import Cocoa
|
|||||||
public protocol NeoVimViewDelegate {
|
public protocol NeoVimViewDelegate {
|
||||||
|
|
||||||
func setTitle(title: String)
|
func setTitle(title: String)
|
||||||
func resizeToSize(size: CGSize)
|
|
||||||
}
|
}
|
||||||
|
@ -31,25 +31,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, NeoVimViewDelegate {
|
|||||||
view.autoPinEdgesToSuperviewEdges()
|
view.autoPinEdgesToSuperviewEdges()
|
||||||
|
|
||||||
self.window.makeFirstResponder(self.neoVim.view)
|
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) {
|
func setTitle(title: String) {
|
||||||
self.window.title = title
|
self.window.title = title
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user