e8a0a536f1
fix: adapt to cosmic-theme background(transparent) accessor
...
Leyoda 2026 – GPLv3
2026-07-03 13:10:15 +02:00
KENZ
4c53d607f7
feat(ime): minimal IME support for the text_box widget ( #539 )
...
* Support CJK input method
* Fix the input method window occasionally jumps around
Use the previous caret(text cursor) position to place the input method
window when the position is not available
* refactor: Omit calling request_input_method() if doesn't focus
- iced UserInterface.update() starts with InputMethod::Disabled state,
and merges any input_method_request() which is InputMethod::Enabled in
widgets tree traversal.
- We don't enable the input method feature if the widget doesn't have
focus, we can safely omit request_input_method() call itself.
2026-04-27 16:05:22 -06:00
Ashley Wulber
a95a1c1691
chore: update libcosmic after reexports were removed
2026-04-09 15:59:16 -06:00
Hojjat
6677fe05d5
chore: update libcosmic and cosmic-text
2026-04-03 14:42:12 -06:00
Hojjat
cf557a0608
chore: cargo fmt
2026-03-31 16:14:06 -04:00
Hojjat
4fe528a58e
fix: avoid infinite focus loop
2026-03-31 16:14:06 -04:00
Hojjat
6ea24b8518
fix: don't capture all mouse events
2026-03-31 16:14:06 -04:00
Ashley Wulber
6326f65d84
feat: rebase libcosmic onto iced 0.14
2026-03-18 17:23:49 +01:00
Dmitry Yarygin
e11902c5bf
Merge pull request #520 from deemoun/hide-scrollbar
...
Hide the Scrollbar when it isn't needed #507
2026-03-02 11:17:47 -07:00
Frederic Laing
290be82696
implement shift press plus mouse click text selection
2025-12-31 13:03:54 -06:00
Jeremy Soller
f0cb90733c
Fix horizontal scrolling with wheel or touchpad and improve scrollbar behavior
2025-11-11 18:42:59 -07:00
Jeremy Soller
f0adef5fa0
Change text_box redraw log level to trace
2025-11-11 13:21:46 -07:00
Jeremy Soller
392f6e6ab1
Clip text box
2025-11-06 16:49:17 -07:00
Jeremy Soller
966cc0f332
Draw most items with GPU, except for line numbers
2025-11-06 13:40:10 -07:00
Ashley Wulber
73446cdafc
fix: focus find on window focus if text box did not have focus
2025-10-24 20:47:07 +02:00
Jeremy Soller
099e32bdc0
Use modiifed_key instead of key, fixes #286
2025-09-16 08:57:37 -06:00
Vukašin Vojinović
e405b929c1
chore: Rust 2024 edition
2025-09-11 16:26:28 +02:00
Jeremy Soller
038d770200
Adjust scroll speeds
2025-09-07 19:57:47 -06:00
Jeremy Soller
1e2424861d
Update to latest cosmic-text
2025-09-07 19:45:52 -06:00
ellieplayswow
40a54654dc
feat(text_box): add CTRL+<backspace> and CTRL+<delete> keybinds (delete left/right word) ( #353 )
2025-05-12 08:12:48 -06:00
ellieplayswow
32cab6eef6
bugfix(text_box): ignoring tab key presses when alt is held ( #348 )
2025-05-07 19:34:58 -06:00
Jeremy Soller
04f2812f4e
Implement drag scroll, fixes #154
2025-02-05 15:28:38 -07:00
Jeremy Soller
bde7e2bfc2
Don't capture ctrl+tab in text box, fixes #123
2025-01-17 09:49:30 -07:00
toftpokk
c6cd819fff
Fix clicking outside textbox to unfocus
2024-12-22 07:35:33 -07:00
Jeremy Soller
5b0d05d2cb
Update libcosmic/iced
2024-10-22 11:55:58 -06:00
Jeremy Soller
4eb631c9a1
Update dependencies
2024-06-12 09:45:12 -06:00
Jeremy Soller
62605f73c7
Add cancel button to unsaved changes dialogs, fixes #189
2024-05-31 08:29:30 -06:00
Jeremy Soller
0ae48666d8
Implement horizontal scrollbar drag, fixes #59
2024-05-31 08:14:36 -06:00
Jeremy Soller
fe280423b8
Fix rendering of horizontal scrollbar, related to #59
2024-05-30 15:52:53 -06:00
Jeremy Soller
55e89579ad
Fix location of horizontal scrollbar
2024-05-30 15:41:28 -06:00
Jeremy Soller
53d7b06926
Show horizontal scrollbar if necessary, related to #59
2024-05-30 15:37:04 -06:00
Jeremy Soller
68dd4c3758
Allow horizontal scroll to fit cursor, related to #59
2024-05-30 15:09:57 -06:00
Jeremy Soller
78552e07c3
Modify motions based on modifier keys, fixes #157
2024-03-18 08:58:45 -06:00
Jeremy Soller
afb71f61fb
Format
2024-03-14 20:41:59 -06:00
Jeremy Soller
2bfcfdf8b8
Improve fractional rendering by finding perfectly scalable size
2024-03-14 20:39:28 -06:00
Jeremy Soller
803ef549d0
Implement highlight current line, fixes #133
2024-02-20 09:45:19 -07:00
Jeremy Soller
38058fb2e6
Use iced FontSystem and fix #122
2024-02-15 15:23:41 -07:00
Ashley Wulber
c9ebbd59b0
fix: handle space input as text
2024-02-13 07:02:57 -07:00
Jeremy Soller
53f88f7de3
Fix warnings and remove excessive debug
2024-02-08 15:03:49 -07:00
Ashley Wulber
0a5325ba05
chore: update libcosmic
2024-02-05 16:18:36 -05:00
Mark Tomlin
b97eb0603b
Remove lazy_static dep.
2024-01-18 20:52:20 -07:00
Mark Tomlin
677c924323
Code cleanup.
2024-01-16 19:31:48 -07:00
Jeremy Soller
c1944f9c15
Simplify filtering when not focused
2024-01-12 09:59:28 -07:00
Jeremy Soller
f2202bbf91
Make track rounded
2024-01-11 11:48:36 -07:00
Jeremy Soller
1db39bea3b
Match scrollbar to design, using permanent style
2024-01-11 11:46:30 -07:00
Jeremy Soller
6cf983e4f1
Improve scrollbar
2024-01-10 16:19:21 -07:00
Jeremy Soller
f3a8fef8f8
Implement find and improvements for focus
2024-01-09 12:40:29 -07:00
Mark Tomlin
89cf36d5b4
Canvas is just the text area, not the whole window.
2023-12-26 10:17:32 -07:00
Mark Tomlin
5588411644
Final bit of bike shedding for the draw_rect fn.
2023-12-26 10:17:32 -07:00
Mark Tomlin
47aad59fe4
draw_rect refactor.
2023-12-26 10:17:32 -07:00