void OnMouseLeave(object sender, MouseEventArgs e) { try { // Public Entry IsMouseFocus = false; } catch (Exception exn) { _logger.PublicEntryException(exn, "OnMouseLeave"); } }
/// <summary> /// If that layout is updated, add this's adornments back onto this's text view's adornment layer. /// </summary> /// <remarks> /// When a text view's layout is updated, any adornments that were attached to the new or reformatted lines are removed. /// </remarks> void OnLayoutChanged(object sender, TextViewLayoutChangedEventArgs e) { try { //if (adornmentWasRemoved) { foreach (var line in e.NewOrReformattedLines) { CreateVisuals(line); } #if TRACKING_REMOVED_ADORNMENTS _adornmentWasRemoved = false; #endif //} if (_newStaticAdornments) { UpdateStaticAdornments(null, null); } } catch (Exception exn) { _logger.PublicEntryException(exn, "OnLayoutChanged"); } }