Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/19/13 00:31:12 (11 years ago)
Author:
gkronber
Message:

#2026 changed ATG to Coco/R syntax and use Coco/R (C#) to generate scanner and parser for GPDL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.GPDL/HeuristicLab.Problems.GPDL.Views/3.4/CodeEditor.xaml.cs

    r9674 r9724  
    5757    }
    5858
    59     private void textEditor_MouseWheel(object sender, System.Windows.Input.MouseWheelEventArgs e) {
     59    private void textEditor_MouseWheel(object sender, MouseWheelEventArgs e) {
    6060    }
    6161
    62     private void textEditor_KeyDown(object sender, System.Windows.Input.KeyEventArgs e) {
     62    private void textEditor_KeyDown(object sender, KeyEventArgs e) {
    6363      if (e.Key == Key.LeftCtrl || e.Key == Key.RightCtrl) controlHeld = true;
    6464    }
     
    7070    internal void SetLexError(string msg, int line, int col) {
    7171      errorLineTransformer.MarkLexError(msg, line, col);
    72       textEditor.InvalidateVisual();
     72      textEditor.TextArea.TextView.Redraw();
    7373    }
    7474
    7575    internal void SetSynError(string msg, int line, int col) {
    7676      errorLineTransformer.MarkSynError(msg, line, col);
    77       textEditor.InvalidateVisual();
     77      textEditor.TextArea.TextView.Redraw();
    7878    }
    7979
    8080    internal void ClearErrors() {
    8181      errorLineTransformer.ClearErrors();
    82       textEditor.InvalidateVisual();
     82      textEditor.TextArea.TextView.Redraw();
    8383    }
    8484
Note: See TracChangeset for help on using the changeset viewer.