diff options
-rw-r--r-- | src/ui/documentwidget.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index e87b1413..423dee6d 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -659,11 +659,12 @@ static void setSource_DocumentWidget_(iDocumentWidget *d, const iString *source) | |||
659 | setUrl_GmDocument(d->doc, d->mod.url); | 659 | setUrl_GmDocument(d->doc, d->mod.url); |
660 | setSource_GmDocument( | 660 | setSource_GmDocument( |
661 | d->doc, source, documentWidth_DocumentWidget_(d), forceBreakWidth_DocumentWidget_(d)); | 661 | d->doc, source, documentWidth_DocumentWidget_(d), forceBreakWidth_DocumentWidget_(d)); |
662 | d->foundMark = iNullRange; | 662 | d->foundMark = iNullRange; |
663 | d->selectMark = iNullRange; | 663 | d->selectMark = iNullRange; |
664 | d->hoverLink = NULL; | 664 | d->hoverLink = NULL; |
665 | d->contextLink = NULL; | 665 | d->contextLink = NULL; |
666 | d->lastVisibleRun = NULL; | 666 | d->firstVisibleRun = NULL; |
667 | d->lastVisibleRun = NULL; | ||
667 | setValue_Anim(&d->outlineOpacity, 0.0f, 0); | 668 | setValue_Anim(&d->outlineOpacity, 0.0f, 0); |
668 | updateWindowTitle_DocumentWidget_(d); | 669 | updateWindowTitle_DocumentWidget_(d); |
669 | updateVisible_DocumentWidget_(d); | 670 | updateVisible_DocumentWidget_(d); |