- BREAKING: Deleted
CodeController.stringMap
. - BREAKING: Deleted
theme
fromCodeController
, (Issue 172).
- Hide the suggestion box when
CodeField
is 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
OverlayEntry
instead 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
highlight
fails (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.lastTextSpan
field (visible for testing) to return the lastTextSpan
produced bybuildTextSpan()
.
- Added the migration guide for 0.2 to README.
- BREAKING: Removed theme from
CodeController
. UseCodeTheme
widget instead. - BREAKING: Removed
webSpaceFix
, flutter/flutter#77929 - BREAKING: Fixed typo
IntendModifier
→IndentModifier
. - BREAKING:
CodeFieldState
is now private.
- Added a missing code file.
- Python fallback parser preserves foldable blocks if
highlight
fails (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.readOnlySectionNames
getter and setter (Issue 110). - Added
CodeController.foldCommentAtLineZero
,foldImports
,foldOutsideSections
(Issue 89). - Added
CodeController.visibleSectionNames
(Issue 27). - Fixed folding Python blocks with multiline
if
conditions (Issue 108). - Fixed folding duplicate blocks like
[{...}]
etc (Issue 99). - Fixed
cutLineIndexIfVisible
bug (Issue 112).
- Custom undo/redo implementation (Issue 97).
- Remove
FoldableBlock
duplicates (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.