diff options
| author | pml68 <contact@pml68.dev> | 2025-02-27 15:24:44 +0100 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-02-27 15:24:44 +0100 |
| commit | e4708bdb31a792918a4bc162aebbc296fce9ce85 (patch) | |
| tree | 03c72e314f1dea1adf4519b64e6719108fbfe980 | |
| parent | docs: add README (diff) | |
| download | iced_custom_highlighter-e4708bdb31a792918a4bc162aebbc296fce9ce85.tar.gz | |
feat: update `iced_core`
| -rw-r--r-- | Cargo.lock | 2 | ||||
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | src/lib.rs | 1 |
4 files changed, 2 insertions, 4 deletions
@@ -117,7 +117,7 @@ checksum = "151665d9be52f9bb40fc7966565d39666f2d1e69233571b71b87791c7e0528b3" [[package]] name = "iced_core" version = "0.14.0-dev" -source = "git+https://github.com/pml68/iced?rev=d49a70eaea0803b9a4843b37e870f44b652ed6df#d49a70eaea0803b9a4843b37e870f44b652ed6df" +source = "git+https://github.com/pml68/iced?rev=3a491669e7fecf21c261de63dcb1e8069063648f#3a491669e7fecf21c261de63dcb1e8069063648f" dependencies = [ "bitflags 2.8.0", "bytes", @@ -15,7 +15,7 @@ syntect = { version = "5.2", default-features = false, features = ["default-synt [dependencies.iced_core] git = "https://github.com/pml68/iced" -rev = "d49a70eaea0803b9a4843b37e870f44b652ed6df" +rev = "3a491669e7fecf21c261de63dcb1e8069063648f" [package.metadata.docs.rs] rustdoc-args = ["--cfg", "docsrs"] @@ -28,7 +28,6 @@ Column::new() .push( text_editor(&state.content) .placeholder("Type something here...") - .rehighlight_on_redraw(true) .highlight_with::<Highlighter>( Settings::new(vec![], Highlight::default_style, "rs"), Highlight::to_format, @@ -26,7 +26,6 @@ //! .push( //! text_editor(&state.content) //! .placeholder("Type something here...") -//! .rehighlight_on_redraw(true) //! .highlight_with::<Highlighter>( //! Settings::new(vec![], Highlight::default_style, "rs"), //! Highlight::to_format, |
