private void EditXmlConfig_Loaded(object sender, RoutedEventArgs e)
		{
			programme = DataContext as Programme;

			textEditor.ShowLineNumbers = true;
			textEditor.TextChanged += textEditor_TextChanged;
			textEditor.TextArea.TextEntered += new TextCompositionEventHandler(textEditor_TextEntered);

			programme.PropertyChanged += Programme_PropertyChanged;
		}
Example #2
0
        private void EditXmlConfig_Loaded(object sender, RoutedEventArgs e)
        {
            programme = DataContext as Programme;

            textEditor.ShowLineNumbers       = true;
            textEditor.TextChanged          += textEditor_TextChanged;
            textEditor.TextArea.TextEntered += new TextCompositionEventHandler(textEditor_TextEntered);

            programme.PropertyChanged += Programme_PropertyChanged;
        }