diff options
| -rw-r--r-- | cocoa/ScintillaView.mm | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index 942761bd0..9eae83718 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -1018,7 +1018,10 @@ static void notification(intptr_t windowid, unsigned int iMessage, uintptr_t wPa            NSPoint caretPosition = editor->mBackend->GetCaretPosition();            [editor->mInfoBar notify: IBNCaretChanged message: nil location: caretPosition value: 0];            [editor sendNotification: SCIUpdateUINotification]; -          [editor sendNotification: NSTextViewDidChangeSelectionNotification]; +          if (scn->updated & (SC_UPDATE_SELECTION | SC_UPDATE_CONTENT)) +          { +            [editor sendNotification: NSTextViewDidChangeSelectionNotification]; +          }            break;        }        } | 
