File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ ## 0.3.4
2+
3+ - Added default height to ` defaultTextStyle ` (https://github.com/akvelon/flutter-code-editor/pull/297 ).
4+ - Added ` disposed ` and ` mounted ` checks to ` CodeField ` and ` CodeController ` (https://github.com/akvelon/flutter-code-editor/pull/298 ).
5+ - Added ` UndoHistoryController ` to ` CodeField ` (https://github.com/akvelon/flutter-code-editor/pull/302 ).
6+
17## 0.3.3
28
39- Added ` smartDashesType ` and ` smartQuotesType ` to ` CodeField ` (https://github.com/akvelon/flutter-code-editor/pull/278 ).
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ class _CodeFieldState extends State<CodeField> {
266266 disableSpellCheckIfWeb ();
267267
268268 WidgetsBinding .instance.addPostFrameCallback ((_) {
269- if (! mounted){
269+ if (! mounted) {
270270 return ;
271271 }
272272 final double width = _codeFieldKey.currentContext! .size! .width;
@@ -320,7 +320,7 @@ class _CodeFieldState extends State<CodeField> {
320320 void rebuild () {
321321 setState (() {
322322 WidgetsBinding .instance.addPostFrameCallback ((_) {
323- if (! mounted){
323+ if (! mounted) {
324324 return ;
325325 }
326326 // For some reason _codeFieldKey.currentContext is null in tests
Original file line number Diff line number Diff line change 11name : flutter_code_editor
22description : A customizable code field supporting syntax highlighting and code folding.
3- version : 0.3.3
3+ version : 0.3.4
44repository : https://github.com/akvelon/flutter-code-editor
55
66environment :
You can’t perform that action at this time.
0 commit comments