@ -185,11 +185,11 @@ MenuPosition menuPos[] = {
{ 1 , 17 , - 1 , " edit-blankOperations " } ,
{ 1 , 18 , - 1 , " edit-pasteSpecial " } ,
{ 2 , 1 6 , - 1 , " search-markAll " } ,
{ 2 , 1 7 , - 1 , " search-unmarkAll " } ,
{ 2 , 1 8 , - 1 , " search-jumpUp " } ,
{ 2 , 19 , - 1 , " search-jumpDown " } ,
{ 2 , 2 1 , - 1 , " search-bookmark " } ,
{ 2 , 1 7 , - 1 , " search-markAll " } ,
{ 2 , 1 8 , - 1 , " search-unmarkAll " } ,
{ 2 , 1 9 , - 1 , " search-jumpUp " } ,
{ 2 , 20 , - 1 , " search-jumpDown " } ,
{ 2 , 2 2 , - 1 , " search-bookmark " } ,
{ 3 , 4 , - 1 , " view-showSymbol " } ,
{ 3 , 5 , - 1 , " view-zoom " } ,
@ -698,39 +698,7 @@ void NativeLangSpeaker::changeUserDefineLang(UserDefineDialog *userDefineDlg)
hDlgArrary [ 1 ] = userDefineDlg - > getKeywordsHandle ( ) ;
hDlgArrary [ 2 ] = userDefineDlg - > getCommentHandle ( ) ;
hDlgArrary [ 3 ] = userDefineDlg - > getSymbolHandle ( ) ;
/*
const int nbGrpFolder = 3 ;
int folderID [ nbGrpFolder ] [ nbControl ] = {
/ / { IDC_DEFAULT_COLORSTYLEGROUP_STATIC , IDC_DEFAULT_FG_STATIC , IDC_DEFAULT_BG_STATIC , IDC_DEFAULT_FONTSTYLEGROUP_STATIC , IDC_DEFAULT_FONTNAME_STATIC , IDC_DEFAULT_FONTSIZE_STATIC , IDC_DEFAULT_BOLD_CHECK , IDC_DEFAULT_ITALIC_CHECK , IDC_DEFAULT_UNDERLINE_CHECK } , \
/ / { IDC_FOLDEROPEN_COLORSTYLEGROUP_STATIC , IDC_FOLDEROPEN_FG_STATIC , IDC_FOLDEROPEN_BG_STATIC , IDC_FOLDEROPEN_FONTSTYLEGROUP_STATIC , IDC_FOLDEROPEN_FONTNAME_STATIC , IDC_FOLDEROPEN_FONTSIZE_STATIC , IDC_FOLDEROPEN_BOLD_CHECK , IDC_FOLDEROPEN_ITALIC_CHECK , IDC_FOLDEROPEN_UNDERLINE_CHECK } , \
//{IDC_FOLDERCLOSE_COLORSTYLEGROUP_STATIC, IDC_FOLDERCLOSE_FG_STATIC, IDC_FOLDERCLOSE_BG_STATIC, IDC_FOLDERCLOSE_FONTSTYLEGROUP_STATIC, IDC_FOLDERCLOSE_FONTNAME_STATIC, IDC_FOLDERCLOSE_FONTSIZE_STATIC, IDC_FOLDERCLOSE_BOLD_CHECK, IDC_FOLDERCLOSE_ITALIC_CHECK, IDC_FOLDERCLOSE_UNDERLINE_CHECK}
} ;
const int nbGrpKeywords = 4 ;
int keywordsID [ nbGrpKeywords ] [ nbControl ] = { / / \
/ / { IDC_KEYWORD1_COLORSTYLEGROUP_STATIC , IDC_KEYWORD1_FG_STATIC , IDC_KEYWORD1_BG_STATIC , IDC_KEYWORD1_FONTSTYLEGROUP_STATIC , IDC_KEYWORD1_FONTNAME_STATIC , IDC_KEYWORD1_FONTSIZE_STATIC , IDC_KEYWORD1_BOLD_CHECK , IDC_KEYWORD1_ITALIC_CHECK , IDC_KEYWORD1_UNDERLINE_CHECK } , \
/ / { IDC_KEYWORD2_COLORSTYLEGROUP_STATIC , IDC_KEYWORD2_FG_STATIC , IDC_KEYWORD2_BG_STATIC , IDC_KEYWORD2_FONTSTYLEGROUP_STATIC , IDC_KEYWORD2_FONTNAME_STATIC , IDC_KEYWORD2_FONTSIZE_STATIC , IDC_KEYWORD2_BOLD_CHECK , IDC_KEYWORD2_ITALIC_CHECK , IDC_KEYWORD2_UNDERLINE_CHECK } , \
/ / { IDC_KEYWORD3_COLORSTYLEGROUP_STATIC , IDC_KEYWORD3_FG_STATIC , IDC_KEYWORD3_BG_STATIC , IDC_KEYWORD3_FONTSTYLEGROUP_STATIC , IDC_KEYWORD3_FONTNAME_STATIC , IDC_KEYWORD3_FONTSIZE_STATIC , IDC_KEYWORD3_BOLD_CHECK , IDC_KEYWORD3_ITALIC_CHECK , IDC_KEYWORD3_UNDERLINE_CHECK } , \
//{IDC_KEYWORD4_COLORSTYLEGROUP_STATIC, IDC_KEYWORD4_FG_STATIC, IDC_KEYWORD4_BG_STATIC, IDC_KEYWORD4_FONTSTYLEGROUP_STATIC, IDC_KEYWORD4_FONTNAME_STATIC, IDC_KEYWORD4_FONTSIZE_STATIC, IDC_KEYWORD4_BOLD_CHECK, IDC_KEYWORD4_ITALIC_CHECK, IDC_KEYWORD4_UNDERLINE_CHECK}
} ;
const int nbGrpComment = 3 ;
int commentID [ nbGrpComment ] [ nbControl ] = { / / \
/ / { IDC_COMMENT_COLORSTYLEGROUP_STATIC , IDC_COMMENT_FG_STATIC , IDC_COMMENT_BG_STATIC , IDC_COMMENT_FONTSTYLEGROUP_STATIC , IDC_COMMENT_FONTNAME_STATIC , IDC_COMMENT_FONTSIZE_STATIC , IDC_COMMENT_BOLD_CHECK , IDC_COMMENT_ITALIC_CHECK , IDC_COMMENT_UNDERLINE_CHECK } , \
/ / { IDC_NUMBER_COLORSTYLEGROUP_STATIC , IDC_NUMBER_FG_STATIC , IDC_NUMBER_BG_STATIC , IDC_NUMBER_FONTSTYLEGROUP_STATIC , IDC_NUMBER_FONTNAME_STATIC , IDC_NUMBER_FONTSIZE_STATIC , IDC_NUMBER_BOLD_CHECK , IDC_NUMBER_ITALIC_CHECK , IDC_NUMBER_UNDERLINE_CHECK } , \
//{IDC_COMMENTLINE_COLORSTYLEGROUP_STATIC, IDC_COMMENTLINE_FG_STATIC, IDC_COMMENTLINE_BG_STATIC, IDC_COMMENTLINE_FONTSTYLEGROUP_STATIC, IDC_COMMENTLINE_FONTNAME_STATIC, IDC_COMMENTLINE_FONTSIZE_STATIC, IDC_COMMENTLINE_BOLD_CHECK, IDC_COMMENTLINE_ITALIC_CHECK, IDC_COMMENTLINE_UNDERLINE_CHECK}
} ;
const int nbGrpOperator = 4 ;
int operatorID [ nbGrpOperator ] [ nbControl ] = { / / \
/ / { IDC_OPERATOR_COLORSTYLEGROUP_STATIC , IDC_OPERATOR_FG_STATIC , IDC_OPERATOR_BG_STATIC , IDC_OPERATOR_FONTSTYLEGROUP_STATIC , IDC_OPERATOR_FONTNAME_STATIC , IDC_OPERATOR_FONTSIZE_STATIC , IDC_OPERATOR_BOLD_CHECK , IDC_OPERATOR_ITALIC_CHECK , IDC_OPERATOR_UNDERLINE_CHECK } , \
/ / { IDC_DELIMITER1_COLORSTYLEGROUP_STATIC , IDC_DELIMITER1_FG_STATIC , IDC_DELIMITER1_BG_STATIC , IDC_DELIMITER1_FONTSTYLEGROUP_STATIC , IDC_DELIMITER1_FONTNAME_STATIC , IDC_DELIMITER1_FONTSIZE_STATIC , IDC_DELIMITER1_BOLD_CHECK , IDC_DELIMITER1_ITALIC_CHECK , IDC_DELIMITER1_UNDERLINE_CHECK } , \
/ / { IDC_DELIMITER2_COLORSTYLEGROUP_STATIC , IDC_DELIMITER2_FG_STATIC , IDC_DELIMITER2_BG_STATIC , IDC_DELIMITER2_FONTSTYLEGROUP_STATIC , IDC_DELIMITER2_FONTNAME_STATIC , IDC_DELIMITER2_FONTSIZE_STATIC , IDC_DELIMITER2_BOLD_CHECK , IDC_DELIMITER2_ITALIC_CHECK , IDC_DELIMITER2_UNDERLINE_CHECK } , \
//{IDC_DELIMITER3_COLORSTYLEGROUP_STATIC, IDC_DELIMITER3_FG_STATIC, IDC_DELIMITER3_BG_STATIC, IDC_DELIMITER3_FONTSTYLEGROUP_STATIC, IDC_DELIMITER3_FONTNAME_STATIC, IDC_DELIMITER3_FONTSIZE_STATIC, IDC_DELIMITER3_BOLD_CHECK, IDC_DELIMITER3_ITALIC_CHECK, IDC_DELIMITER3_UNDERLINE_CHECK}
} ;
int nbGpArray [ nbDlg ] = { nbGrpFolder , nbGrpKeywords , nbGrpComment , nbGrpOperator } ;
*/
const char nodeNameArray [ nbDlg ] [ 16 ] = { " Folder " , " Keywords " , " Comment " , " Operator " } ;
for ( int i = 0 ; i < nbDlg ; + + i )