summaryrefslogtreecommitdiffstats
path: root/core/src/renderer
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-17 22:04:11 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-17 22:04:11 +0200
commit910eb72a0620b34e5b3d7793bbd5ab7290e08dd6 (patch)
tree0a0940d56a9bc4147b7ef06fe9fb5099c761090a /core/src/renderer
parentffb520fb3703ce4ece9fb6d5ee2c7aa0b846879f (diff)
downloadiced-910eb72a0620b34e5b3d7793bbd5ab7290e08dd6.tar.gz
iced-910eb72a0620b34e5b3d7793bbd5ab7290e08dd6.tar.bz2
iced-910eb72a0620b34e5b3d7793bbd5ab7290e08dd6.zip
Implement `rich_text` widget and `markdown` example
Diffstat (limited to 'core/src/renderer')
-rw-r--r--core/src/renderer/null.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/renderer/null.rs b/core/src/renderer/null.rs
index 560b5b43..f9d1a5b0 100644
--- a/core/src/renderer/null.rs
+++ b/core/src/renderer/null.rs
@@ -77,6 +77,11 @@ impl text::Paragraph for () {
fn with_text(_text: Text<&str>) -> Self {}
+ fn with_spans(
+ _text: Text<&[text::Span<'_, Self::Font>], Self::Font>,
+ ) -> Self {
+ }
+
fn resize(&mut self, _new_bounds: Size) {}
fn compare(&self, _text: Text<()>) -> text::Difference {