• Login
Community
  • Login

Recent Files History

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
3 Posts 2 Posters 17.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 1
    13177
    last edited by Jan 2, 2017, 2:39 PM

    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).
    C 2 Replies Last reply Jan 2, 2017, 4:26 PM Reply Quote 0
    • C
      Claudia Frank @13177
      last edited by Jan 2, 2017, 4:26 PM

      @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

      1 Reply Last reply Reply Quote 0
      • C
        Claudia Frank @13177
        last edited by Jan 10, 2017, 2:48 PM

        @13177

        has been already addressed and fixed for next release.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors