mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-11 21:03:05 +08:00
+ fix: Statusbar line counting display
+ delay Titlebar/Statusbar check on AppVeyor smoke test
This commit is contained in:
parent
c22cc3847f
commit
fdf40be4ee
@ -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);
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
; =============================================================================
|
||||
|
||||
; =============================================================================
|
||||
|
||||
Loading…
Reference in New Issue
Block a user