
Use single function to calculate of text lines and columns because algorithm is the same for all encodings. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Use single function to calculate of text lines and columns because algorithm is the same for all encodings. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>