Commit graph

731 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
28caeccf22
Fix new clippy lints 2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
67e489e382
Update to Rust 2024 and fix compiler errors 2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
81ca3d2a22
Fix broken links in Pop::delay documentation 2025-02-20 04:03:14 +01:00
Héctor Ramón Jiménez
ffc412d6b7
Implement delay for pop widget 🎉 2025-02-19 07:23:50 +01:00
Héctor Ramón Jiménez
42f6018487
Remove lifetime bound for Text in markdown::paragraph 2025-02-19 07:03:08 +01:00
Héctor Ramón Jiménez
51e44e036a
Add bounds argument to Component::operate 2025-02-18 04:50:08 +01:00
Héctor Ramón Jiménez
e594346544
Fix markdown compilation when highlighter feature is disabled 2025-02-18 04:42:14 +01:00
Héctor Ramón Jiménez
7526d73ad3
Fix Component not diffing when its state is recreated 2025-02-14 19:53:11 +01:00
Héctor Ramón Jiménez
f625297475
Fix request_input_method call in text_input 2025-02-12 23:17:48 +01:00
Héctor Ramón Jiménez
7979125ed7
Simplify InputMethod API with only two states
Co-authored-by: rhysd <lin90162@yahoo.co.jp>
Co-authored-by: KENZ <KENZ.gelsoft@gmail.com>
2025-02-12 08:46:35 +01:00
Héctor Ramón Jiménez
97f1db3783
Fix unneeded re-shaping during layout on text_input edit 2025-02-12 08:43:14 +01:00
Héctor
7c1123d6c9
Merge pull request #2790 from rhysd/adjust-preedit-size
Set correct text size for preedit window
2025-02-12 07:36:48 +01:00
Héctor Ramón Jiménez
7199ed0d07
Use default size for empty pre-edits 2025-02-12 07:26:26 +01:00
Héctor Ramón Jiménez
bf205a88b6
Make row module public 2025-02-11 22:59:28 +01:00
Héctor
718d36972d
Merge pull request #2798 from kenz-gelsoft/fix_input_method_scrolling_offset
Fix the preedit text placement on scrolled content
2025-02-11 21:02:34 +01:00
Héctor Ramón Jiménez
65bf503963
Introduce additional color styles for container 2025-02-09 05:59:32 +01:00
KENZ
02cbe3cbb5 Fix scrolling offset of preedit window 2025-02-07 23:26:34 +09:00
Cory Forsstrom
a8b1aef0a4
Request redraw in image viewer update 2025-02-06 13:35:48 -08:00
rhysd
cf851e133a Do not pass text size to Preedit::new 2025-02-06 09:57:01 +09:00
rhysd
fcdf53afde Set correct text size for text in preedit window 2025-02-06 02:01:52 +09:00
Héctor
4bbb5cbc1f
Merge pull request #2786 from iced-rs/customizable-markdown
Customizable Markdown Rendering and Image Support
2025-02-05 02:20:36 +01:00
Héctor Ramón Jiménez
ef25dfb733
Use code_size instead of spacing for code_block metrics 2025-02-05 02:01:41 +01:00
Héctor Ramón Jiménez
c7711e59ab
Add language to Item::CodeBlock in markdown 2025-02-05 01:33:16 +01:00
Héctor Ramón Jiménez
f8c71a20a9
Rename on_link_clicked to on_link_click 2025-02-04 21:22:01 +01:00
Héctor Ramón Jiménez
e8020f3eaf
Add Copy action to code blocks in markdown example 2025-02-04 20:58:06 +01:00
Héctor Ramón Jiménez
387abafa3a
Add alt and title to markdown images 2025-02-04 20:19:25 +01:00
Héctor Ramón Jiménez
a6e64eac6f
Animate image fade in in markdown example 2025-02-04 19:57:51 +01:00
Héctor Ramón Jiménez
24cf355e96
Fix documentation of markdown and rich_text 2025-02-04 19:07:24 +01:00
rhysd
eedaa376b9 Remove the placeholder text when IME is activated in text input 2025-02-05 00:53:16 +09:00
Héctor Ramón Jiménez
5655998761
Draft Viewer trait for markdown 2025-02-04 07:53:56 +01:00
Héctor Ramón Jiménez
c02ae0c4a4
Introduce view_with customizers in markdown module 2025-02-04 03:41:05 +01:00
Héctor Ramón Jiménez
afef368d8a
Take Event by reference in Widget::update 2025-02-04 01:26:59 +01:00
Héctor Ramón Jiménez
bab18858cd
Handle pre-edits and commits only if text_editor is focused 2025-02-03 18:38:20 +01:00
Héctor Ramón Jiménez
50eaef2844
Merge branch 'master' into explore-input-method2 2025-02-03 17:24:05 +01:00
Héctor Ramón Jiménez
141290c740
Fix InputMethod conflicts with multiple scrollables 2025-02-03 17:12:08 +01:00
Héctor Ramón Jiménez
e8c680ce66
Request redraws on InputMethod events 2025-02-03 16:55:10 +01:00
Héctor Ramón Jiménez
0c0651de5b
Introduce Levitating variant for mouse::Cursor 2025-02-03 05:45:51 +01:00
Héctor Ramón Jiménez
3029481b72
Ignore redraws of invisible content in hover widget 2025-02-03 04:34:13 +01:00
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