       self.setNeedsDisplay(position: self.grid.nextCellPosition(position))
     }
   }
-}+}

  private var pinchTargetScale = CGFloat(1)
  private var pinchImage = NSImage()

  private let drawer: TextDrawer
  
  private var _font = NeoVimView.defaultFont
  public var font: NSFont {
    get {

        return
      }

      let size = newValue.pointSize
      guard size >= NeoVimView.minFontSize && size <= NeoVimView.maxFontSize else {
        return
      }

      self._font = newValue
      self.drawer.font = self.font
      self.cellSize = self.drawer.cellSize
      self.descent = self.drawer.descent
      self.leading = self.drawer.leading
      
      self.resizeNeoVimUiTo(size: self.frame.size)
    }
  }
