public InternalTextLayerController( TextEditRenderBox visualTextSurface, EditableTextFlowLayer textLayer) { this.visualTextSurface = visualTextSurface; textLineWriter = new TextLineWriter(textLayer); commandHistory = new DocumentCommandCollection(this); #if DEBUG if (dbugEnableTextManRecorder) { _dbugActivityRecorder = new debugActivityRecorder(); textLineWriter.dbugTextManRecorder = _dbugActivityRecorder; throw new NotSupportedException(); _dbugActivityRecorder.Start(null); } #endif }
public InternalTextLayerController( TextEditRenderBox visualTextSurface, EditableTextFlowLayer textLayer) { this.visualTextSurface = visualTextSurface; textLineWriter = new TextLineWriter(textLayer); backGroundTextLineWriter = textLineWriter.GetBackgroundWriter(); commandHistory = new DocumentCommandCollection(this); this.textMan = new TextMan(this, visualTextSurface); #if DEBUG if (dbugEnableTextManRecorder) { dbugTextManRecorder = new dbugMultiTextManRecorder(); textLineWriter.dbugTextManRecorder = dbugTextManRecorder; throw new NotSupportedException(); dbugTextManRecorder.Start(null); } #endif }