private void InitializeBuffer() { controlRectangle.Focusable = true; controlRectangle.Focus(); if (_textStore == null) _textStore = new CustomTextSource(); if (_textString == null) _textString = new StringBuilder(); if(_currentRendering == null) _currentRendering = new FontRendering(); if(_textLineManager == null) _textLineManager = new TextLineManager(); if(_textBuffer == null) _textBuffer = new TextGapBuffer(10); if (_document == null) _document = new Document(_textBuffer, _textLineManager); }
public void Something() { var x = new ArrayList(); var xx = new List<string>(); var buffer = new TextGapBuffer(100); }