LineDimensionsCalculator.create(fontDimensionsCalculator);
Buffer buffer =
Buffer.create(appContext, fontDimensionsCalculator.getFontDimensions(), lineDimensions,
renderTimeExecutor);
InputController input = new InputController();
View view =
new View(appContext.getResources(), buffer.getView().getElement(), input.getInputElement());
FocusManager focusManager = new FocusManager(buffer, input.getInputElement());
return new Editor(appContext, view, buffer, input, focusManager, fontDimensionsCalculator,
renderTimeExecutor);
}