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

Fix cursor behavior when newCode.visibleText != newValue.text #185

Closed yescorp closed 1 year ago

yescorp commented 1 year ago

CC https://github.com/apache/beam/issues/25279

codecov[bot] commented 1 year ago

Codecov Report

Merging #185 (6683f74) into main (e2b10a5) will increase coverage by 0.03%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #185      +/-   ##
==========================================
+ Coverage   82.21%   82.24%   +0.03%     
==========================================
  Files          85       85              
  Lines        2552     2557       +5     
==========================================
+ Hits         2098     2103       +5     
  Misses        454      454              
Impacted Files Coverage Δ
lib/src/code_field/code_controller.dart 79.87% <100.00%> (+0.31%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.