Menu

#483 Make document zooming more consistent in several ways

open
Lurch application
minor
defect
2013-06-06
2013-03-10
No

Although these could each be a separate ticket, I'm piling them together into one.

  1. Lurch document content that's cut/copied to the clipboard goes on with a fixed font size. Zooming and then pasting pastes at the old font size. So instead store clipboard font sizes as a ratio of font size to document default font size, and convert back at pasting time, to keep the zooming illusion consistent.
  2. Tab stops when zooming are already their own ticket, #480.
  3. Just as zooming changes all font sizes in the document, it should also change all paragraph margins by the same ratio, to keep the zooming illusion consistent.
  4. When zooming, also change the document's margins by the same ratio, or numbered lists end up falling off the left side of the visible area. In {{{wordprocessor.cpp}}}, you do {{{document()->setDocumentMargin( 20 );}}} and that number needs to scale with zooming.

Discussion

  • Nathan Carter

    Nathan Carter - 2013-06-06
    • status: new --> open
    • Milestone: Lurch 0.7/0.8 - ongoing point releases over 0.75 --> Lurch 0.7-0.8 - ongoing point releases over 0.75
     

Log in to post a comment.

MongoDB Logo MongoDB