Skip to content
  • Eike Ziller's avatar
    Move some BaseTextDocument setup from BaseTextEditorWidget · f161f1a2
    Eike Ziller authored
    
    
    There is a 1-to-1 relationship between BaseTextDocument and QTextDocument,
    so it doesn't make sense to do the setup between them in the editor widget.
    
    Move creation of BaseTextDocumentLayout and setting up of 'changed' signal
    to BaseTextDocument. This also avoids sending multiple
    'changed' signals for a single QTextDocument::modificationChanged signal
    in case of splits.
    
    Change-Id: Iaab4fea594c5b50f502fd41c88948fac132de9f1
    Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
    f161f1a2