James Graham
d1acb97fe2
- Make sure that when adding characters before/after a link that it doesn't take the link style
...
- Make sure that when double clicking a link with a space the whole text is selected
- Make sure that shift selection with arrows works
- Make sure that ctrl left right (word jump) moves across the whole link even if multiple words
2026-02-24 16:54:57 +00:00
James Graham
0a99e90591
Treat links as a single character for the purposes of delete, backspace, left and right.
...
When backspacing at a link the first key selects the whole link the second deletes. Similar for delete, left and right.
2026-02-24 16:54:56 +00:00
James Graham
c6313d2951
Hook sending messages back up
2026-02-24 16:54:56 +00:00
James Graham
d2d48110cb
Use the rich text char format to store mentions rather than a separate structure in ChatBarCache.
...
This removes mentions from ChatBarCache and instead sets mentions as an anchor using the QTextCursor. Saving and restoring the chatbar text content is then done using QTextDocumentFragments which retain the rich text formatting.
2026-02-24 16:54:48 +00:00
James Graham
dff6ab66f1
Comment updates
2026-02-14 19:53:03 +00:00
James Graham
39573c1650
Make the scroll bar of the chat bar move properly as you type.
2026-02-14 19:52:45 +00:00
James Graham
6b318ec754
Update the look of the chatbar to be floating with the rich text controls on top and send buttons inline
2026-02-14 19:52:45 +00:00
James Graham
f4cb660422
Disallow formatting when there is an attachment and when adding one if there is rich formatting warn the user it will be removed and remove if they accept.
2026-02-14 19:52:45 +00:00
James Graham
d0abfe60f9
Restore missing functionality
2026-02-14 19:52:45 +00:00
James Graham
d10fe4a684
Add more tests
2026-02-14 19:52:45 +00:00
James Graham
9ea76ca5d0
Move the remaining functionality of ChatDocumentHandler to ChatTextItemHelper or split into own objects
2026-02-14 19:52:45 +00:00