コード例 #1
0
        private void UserControl_LostFocus(object sender, RoutedEventArgs e)
        {
            //(listView1.Background as SolidColorBrush).Color = _IDEState.NotFocusedElementColor;
            CodeEditorView.UnHighlightError();

            //e.Handled = false;
        }
コード例 #2
0
        private void ErrorItem_UnSelected(object sender, RoutedEventArgs e)
        {
            ListViewItem item  = sender as ListViewItem;
            CompileError error = item.Content as CompileError;

            if (error != null && error.IsActive && IsFocused)
            {
                CodeEditorView.UnHighlightError();
            }

            //e.Handled = true;
        }