Skip to content

Commit

Permalink
Update Code Editor & use new clearHistory() function
Browse files Browse the repository at this point in the history
🥳 The dev added it really fast!
Closes #19

This update should have addressed #20, as well, but it seems like the issue is still there... 😔
  • Loading branch information
TechnicJelle committed Sep 6, 2024
1 parent cd96faf commit e21f355
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/config_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class _ConfigEditorState extends ConsumerState<ConfigEditor> {

void readFile(File file) {
codeController.text = file.readAsStringSync();
// codeController.clearHistory();
codeController.clearHistory();
openConfig = file;
}

Expand Down
8 changes: 4 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -441,10 +441,10 @@ packages:
dependency: "direct main"
description:
name: re_editor
sha256: abae2b015799c936b9f9b68888e2c55007dd159b4654a85da22ce1af84efbd17
sha256: "41f2d52060682f12daca57ebefd4ea5b8bbf611ada196c14f38130ae46945e89"
url: "https://pub.dev"
source: hosted
version: "0.3.1"
version: "0.4.0"
re_highlight:
dependency: "direct main"
description:
Expand Down Expand Up @@ -694,10 +694,10 @@ packages:
dependency: transitive
description:
name: uuid
sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90"
sha256: f33d6bb662f0e4f79dcd7ada2e6170f3b3a2530c28fc41f49a411ddedd576a77
url: "https://pub.dev"
source: hosted
version: "4.4.2"
version: "4.5.0"
vector_math:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies:
sdk: flutter
flutter_riverpod: ^2.5.1
path: ^1.9.0
re_editor: ^0.3.1
re_editor: ^0.4.0
re_highlight: ^0.0.3
rxdart: ^0.28.0
shared_preferences: ^2.3.2
Expand Down

0 comments on commit e21f355

Please sign in to comment.