aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-02-27 15:24:44 +0100
committerpml68 <contact@pml68.dev>2025-02-27 15:24:44 +0100
commite4708bdb31a792918a4bc162aebbc296fce9ce85 (patch)
tree03c72e314f1dea1adf4519b64e6719108fbfe980
parentdocs: add README (diff)
downloadiced_custom_highlighter-e4708bdb31a792918a4bc162aebbc296fce9ce85.tar.gz
feat: update `iced_core`
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--README.md1
-rw-r--r--src/lib.rs1
4 files changed, 2 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 6c60ddf..a5e3162 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -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",
diff --git a/Cargo.toml b/Cargo.toml
index 24773ce..5524086 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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"]
diff --git a/README.md b/README.md
index d09cfcc..7959be2 100644
--- a/README.md
+++ b/README.md
@@ -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,
diff --git a/src/lib.rs b/src/lib.rs
index 0753766..e689f42 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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,