     
     private let tapGestureRecognizer = UITapGestureRecognizer()
     private let longPressGestureRecognizer = UILongPressGestureRecognizer()
-    
     
     override public init(frame: CGRect) {
         super.init(frame: frame)

import UIKit

@objc public protocol MathInputViewDelegate: NSObjectProtocol {
    func mathInputView(_ MathInputView: MathInputView, didParse ink: [Any], latex: String)
    func mathInputView(_ MathInputView: MathInputView, didFailToParse ink: [Any], with error: NSError)
}

open class MathInputView: UIView, MathInkManagerDelegate {

        showCursor(at: node.frame)
    }
    
    @IBAction open func undoAction(_ sender: UIButton?) {
        if let rect = manager.undo() { setNeedsDisplay(rect) }
    }
    
    @IBAction open func redoAction(_ sender: UIButton?) {
        if let rect = manager.redo() { setNeedsDisplay(rect) }
    }
    
