+ fix: Statusbar line counting display

+ delay Titlebar/Statusbar check on AppVeyor smoke test
This commit is contained in:
Rainer Kottenhoff 2018-05-05 20:26:35 +02:00
parent c22cc3847f
commit fdf40be4ee
2 changed files with 7 additions and 6 deletions

View File

@ -7749,7 +7749,7 @@ static void __fastcall _UpdateStatusbarDelayed(bool bForceRedraw)
FormatNumberStr(tchLines);
}
if ((s_iLnFromPos != iLnFromPos) || (s_iLnFromPos != iLnFromPos))
if ((s_iLnFromPos != iLnFromPos) || (s_iLnCnt != iLnCnt))
{
FormatString(tchStatusBar[STATUS_DOCLINE], txtWidth, IDS_STATUS_DOCLINE, g_mxStatusBarPrefix[STATUS_DOCLINE], tchLn, tchLines);
s_iLnFromPos = iLnFromPos;
@ -8455,7 +8455,7 @@ bool FileLoad(bool bDontSave, bool bNew, bool bReload, bool bSkipUnicodeDetect,
_SetDocumentModified(false);
UpdateToolbar();
UpdateStatusbar(false);
UpdateStatusbar(true);
UpdateLineNumberWidth();
// Terminate file watching
@ -8620,7 +8620,7 @@ bool FileLoad(bool bDontSave, bool bNew, bool bReload, bool bSkipUnicodeDetect,
//bReadOnly = false;
_SetDocumentModified(false);
UpdateToolbar();
UpdateStatusbar(false);
UpdateStatusbar(true);
UpdateLineNumberWidth();
UpdateVisibleUrlHotspot(0);
@ -8636,8 +8636,6 @@ bool FileLoad(bool bDontSave, bool bNew, bool bReload, bool bSkipUnicodeDetect,
else if (!(bFileTooBig || bUnknownExt))
MsgBox(MBWARN,IDS_ERR_LOADFILE,szFileName);
UpdateStatusbar(true);
return(fSuccess);
}

View File

@ -33,10 +33,13 @@ if (v_ErrLevel != 0)
; -----------------------------------------------------------------------------
GoSub CHECK_NP3_STARTS
Sleep, 500
GoSub CHECK_WIN_TITLE
Sleep, 500
GoSub CHECK_ABOUT_BOX
Goto LABEL_END
Goto LABEL_END
; =============================================================================
; =============================================================================