diamondburned / gotktrix

Matrix client in Go and GTK4
GNU Affero General Public License v3.0
312 stars 6 forks source link

Allow deleting mentions using backspace #8

Closed diamondburned closed 2 years ago

diamondburned commented 2 years ago

There's a possible way to implement this: guard the added mention section with 2 TextMarks at both ends. Once any of the TextMarks are deleted, remove the whole section.

Edit: see signal mark-deleted.

diamondburned commented 2 years ago

The method described here unfortunately doesn't work.

diamondburned commented 2 years ago

Implemented in 989a7da by having mentions done with widgets instead of text segments.