<commit_before>%%%-------------------------------------------------------------------
%%% @author <NAME> <<EMAIL>>
%%% @copyright (C) 2012, <NAME>
%%% @doc
%%%
%%% @end
%%% Created : 13 Jun 2012 by mikael <<EMAIL>>
%%%-------------------------------------------------------------------

%%====================================================================
%% guiState for eTodo.
%%====================================================================
-record(guiState, {dict, user, loggedIn = false, frame, updList,
                   searchDlg, searchCfg = [description, comment],
                   loginDlg, timeDlg, activeTodo = {undefined, -1},
                   clipBoard, startup, columns, rows = [], popUpMenu,
                   popUpCol, filter = [], usersDlg, addListDlg, manListsDlg,
                   settingsDlg, drillDown = [], drillFromList, mode,
                   print, conflictDlg, msgMenu, msgStatusSent = false,
                   aboutDlg, manOwnerDlg, helpFrame, userStatus = [],
                   unreadMsgs = 0, unreadSysMsgs = 0, delayedUpdate,
                   reply = [], replyAll = [], toolBar, menuBar,
                   manBookmDlg, popupBookmMenu, bookmCfg = [],
                   sortColsDlg, timerDlg, timerRef, pluginDlg, logWorkDlg}).

-define(wxTypes, #{
        "aboutMenu"          => wxMenuItem,
        "addedToLists"       => wxStaticText,
        "addListButton"      => wxBitmapButton,
        "addOwnerButton"     => wxBitmapButton,
        "addTaskInboxMenu"   => wxMenuItem,
        "addTaskMenu"        => wxMenuItem,
        "backupMenuItem"     => wxMenuItem,
        "bookmarkBtn"        => wxBitmapButton,
        "checkBoxUseFilter"  => wxCheckBox,
        "chooseListLang"     => wxStaticText,
        "commentArea"        => wxTextCtrl,
        "commentArea1"       => wxTextCtrl,
        "commentArea2"       => wxTextCtrl,
        "commentButton"      => wxBitmapButton,
        "completeLang"       => wxStaticText,
        "configureSearch"    => wxBitmapButton,
        "copyMenu"           => wxMenuItem,
        "cutMenu"            => wxMenuItem,
        "deleteMenu"         => wxMenuItem,
        "descriptionArea"    => wxTextCtrl,
        "descriptionArea1"   => wxTextCtrl,
        "descriptionArea2"   => wxTextCtrl,
        "dueDateLang"        => wxStaticText,
        "dueDatePicker"      => wxDatePickerCtrl,
        "dueDatePicker1"     => wxDatePickerCtrl,
        "dueDatePicker2"     => wxDatePickerCtrl,
        "dueDateUsed"        => wxCheckBox,
        "editMenu"           => wxMenu,
        "endDate"            => wxDatePickerCtrl,<commit_msg>Make sure makeWebSettings work when no config exists.<commit_after>%%%-------------------------------------------------------------------
%%% @author <NAME> <<EMAIL>>
%%% @copyright (C) 2012, <NAME>
%%% @doc
%%%
%%% @end
%%% Created : 13 Jun 2012 by mikael <<EMAIL>>
%%%-------------------------------------------------------------------

%%====================================================================
%% guiState for eTodo.
%%====================================================================
-record(guiState, {dict, user, loggedIn = false, frame, updList,
                   searchDlg, searchCfg = [description, comment],
                   loginDlg, timeDlg, activeTodo = {undefined, -1},
                   clipBoard, startup, columns, rows = [], popUpMenu,
                   popUpCol, filter = [], usersDlg, addListDlg, manListsDlg,
                   settingsDlg, drillDown = [], drillFromList, mode,
                   print, conflictDlg, msgMenu, msgStatusSent = false,
                   aboutDlg, manOwnerDlg, helpFrame, userStatus = [],
                   unreadMsgs = 0, unreadSysMsgs = 0, delayedUpdate,
                   reply = [], replyAll = [], toolBar, menuBar,
                   manBookmDlg, popupBookmMenu, bookmCfg = [],
                   sortColsDlg, timerDlg, timerRef, pluginDlg, logWorkDlg}).

-define(wxTypes, #{
        "aboutMenu"          => wxMenuItem,
        "addedToLists"       => wxStaticText,
        "addListButton"      => wxBitmapButton,
        "addOwnerButton"     => wxBitmapButton,
        "addTaskInboxMenu"   => wxMenuItem,
        "addTaskMenu"        => wxMenuItem,
        "allMsgPanel"        => wxPanel,
        "backupMenuItem"     => wxMenuItem,
        "bookmarkBtn"        => wxBitmapButton,
        "checkBoxUseFilter"  => wxCheckBox,
        "chooseListLang"     => wxStaticText,
        "commentArea"        => wxTextCtrl,
        "commentArea1"       => wxTextCtrl,
        "commentArea2"       => wxTextCtrl,
        "commentButton"      => wxBitmapButton,
        "completeLang"       => wxStaticText,
        "configureSearch"    => wxBitmapButton,
        "copyMenu"           => wxMenuItem,
        "cutMenu"            => wxMenuItem,
        "deleteMenu"         => wxMenuItem,
        "descriptionArea"    => wxTextCtrl,
        "descriptionArea1"   => wxTextCtrl,
        "descriptionArea2"   => wxTextCtrl,
        "dueDateLang"        => wxStaticText,
        "dueDatePicker"      => wxDatePickerCtrl,
        "dueDatePicker1"     => wxDatePickerCtrl,
        "dueDatePicker2"     => wxDatePickerCtrl,
        "dueDateUsed"        => wxCheckBox,
        "editMenu"           => wxMenu,
        "endDate"            => wxDatePickerCtrl,
{'fraction_non_alphanumeric': 0.21064425770308123, 'fraction_numerical': 0.007096171802054155, 'mean_word_length': 1.799790904338735, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 74, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1414107', 'n_tokens_mistral': 1436, 'n_tokens_neox': 1389, 'n_words': 278}