akvelon / flutter-code-editor

Flutter Code Editor is a multi-platform code editor supporting syntax highlighting, code blocks folding, autocompletion, read-only code blocks, hiding specific code blocks, themes, and more.

Home Page:https://akvelon.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Line Numbers are not aligned with code

deva666 opened this issue · comments

Version 0.3.0
Line numbers and folding handles are not vertically aligned with code.
See screenshot.

image

This is true

commented

Give explicit text style with height in it

@deva666 @Somtobro can you please check again with v0.3.1 and Flutter 3.13.9?
If it persists, please tell your platform and send the whole minimal reproducible example.

Same problem with the latest version
Reproducible on Android and iOS (both simulator and real device)
Run your own example 02.

Another problem is that CodeField does not scroll horizontally on iOS.
Check your example 02, you can scroll vertically but not horizontally.
Works fine on Android though.

Screenshot 2023-11-14 at 09 34 03