-
-
Notifications
You must be signed in to change notification settings - Fork 27
Description
In the meeting today (7-28-25), @hjellinek pointed out that there was some funny behavior regarding the paragraph looks menu for an empty document. It's also funny in the Venue sysout.
There are a couple of things going on with the default looks (which may have nothing to do with the HTML stream problem).
First, there is no proper interface for the user to set the default looks, there is an internal function that creates them but no user settable variable. That's easy to fix.
It's also easy to make sure that the Show command for an empty document shows the properties of the default looks (basically eliminating a bounds check).
A little trickier is to make the Apply act on the default, if you wanted to use the menu to make a change for the first insertion before you actually do the insert.
In fact, I think this default is only looked at for the first insertion, after that it shows and changes the looks of the selected real text. So another bit of complexity that would be good to get rid of, maybe a zero-length dummy piece to start with. (I put in a dummy suffix piece a long time ago, that cleared up a lot)