I’m looking into atom source code recently.
I’m enjoying analyze the code everyday.
I have a question while I’m looking into
“pixelPositionForScreenPosition” logic exist in TextEditorPresenter.
but I found also DisplayBuffer has it.
Detail logic is a little bit different, but almost same.
I think it’s better to use DisplayBuffer’s the logic in TextEditorPresenter.
I want to know the reason…
++ There seem to be more duplicated logic…;;;