Recent Files History



  • The setting ‘Don’t check at launch time’ gets resets to default (checked).

    Steps to reproduce bug:

    1. Go to settings >> preferences >> Recent Files History
    2. Uncheck ‘Don’t check at launch time’
    3. Close preferences dialog
    4. Close Notepad++
    5. Open Notepad++ and the setting is back to default (checked).


  • @13177

    yes, seems to be a bug.
    From my limited c++ knowledge it looks like
    code validates against False only

    Parameters.cpp lines 4108-4120
    
    	else if (!lstrcmp(nm, TEXT("CheckHistoryFiles")))
    	{
    		TiXmlNode *n = childNode->FirstChild();
    		if (n)
    		{
    			const TCHAR* val = n->Value();
    			if (val)
    			{
    				if (!lstrcmp(val, TEXT("no")))
    					_nppGUI._checkHistoryFiles = false;
    			}
    		}
    	}
    

    but this is also the default value.

    Parameters.h line 737
    bool _checkHistoryFiles = false;
    

    Maybe someone with deeper c/c++ knowledge can confirm or correct me.

    Cheers
    Claudia



  • @13177

    has been already addressed and fixed for next release.

    Cheers
    Claudia


Log in to reply