public CsvTextEditorControl()
        {
            InitializeComponent();

            _columnWidthCalculator = new ColumnWidthCalculator();
            _elementGenerator      = new TabSpaceElementGenerator(_columnWidthCalculator);
            TextArea.TextView.ElementGenerators.Add(_elementGenerator);

            _backgroundWorker = (BackgroundWorker)FindResource("backgroundWoker");
        }
Exemplo n.º 2
0
 public TabSpaceElementGenerator(ColumnWidthCalculator columnWidthCalculator)
 {
     _columnWidthCalculator = columnWidthCalculator;
 }