@ -2057,7 +2057,7 @@ BOOL Notepad_plus::notify(SCNotification *notification)
prevWasEdit = false ;
prevWasEdit = false ;
}
}
if ( ! _isFileOpening & & ( isFromPrimary | | isFromSecondary ) )
if ( ! _isFileOpening & & ( isFromPrimary | | isFromSecondary ) & & _pEditView - > hasMarginShowed ( ScintillaEditView : : _SC_MARGE_MODIFMARKER ) )
{
{
bool isProcessed = false ;
bool isProcessed = false ;
@ -2905,7 +2905,9 @@ void Notepad_plus::specialCmd(int id, int param)
else if ( id = = IDM_VIEW_SYMBOLMARGIN )
else if ( id = = IDM_VIEW_SYMBOLMARGIN )
margin = ScintillaEditView : : _SC_MARGE_SYBOLE ;
margin = ScintillaEditView : : _SC_MARGE_SYBOLE ;
else if ( id = = IDM_VIEW_DOCCHANGEMARGIN )
else if ( id = = IDM_VIEW_DOCCHANGEMARGIN )
{
margin = ScintillaEditView : : _SC_MARGE_MODIFMARKER ;
margin = ScintillaEditView : : _SC_MARGE_MODIFMARKER ;
}
else
else
margin = ScintillaEditView : : _SC_MARGE_FOLDER ;
margin = ScintillaEditView : : _SC_MARGE_FOLDER ;