Open ruizyi opened 3 years ago
I just added the option in 1.0.1-1. Let m know if that works!
Is there way to make a gap between two line numbers when it word wrap is on?
I'll take a look at it
I have a fix that is lacking performance. Currently we are very limited by the RenderEditable API to retrieve line metrics. Tried to get a getter merged into the Flutter framework. Fortunately they are already working on an improved API that we may use. For more details see the discussion in https://github.com/flutter/flutter/pull/119430
Once the API changes are merged into Flutter I'll update my changes https://github.com/bennyboer/code_field and create a PR.
When using code files, you typically don't need longer lines to wrap around. However, with .md files this is in fact rather useful.
Please let me know how to disable horizontal scrolling :)