# Styled Note Markup trimmer gramplet?

**URL:** <https://gramps.discourse.group/t/styled-note-markup-trimmer-gramplet/5396>\
**Category:** Development\
**Tags:** third-party-addon, supertool-script\
**Created:** [May 4, 2024, 6:52pm UTC](https://gramps.discourse.group/t/styled-note-markup-trimmer-gramplet/5396 "2024-05-04T18:52:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [February 19, 2025, 3:48pm UTC](https://gramps.discourse.group/t/styled-note-markup-trimmer-gramplet/5396/5 "2025-02-19T15:48:18Z")

</div>

Prior to Gramps 5.2, The Notes display of base font size was absolute. It ignored when the Themes addon preferences selection that was used to increase the font size in the rest of the interface.

So, to increase the tiny default of 9pt to something readable by the eyes of _… ahem…_ mature users, it was necessary to Edit the styling of the Note content to increase the font size. Note Displays were enhanced for 5.2 … found the [Enhancement Request](https://gramps-project.org/bugs/view.php?id=12879) but I cannot find the PR.)

Now that the **Note Editor** uses the Themes to set the base font size, I need to clear those extra stylings out of the Notes. (The varying [manually-set sizes make **Notes** in **Reports** appear irregular](https://gramps.discourse.group/t/font-size-in-notes-versus-reports/250).)

But the ⌫ (Clear Markup) button clears ALL the markup for the selected text. And I _ **really** _ don’t want to clear the Links and rebuild them. They are too painful to set.

Individual Note cannot be targeted for export. So editing the XML and overwriting is not an option. There is no “exploded” view for an object that allows direct editing outside the klutz proofing of the GUI

Perhaps it might be possible to use **SuperTool** by @kku to generate a table of stylings for a particular Note… (with columns for styling type, begin, end, and a 20 character snippet of the affected text) and allow row to be selected, then that style deleted? I did not find the font decorations listed in the SuperTool help for Note objects.

 ![image](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/8/86cb9c4910d404b37a7caa24ebd5c3824ba93b29.png)

I posted an idea that had no response. So maybe a scaled back idea would raise comments?

> [@Styled Note Markup trimmer gramplet?](https://gramps.discourse.group/t/styled-note-markup-trimmer-gramplet/5396):
>
> The Note Editor has a Clear Markup feature. It clears ALL stylings applied to the selected text in a Note. But you cannot clear text with multiple stylings without clearing all markup on that text. (I had to boost text size on a few notes to be readable on high-res monitor. Beginning with 5.2, the base font size in Themes began working with notes too. Yay! But now I want to eliminate those no-longer-needed re-sizings without clearing all the other stylings.) It would be useful to hav…

(Gramps 5.22 and Fedora 37)

---

_[View the full topic](https://gramps.discourse.group/t/styled-note-markup-trimmer-gramplet/5396)._
