Commit graph

693 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
c83809adb9
Implement basic IME selection in Preedit overlay 2025-02-03 02:33:40 +01:00
Héctor Ramón Jiménez
3a35fd6249
Clamp pre-edit inside viewport bounds 2025-02-03 01:30:41 +01:00
Héctor Ramón Jiménez
d28af5739b
Track pre-edits separately from focus in text inputs 2025-02-03 00:51:57 +01:00
Héctor Ramón Jiménez
ae10adda74
Refactor and simplify input_method API 2025-02-02 20:45:29 +01:00
Héctor Ramón Jiménez
0c6d4eb23f
Run cargo fmt and fix lints 2025-02-02 17:50:12 +01:00
KENZ
7db5256b72
Draft input_method support 2025-02-02 17:44:13 +01:00
Héctor Ramón Jiménez
599d8b560b
Avoid sharing State when re-parsing markdown sections 2025-02-02 04:17:44 +01:00
Héctor Ramón Jiménez
569ef13ac9
Fix broken references when parsing markdown streams 2025-02-02 04:01:57 +01:00
Héctor Ramón Jiménez
e73d0c65d2
Fix imprecise documentation in Pop::on_show 2025-02-02 01:52:04 +01:00
Héctor Ramón Jiménez
e78d7f0e51
Add on_resize handler to pop widget 🎉 2025-02-02 01:48:42 +01:00
Héctor Ramón Jiménez
952c47bc8a
Write documentation for markdown::Content 2025-02-01 04:33:15 +01:00
Héctor Ramón Jiménez
8cac532cd9
Add horizontal helper to scrollable 2025-02-01 04:26:35 +01:00
Héctor Ramón Jiménez
ed0ffb5963
Revert automatic horizontal scroll in scrollable 2025-02-01 02:16:29 +01:00
Héctor Ramón Jiménez
7a6d4d580e
Propagate mouse cursor movements in stack 2025-02-01 02:13:45 +01:00
Héctor Ramón Jiménez
2fc94d9f44
Fix event capturing in rich_text 2025-02-01 01:57:11 +01:00
Héctor Ramón Jiménez
7493b83031
Fix rich_text reactive rendering when hovering links 2025-02-01 01:52:13 +01:00
Héctor Ramón Jiménez
eb81679e60
Split code blocks into multiple rich_text lines
This improves layout diffing considerably!
2025-02-01 01:08:20 +01:00
Héctor Ramón Jiménez
c2155b82b3
Cull out of bounds rich_text during draw 2025-02-01 01:07:03 +01:00
Héctor Ramón Jiménez
7336a18443
Fix viewport when using nested scrollables 2025-02-01 01:04:36 +01:00
Héctor Ramón Jiménez
447f5ae494
Discard markdown::Highlighter if language changes 2025-02-01 00:33:05 +01:00
Héctor Ramón Jiménez
095859ed57
Add new constructor for markdown::Content 2025-01-31 20:50:07 +01:00
Héctor Ramón Jiménez
bc2d662af7
Replace println with log calls in markdown module 2025-01-31 20:42:53 +01:00
Héctor Ramón Jiménez
4b8fc23840
Implement markdown incremental code highlighting 2025-01-31 20:37:07 +01:00
Héctor Ramón Jiménez
128058ea94
Draft incremental markdown parsing
Specially useful when dealing with long Markdown
streams, like LLMs.
2025-01-31 17:35:38 +01:00
Héctor Ramón Jiménez
6aab76e3a0
Add min_height and max_height to text_editor 2025-01-30 03:45:14 +01:00
Héctor Ramón Jiménez
fb87c97159
Use Into<Id> for scrollable::Id arguments 2025-01-30 02:52:24 +01:00
Héctor Ramón Jiménez
a7bc1e7da4
Avoid capturing mouse press when text_editor is unfocused 2025-01-30 02:47:59 +01:00
Héctor Ramón Jiménez
ea8696eac2
Use Into<Id> for container::Id arguments 2025-01-30 02:47:14 +01:00
Héctor Ramón Jiménez
aa0f0e73aa
Let markdown::view be Shrink when no code blocks exist 2025-01-30 01:47:10 +01:00
Héctor Ramón Jiménez
d49d4dc3fa
Make spacing configurable in markdown::Settings 2025-01-30 01:46:52 +01:00
Héctor Ramón Jiménez
cfbeb05e32
Fix code block merging with previous spans in markdown widget 2025-01-30 01:46:04 +01:00
Héctor Ramón Jiménez
87165ccd29
Introduce LineEnding to editor and fix inconsistencies 2025-01-28 06:23:38 +01:00
Héctor Ramón Jiménez
cdcfdb2e4e
Implement scale support for image widget 2025-01-27 00:36:21 +01:00
Héctor Ramón Jiménez
24905ebd5d
Fix update passing wrong Tree to content in pop widget 2025-01-26 21:13:57 +01:00
Héctor
1dccd1e71f
Merge pull request #2741 from edwloef/click-kind-derive
derive PartialEq and Eq for `mouse::click::Kind`
2025-01-26 20:22:52 +01:00
Héctor
8e23592c5c
Merge pull request #2751 from iced-rs/feature/pop-widget
`pop` widget
2025-01-26 14:26:07 +01:00
Héctor Ramón Jiménez
d886f39521
Fix Image not respecting viewport bounds 2025-01-26 04:32:04 +01:00
Héctor Ramón Jiménez
e90ff41edb
Implement pop widget 🎉 2025-01-26 04:29:57 +01:00
Héctor Ramón Jiménez
c93ffaa5fc
Add warning style for progress_bar 2025-01-24 21:44:41 +01:00
Héctor Ramón Jiménez
b7dd0bfda5
Fix missing reactive rendering logic for vertical_slider 2025-01-24 21:44:00 +01:00
Héctor Ramón Jiménez
a22d96aae9
Implement support for vertical ProgressBar
Co-authored-by: MG_REX <49415741+ThisIsRex@users.noreply.github.com>
2025-01-24 21:41:18 +01:00
Héctor Ramón Jiménez
f8337b8da7
Add helper functions for alignment to widget module 2025-01-24 15:55:24 +01:00
edwloef
3d64e6cd3c
derive partialeq and eq for mouse::click::Kind 2025-01-22 16:32:59 +01:00
Jinderamarak
440918ce53
fix: parsing of nested markdown lists without empty line 2025-01-15 10:59:20 +00:00
Héctor Ramón Jiménez
2b8b3fd413
Fix consistency of import ordering 2025-01-06 23:00:21 +01:00
Tommy Volk
0e8c3fe30f
chore: remove once_cell dependency 2025-01-06 22:56:48 +01:00
Héctor
b156087fcf
Merge pull request #2607 from DavidAguilo/palette_warning
Feat: Add warning color to palette
2025-01-06 21:13:08 +01:00
Héctor Ramón Jiménez
edbb318cbd
Add warning style for button 2025-01-06 21:05:13 +01:00
Héctor Ramón Jiménez
eee3588181
Rename *_disabled to is_*_disabled in scrollable 2025-01-06 20:25:22 +01:00
Héctor Ramón Jiménez
cff3eb217f
Simplify scrollable disabled styling calculation 2025-01-06 20:23:26 +01:00