Skip to content

Commit

Permalink
objectDidBeginEditing is causing a post-save refresh.
Browse files Browse the repository at this point in the history
Disabling Editing binding notifications until Apple has a fix.
  • Loading branch information
RobertoMachorro committed Jan 11, 2022
1 parent b4c2403 commit d0461c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Moped/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,12 @@ extension ViewController {
// MARK: - NSTextViewDelegate
extension ViewController {
func textDidBeginEditing(_ notification: Notification) {
document?.objectDidBeginEditing(self)
// PENDING This call is causing a post-save refresh
//document?.objectDidBeginEditing(self)
}

func textDidEndEditing(_ notification: Notification) {
document?.objectDidEndEditing(self)
//document?.objectDidEndEditing(self)
}

/* Prepping for auto-indenting
Expand Down

0 comments on commit d0461c0

Please sign in to comment.