mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
The logic of the character grid mode is being spread over various pieces of code and it becomes harder to follow. Character width calculation is in one place, terminal size calculation is in another, etc. Now that we're about to optimize soft wraps and size calculations, it's going to add even more to this mess. To avoid this, extract the relevant logic into a class and expose it via an interface. (cherry picked from commit 16411688015b7f3961e1bdda41e543070c60cfd6) IJ-CR-157364 GitOrigin-RevId: 821cea6b4f0d9d79e691b26a1c4ea2c49362b508