Hi,
I learned in #11412 that some features that seem to be a progress to me
are actually bugs (e.g. removing space at end of paragraph). Therefore,
since I am in a mood to touch DEPM (in master only, I promise!), I
figured I'd better ask first.
Here is a list of ideas, from the top of my head
1. do not do DEPM when document is read-only
2. record undo for DEPM changes
3. remove the call to stripLeadingSpaces() at the end of DEPM that does
not make sense to me
4. call the global DEPM (the one that works on full paragraphs, not
around cursor) after each call to LFUN_LAYOUT (will have an effect when
changing a free_spacing layout to a normal one).
And then I have questions
5. currently DEPM does not look at deleting paragraphs in free spacing
layouts (in addition to the documented allowEmpty setting). Shall I
change that or document it?
6. currently when a paragraph contains only a space, DEPM will remove
the space but then it will return instead of removing the paragraph.
Shall I fix that or keep it because people rely on this weird behavior ?
JMarc