diff --git a/PowerEditor/src/Notepad_plus.rc b/PowerEditor/src/Notepad_plus.rc index 88518da2..6d96b333 100644 --- a/PowerEditor/src/Notepad_plus.rc +++ b/PowerEditor/src/Notepad_plus.rc @@ -656,18 +656,19 @@ BEGIN MENUITEM "Caml", IDM_LANG_CAML MENUITEM "Cmake", IDM_LANG_CMAKE MENUITEM "COBOL", IDM_LANG_COBOL - MENUITEM "CoffeeScript", IDM_LANG_COFFEESCRIPT + MENUITEM "CoffeeScript", IDM_LANG_COFFEESCRIPT MENUITEM "CSS", IDM_LANG_CSS MENUITEM "D", IDM_LANG_D MENUITEM "Diff", IDM_LANG_DIFF - MENUITEM "Flash actionscript", IDM_LANG_FLASH + MENUITEM "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 + MENUITEM "INI file", IDM_LANG_INI + MENUITEM "Inno Setup", IDM_LANG_INNO MENUITEM "Java", IDM_LANG_JAVA - MENUITEM "Javascript", IDM_LANG_JS + MENUITEM "JavaScript", IDM_LANG_JS MENUITEM "JSON", IDM_LANG_JSON MENUITEM "JSP", IDM_LANG_JSP MENUITEM "KIXtart", IDM_LANG_KIX @@ -675,7 +676,6 @@ BEGIN MENUITEM "Lua", IDM_LANG_LUA MENUITEM "Makefile", IDM_LANG_MAKEFILE MENUITEM "Matlab", IDM_LANG_MATLAB - MENUITEM "MS INI file", IDM_LANG_INI MENUITEM "MS-DOS Style", IDM_LANG_ASCII MENUITEM "Normal Text", IDM_LANG_TEXT MENUITEM "NSIS", IDM_LANG_NSIS @@ -683,7 +683,7 @@ BEGIN MENUITEM "Pascal", IDM_LANG_PASCAL MENUITEM "Perl", IDM_LANG_PERL MENUITEM "PHP", IDM_LANG_PHP - MENUITEM "Postscript", IDM_LANG_PS + MENUITEM "PostScript", IDM_LANG_PS MENUITEM "PowerShell", IDM_LANG_POWERSHELL MENUITEM "Properties", IDM_LANG_PROPS MENUITEM "Python", IDM_LANG_PYTHON @@ -696,7 +696,7 @@ BEGIN MENUITEM "SQL", IDM_LANG_SQL MENUITEM "TCL", IDM_LANG_TCL MENUITEM "TeX", IDM_LANG_TEX - MENUITEM "VB", IDM_LANG_VB + MENUITEM "Visual Basic", IDM_LANG_VB MENUITEM "VHDL", IDM_LANG_VHDL MENUITEM "Verilog", IDM_LANG_VERILOG MENUITEM "XML", IDM_LANG_XML @@ -710,6 +710,7 @@ BEGIN BEGIN POPUP "A" BEGIN + MENUITEM "ActionScript", IDM_LANG_FLASH MENUITEM "Ada", IDM_LANG_ADA MENUITEM "ASP", IDM_LANG_ASP MENUITEM "Assembly", IDM_LANG_ASM @@ -732,22 +733,22 @@ 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 "Fortran", IDM_LANG_FORTRAN MENUITEM "Gui4Cli", IDM_LANG_GUI4CLI POPUP "H" BEGIN MENUITEM "Haskell", IDM_LANG_HASKELL MENUITEM "HTML", IDM_LANG_HTML END - MENUITEM "INNO", IDM_LANG_INNO + POPUP "I" + BEGIN + MENUITEM "INI file", IDM_LANG_INI + MENUITEM "Inno Setup", IDM_LANG_INNO + END POPUP "J" BEGIN MENUITEM "Java", IDM_LANG_JAVA - MENUITEM "Javascript", IDM_LANG_JS + MENUITEM "JavaScript", IDM_LANG_JS MENUITEM "JSON", IDM_LANG_JSON MENUITEM "JSP", IDM_LANG_JSP END @@ -761,7 +762,6 @@ BEGIN BEGIN MENUITEM "Makefile", IDM_LANG_MAKEFILE MENUITEM "Matlab", IDM_LANG_MATLAB - MENUITEM "MS INI file", IDM_LANG_INI MENUITEM "MS-DOS Style", IDM_LANG_ASCII END POPUP "N" @@ -775,7 +775,7 @@ BEGIN MENUITEM "Pascal", IDM_LANG_PASCAL MENUITEM "Perl", IDM_LANG_PERL MENUITEM "PHP", IDM_LANG_PHP - MENUITEM "Postscript", IDM_LANG_PS + MENUITEM "PostScript", IDM_LANG_PS MENUITEM "PowerShell", IDM_LANG_POWERSHELL MENUITEM "Properties", IDM_LANG_PROPS MENUITEM "Python", IDM_LANG_PYTHON @@ -800,7 +800,7 @@ BEGIN END POPUP "V" BEGIN - MENUITEM "VB", IDM_LANG_VB + MENUITEM "Visual Basic", IDM_LANG_VB MENUITEM "VHDL", IDM_LANG_VHDL MENUITEM "Verilog", IDM_LANG_VERILOG END diff --git a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp index 57603d7f..89666f43 100644 --- a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp +++ b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp @@ -97,7 +97,7 @@ LanguageName ScintillaEditView::langNames[L_EXTERNAL+1] = { {TEXT("udf"), TEXT("udf"), TEXT("User Define File"), L_USER, SCLEX_USER}, {TEXT("asp"), TEXT("ASP"), TEXT("Active Server Pages script file"), L_ASP, SCLEX_HTML}, {TEXT("sql"), TEXT("SQL"), TEXT("Structured Query Language file"), L_SQL, SCLEX_SQL}, -{TEXT("vb"), TEXT("VB"), TEXT("Visual Basic file"), L_VB, SCLEX_VB}, +{TEXT("vb"), TEXT("Visual Basic"), TEXT("Visual Basic file"), L_VB, SCLEX_VB}, {TEXT("javascript"), TEXT("JavaScript"), TEXT("JavaScript file"), L_JS, SCLEX_CPP}, {TEXT("css"), TEXT("CSS"), TEXT("Cascade Style Sheets File"), L_CSS, SCLEX_CSS}, {TEXT("perl"), TEXT("Perl"), TEXT("Perl source file"), L_PERL, SCLEX_PERL}, @@ -106,7 +106,7 @@ LanguageName ScintillaEditView::langNames[L_EXTERNAL+1] = { {TEXT("tex"), TEXT("TeX"), TEXT("TeX file"), L_TEX, SCLEX_TEX}, {TEXT("fortran"), TEXT("Fortran"), TEXT("Fortran source file"), L_FORTRAN, SCLEX_FORTRAN}, {TEXT("bash"), TEXT("Shell"), TEXT("Unix script file"), L_BASH, SCLEX_BASH}, -{TEXT("actionscript"), TEXT("Flash Action"), TEXT("Flash Action script file"), L_FLASH, SCLEX_CPP},//WARNING, was "flash" +{TEXT("actionscript"), TEXT("ActionScript"), TEXT("Flash ActionScript file"), L_FLASH, SCLEX_CPP}, {TEXT("nsis"), TEXT("NSIS"), TEXT("Nullsoft Scriptable Install System script file"), L_NSIS, SCLEX_NSIS}, {TEXT("tcl"), TEXT("TCL"), TEXT("Tool Command Language file"), L_TCL, SCLEX_TCL}, {TEXT("lisp"), TEXT("Lisp"), TEXT("List Processing language file"), L_LISP, SCLEX_LISP}, @@ -114,7 +114,7 @@ LanguageName ScintillaEditView::langNames[L_EXTERNAL+1] = { {TEXT("asm"), TEXT("Assembly"), TEXT("Assembly language source file"), L_ASM, SCLEX_ASM}, {TEXT("diff"), TEXT("Diff"), TEXT("Diff file"), L_DIFF, SCLEX_DIFF}, {TEXT("props"), TEXT("Properties file"), TEXT("Properties file"), L_PROPS, SCLEX_PROPERTIES}, -{TEXT("postscript"), TEXT("Postscript"), TEXT("Postscript file"), L_PS, SCLEX_PS}, +{TEXT("postscript"), TEXT("PostScript"), TEXT("PostScript file"), L_PS, SCLEX_PS}, {TEXT("ruby"), TEXT("Ruby"), TEXT("Ruby file"), L_RUBY, SCLEX_RUBY}, {TEXT("smalltalk"), TEXT("Smalltalk"), TEXT("Smalltalk file"), L_SMALLTALK, SCLEX_SMALLTALK}, {TEXT("vhdl"), TEXT("VHDL"), TEXT("VHSIC Hardware Description Language file"), L_VHDL, SCLEX_VHDL}, @@ -125,7 +125,7 @@ LanguageName ScintillaEditView::langNames[L_EXTERNAL+1] = { {TEXT("verilog"), TEXT("Verilog"), TEXT("Verilog file"), L_VERILOG, SCLEX_VERILOG}, {TEXT("matlab"), TEXT("MATLAB"), TEXT("MATrix LABoratory"), L_MATLAB, SCLEX_MATLAB}, {TEXT("haskell"), TEXT("Haskell"), TEXT("Haskell"), L_HASKELL, SCLEX_HASKELL}, -{TEXT("inno"), TEXT("Inno"), TEXT("Inno Setup script"), L_INNO, SCLEX_INNOSETUP}, +{TEXT("inno"), TEXT("Inno Setup"), TEXT("Inno Setup script"), L_INNO, SCLEX_INNOSETUP}, {TEXT("searchResult"), TEXT("Internal Search"), TEXT("Internal Search"), L_SEARCHRESULT, SCLEX_SEARCHRESULT}, {TEXT("cmake"), TEXT("CMAKEFILE"), TEXT("CMAKEFILE"), L_CMAKE, SCLEX_CMAKE}, {TEXT("yaml"), TEXT("YAML"), TEXT("YAML Ain't Markup Language"), L_YAML, SCLEX_YAML}, diff --git a/PowerEditor/src/stylers.model.xml b/PowerEditor/src/stylers.model.xml index 7b2e236e..4245757f 100644 --- a/PowerEditor/src/stylers.model.xml +++ b/PowerEditor/src/stylers.model.xml @@ -387,7 +387,6 @@ -