- Added default height to
defaultTextStyle(#297). - Added
disposedandmountedchecks toCodeFieldandCodeController(#298). - Added
UndoHistoryControllertoCodeField(#302).
- Added
smartDashesTypeandsmartQuotesTypetoCodeField(#278). - Added named sections support for JavaScript and TypeScript (#291).
- Flutter 3.22 WASM fixes
- Support for Flutter v3.13.6.
- BREAKING: Deleted
CodeController.stringMap. - BREAKING: Deleted
themefromCodeController, (Issue 172).
- Hide the suggestion box when
CodeFieldis disposed (Issue 241). - Fix issues with Flutter 3.10.
- Added
CodeController.readOnly.
- Fixed most of the search bugs (Issue 228).
- 'Enter' key in the search pattern input scrolls to the next match.
- Alpha version of search.
- Fixed inability to change the value with
WidgetTester.enterText()(Issue 232).
- Fixed the suggestion box horizontal offset (Issue 224).
- Do not delete folded blocks by backspace or delete keys (Issue 210).
- Use theme colors in error message overlays (Issue 212).
- Suggestion box is shown in an
OverlayEntryinstead ofStack(Issue 207).
- Fixed "Field 'windowSize' has not been initialized" bug (Issue 203).
- Workaround to disable spellcheck in Firefox (Issue 197).
- Added pluggable analyzers support (Issue 139).
- Added
DartPadAnalyzer. - Fixed linter issues (Issue 164).
- Hiding line numbers, errors, and folding handles (Issue 159).
- Indent new line after
:in Python (Issue 135). - Track the test coverage, add the codecov badge (Issue 146).
- Do not pale the editor if a visible section is set (Issue 153).
- Added GIFs to README (Issue 148).
- Fixed 'Index out of range' exception with visible sections on the default factorial example (Issue 152).
- Fixed linter issues (Issue 147).
- Java fallback parser preserves foldable blocks if
highlightfails (Issue 48).
- Fix joining nested foldable blocks (Issue 136).
- Comment out and uncomment code with Ctrl-/ (Issue 117).
- Exported
StringExtension. - Added an example with changing the language and the theme.
- Fixed removing listeners in
_CodeFieldState.dispose().
- Added
CodeController.lastTextSpanfield (visible for testing) to return the lastTextSpanproduced bybuildTextSpan().
- Added the migration guide for 0.2 to README.
- BREAKING: Removed theme from
CodeController. UseCodeThemewidget instead. - BREAKING: Removed
webSpaceFix, flutter/flutter#77929 - BREAKING: Fixed typo
IntendModifier→IndentModifier. - BREAKING:
CodeFieldStateis now private.
- Added a missing code file.
- Python fallback parser preserves foldable blocks if
highlightfails (Issue 49).
- Remove an accidentally published temp file.
- Reformatted the license, updated README.
- Updated README.
- Fixed formatting.
- Read-only blocks are now pale (Issue 103).
- Fixed linter issues.
- Fixed README errors.
- Improved README.
- Updated license formatting to match pub.dev requirements.
- Added
CodeController.readOnlySectionNamesgetter and setter (Issue 110). - Added
CodeController.foldCommentAtLineZero,foldImports,foldOutsideSections(Issue 89). - Added
CodeController.visibleSectionNames(Issue 27). - Fixed folding Python blocks with multiline
ifconditions (Issue 108). - Fixed folding duplicate blocks like
[{...}]etc (Issue 99). - Fixed
cutLineIndexIfVisiblebug (Issue 112).
- Custom undo/redo implementation (Issue 97).
- Remove
FoldableBlockduplicates (Issue 99). - Copy folded text (Issue 24).
- Preserve selection when folding and unfolding (Issue 81).
- Added code folding.
- Fixed editing around hidden text ranges.
- Updated dependencies.
- Highlights unterminated blocks for Java and Python.
- Forked https://github.com/BertrandBev/code_field
- Re-license under the Apache license, mention the original author as the original license required.
- Added hidden service comment support.
- Added read-only blocks support.
- Added autocomplete for keywords, already-in-the-editor words, and external dictionary.