public ExpressionCalculator(ISyntaxProcessor syntaxProcessor, ISemanticsProcessor semanticsProcessor, ICalculationModelConverter converter) { _syntaxProcessor = syntaxProcessor; _semanticsProcessor = semanticsProcessor; _converter = converter; }
public TextEditorControl() { // TODO: Determine Syntax from file extension/contents this.syntaxProcessor = new SQLSyntaxProcessor(); var style = new Style(typeof(Paragraph)); style.Setters.Add(new Setter(Block.MarginProperty, new Thickness(0))); this.Resources.Add(typeof(Paragraph), style); }