[NEW_FEATURE] Add COBOL, D, Gui4Cli, PowerShell and R language support.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@553 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2009-10-19 21:36:45 +00:00
parent 4b1812816f
commit 12132dffb4
2 changed files with 22 additions and 3 deletions

View File

@ -4759,6 +4759,11 @@ void Notepad_plus::command(int id)
case IDM_LANG_INNO :
case IDM_LANG_CMAKE :
case IDM_LANG_YAML :
case IDM_LANG_COBOL :
case IDM_LANG_D :
case IDM_LANG_GUI4CLI :
case IDM_LANG_POWERSHELL :
case IDM_LANG_R :
case IDM_LANG_USER :
{
setLanguage(menuID2LangType(id));

View File

@ -401,10 +401,13 @@ BEGIN
MENUITEM "C++", IDM_LANG_CPP
MENUITEM "Caml", IDM_LANG_CAML
MENUITEM "Cmake", IDM_LANG_CMAKE
MENUITEM "COBOL", IDM_LANG_COBOL
MENUITEM "CSS", IDM_LANG_CSS
MENUITEM "D", IDM_LANG_D
MENUITEM "Diff", IDM_LANG_DIFF
MENUITEM "Flash actionscript", IDM_LANG_FLASH
MENUITEM "Fortran", IDM_LANG_FORTRAN
MENUITEM "Gui4Cli", IDM_LANG_GUI4CLI
MENUITEM "Haskell", IDM_LANG_HASKELL
MENUITEM "HTML", IDM_LANG_HTML
MENUITEM "INNO", IDM_LANG_INNO
@ -424,8 +427,10 @@ BEGIN
MENUITEM "Perl", IDM_LANG_PERL
MENUITEM "PHP", IDM_LANG_PHP
MENUITEM "Postscript", IDM_LANG_PS
MENUITEM "PowerShell", IDM_LANG_POWERSHELL
MENUITEM "Properties", IDM_LANG_PROPS
MENUITEM "Python", IDM_LANG_PYTHON
MENUITEM "R", IDM_LANG_R
MENUITEM "rc resource file", IDM_LANG_RC
MENUITEM "Ruby", IDM_LANG_RUBY
MENUITEM "Shell", IDM_LANG_SH
@ -442,6 +447,7 @@ BEGIN
MENUITEM SEPARATOR
MENUITEM "User-Defined", IDM_LANG_USER
END
POPUP "&Language"
BEGIN
POPUP "A"
@ -459,14 +465,20 @@ BEGIN
MENUITEM "C++", IDM_LANG_CPP
MENUITEM "Caml", IDM_LANG_CAML
MENUITEM "Cmake", IDM_LANG_CMAKE
MENUITEM "COBOL", IDM_LANG_COBOL
MENUITEM "CSS", IDM_LANG_CSS
END
MENUITEM "Diff", IDM_LANG_DIFF
POPUP "D"
BEGIN
MENUITEM "D", IDM_LANG_D
MENUITEM "Diff", IDM_LANG_DIFF
END
POPUP "F"
BEGIN
MENUITEM "Flash actionscript", IDM_LANG_FLASH
MENUITEM "Fortran", IDM_LANG_FORTRAN
END
MENUITEM "Gui4Cli", IDM_LANG_GUI4CLI
POPUP "H"
BEGIN
MENUITEM "Haskell", IDM_LANG_HASKELL
@ -497,18 +509,20 @@ BEGIN
MENUITEM "NSIS", IDM_LANG_NSIS
END
MENUITEM "Objective-C", IDM_LANG_OBJC
POPUP "P"
POPUP "P"
BEGIN
MENUITEM "Pascal", IDM_LANG_PASCAL
MENUITEM "Perl", IDM_LANG_PERL
MENUITEM "PHP", IDM_LANG_PHP
MENUITEM "Postscript", IDM_LANG_PS
MENUITEM "PowerShell", IDM_LANG_POWERSHELL
MENUITEM "Properties", IDM_LANG_PROPS
MENUITEM "Python", IDM_LANG_PYTHON
END
POPUP "R"
BEGIN
MENUITEM "rc resource file", IDM_LANG_RC
MENUITEM "R", IDM_LANG_R
MENUITEM "Resource file", IDM_LANG_RC
MENUITEM "Ruby", IDM_LANG_RUBY
END
POPUP "S"