Skip to content

Commit 78f74f6

Browse files
authored
Merge pull request #304 from akvelon/bump-version-v0.3.4
Bump version to v0.3.4
2 parents 5b001fa + 0339f79 commit 78f74f6

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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).

lib/src/code_field/code_field.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_code_editor
22
description: A customizable code field supporting syntax highlighting and code folding.
3-
version: 0.3.3
3+
version: 0.3.4
44
repository: https://github.com/akvelon/flutter-code-editor
55

66
environment:

0 commit comments

Comments
 (0)