Changeset 9724 for branches/HeuristicLab.Problems.GPDL/HeuristicLab.Problems.GPDL.Views/3.4/CodeEditor.xaml.cs
- Timestamp:
- 07/19/13 00:31:12 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GPDL/HeuristicLab.Problems.GPDL.Views/3.4/CodeEditor.xaml.cs
r9674 r9724 57 57 } 58 58 59 private void textEditor_MouseWheel(object sender, System.Windows.Input.MouseWheelEventArgs e) {59 private void textEditor_MouseWheel(object sender, MouseWheelEventArgs e) { 60 60 } 61 61 62 private void textEditor_KeyDown(object sender, System.Windows.Input.KeyEventArgs e) {62 private void textEditor_KeyDown(object sender, KeyEventArgs e) { 63 63 if (e.Key == Key.LeftCtrl || e.Key == Key.RightCtrl) controlHeld = true; 64 64 } … … 70 70 internal void SetLexError(string msg, int line, int col) { 71 71 errorLineTransformer.MarkLexError(msg, line, col); 72 textEditor. InvalidateVisual();72 textEditor.TextArea.TextView.Redraw(); 73 73 } 74 74 75 75 internal void SetSynError(string msg, int line, int col) { 76 76 errorLineTransformer.MarkSynError(msg, line, col); 77 textEditor. InvalidateVisual();77 textEditor.TextArea.TextView.Redraw(); 78 78 } 79 79 80 80 internal void ClearErrors() { 81 81 errorLineTransformer.ClearErrors(); 82 textEditor. InvalidateVisual();82 textEditor.TextArea.TextView.Redraw(); 83 83 } 84 84
Note: See TracChangeset
for help on using the changeset viewer.