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.
https://akvelon.com
Apache License 2.0
197 stars 47 forks source link

Line Numbers are not aligned with code #250

Open deva666 opened 1 year ago

deva666 commented 1 year ago

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

image
Somtobro commented 1 year ago

This is true

junaid1460 commented 1 year ago

Give explicit text style with height in it

alexeyinkin commented 10 months ago

@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.

deva666 commented 9 months ago

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

sahibul-nf commented 3 months ago

This help for me: https://github.com/akvelon/flutter-code-editor/issues/261#issuecomment-1963836490