This code editor was forked from code_text_field by BertrandBev, and then many features were added to it.
The first versions preserve much of compatibility for your convenience.
- Replace
code_text_field
package with this one. - Do not use
CodeField.expands
because otherwise the code scrolls but line numbers freeze. Instead put the entire widget toExpnaded
. - Use
CodeTheme
widget instead of passing a theme toCodeController
.