From e680fca05b6f7f5f1b7f6779188be67943483f6e Mon Sep 17 00:00:00 2001 From: Don Ho Date: Thu, 1 May 2014 12:59:04 +0000 Subject: [PATCH] [NEW] Add shell script parser for the function list. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1231 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/Notepad_plus.cpp | 2 +- .../src/ScitillaComponent/UserDefineLangReference.h | 2 +- PowerEditor/src/WinControls/Preference/preference.rc | 2 +- PowerEditor/src/functionList.xml | 10 ++++++++++ 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index ad83df0b..38b7ffac 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -2110,7 +2110,7 @@ void Notepad_plus::setUniModeText() case uni16LE_NoBOM: uniModeTextString = TEXT("UCS-2 LE w/o BOM"); break; case uniCookie: - uniModeTextString = TEXT("ANSI as UTF-8"); break; + uniModeTextString = TEXT("UTF-8 w/o BOM"); break; default : uniModeTextString = TEXT("ANSI"); } diff --git a/PowerEditor/src/ScitillaComponent/UserDefineLangReference.h b/PowerEditor/src/ScitillaComponent/UserDefineLangReference.h index 1b37cbc7..cc924065 100644 --- a/PowerEditor/src/ScitillaComponent/UserDefineLangReference.h +++ b/PowerEditor/src/ScitillaComponent/UserDefineLangReference.h @@ -33,7 +33,7 @@ #include "scilexer.h" #endif //SCILEXER_H -const int langNameLenMax = 16; +const int langNameLenMax = 33; const int extsLenMax = 256; const int max_char = 1024*30; diff --git a/PowerEditor/src/WinControls/Preference/preference.rc b/PowerEditor/src/WinControls/Preference/preference.rc index 49a89e5a..acec63c8 100644 --- a/PowerEditor/src/WinControls/Preference/preference.rc +++ b/PowerEditor/src/WinControls/Preference/preference.rc @@ -157,7 +157,7 @@ STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN GROUPBOX "New Document",IDC_NEWDOCUMENT_GR_STATIC,50,8,354,161,BS_CENTER - GROUPBOX "Format",IDC_FORMAT_GB_STATIC,68,29,129,79,BS_CENTER + GROUPBOX "Format (Line ending)",IDC_FORMAT_GB_STATIC,68,29,129,79,BS_CENTER CONTROL "Windows",IDC_RADIO_F_WIN,"Button",BS_AUTORADIOBUTTON | WS_GROUP,75,48,50,10 CONTROL "Old Mac",IDC_RADIO_F_MAC,"Button",BS_AUTORADIOBUTTON,75,64,50,10 CONTROL "Unix/OSX",IDC_RADIO_F_UNIX,"Button",BS_AUTORADIOBUTTON,75,81,50,10 diff --git a/PowerEditor/src/functionList.xml b/PowerEditor/src/functionList.xml index 57e6de0c..0da92815 100644 --- a/PowerEditor/src/functionList.xml +++ b/PowerEditor/src/functionList.xml @@ -27,6 +27,7 @@ http://notepad-plus-plus.org/features/function-list.html +