diff options
| author | Mauro Aranda | 2025-01-17 17:12:08 -0300 |
|---|---|---|
| committer | Eli Zaretskii | 2025-02-05 15:08:28 +0200 |
| commit | 85113fcda97970bc2468f409278e27d6570fc76f (patch) | |
| tree | d91a3ca509cf9f26075d3c39b592a3e86cc6fc98 /java | |
| parent | a1f2f5995d69db646f58a7203ab6208556f0df4b (diff) | |
| download | emacs-85113fcda97970bc2468f409278e27d6570fc76f.tar.gz emacs-85113fcda97970bc2468f409278e27d6570fc76f.zip | |
Prepare markers for insertions inside of a widget
Recreating child widgets without recreating the parent widget
may lead to situations where the parent widget doesn't cover its
children or buttons entirely anymore. This bug manifests as a
faulty fontification of children or buttons, for example.
(Bug#69941)
* lisp/wid-edit.el (widget--prepare-markers-for-inside-insertion)
(widget--prepare-markers-for-outside-insertion): New functions.
(widget-default-create): Use them.
* test/lisp/wid-edit-tests.el (widget-test-insertion-at-parent-markers)
(widget-test-insertion-at-parent-markers-2): New tests.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions