Make command name more accurate

"Title Case" to "Proper Case"
This commit is contained in:
Don Ho 2016-09-10 12:30:43 +02:00
parent 0f44c299f2
commit f71fd6c63f
5 changed files with 12 additions and 12 deletions

View File

@ -1876,8 +1876,8 @@ void Notepad_plus::checkClipboard()
enableCommand(IDM_EDIT_DELETE, hasSelection, MENU | TOOLBAR); enableCommand(IDM_EDIT_DELETE, hasSelection, MENU | TOOLBAR);
enableCommand(IDM_EDIT_UPPERCASE, hasSelection, MENU); enableCommand(IDM_EDIT_UPPERCASE, hasSelection, MENU);
enableCommand(IDM_EDIT_LOWERCASE, hasSelection, MENU); enableCommand(IDM_EDIT_LOWERCASE, hasSelection, MENU);
enableCommand(IDM_EDIT_TITLECASE_FORCE, hasSelection, MENU); enableCommand(IDM_EDIT_PROPERCASE_FORCE, hasSelection, MENU);
enableCommand(IDM_EDIT_TITLECASE_BLEND, hasSelection, MENU); enableCommand(IDM_EDIT_PROPERCASE_BLEND, hasSelection, MENU);
enableCommand(IDM_EDIT_SENTENCECASE_FORCE, hasSelection, MENU); enableCommand(IDM_EDIT_SENTENCECASE_FORCE, hasSelection, MENU);
enableCommand(IDM_EDIT_SENTENCECASE_BLEND, hasSelection, MENU); enableCommand(IDM_EDIT_SENTENCECASE_BLEND, hasSelection, MENU);
enableCommand(IDM_EDIT_INVERTCASE, hasSelection, MENU); enableCommand(IDM_EDIT_INVERTCASE, hasSelection, MENU);

View File

@ -275,8 +275,8 @@ BEGIN
BEGIN BEGIN
MENUITEM "&UPPERCASE", IDM_EDIT_UPPERCASE MENUITEM "&UPPERCASE", IDM_EDIT_UPPERCASE
MENUITEM "&lowercase", IDM_EDIT_LOWERCASE MENUITEM "&lowercase", IDM_EDIT_LOWERCASE
MENUITEM "&Title Case", IDM_EDIT_TITLECASE_FORCE MENUITEM "&Proper Case", IDM_EDIT_PROPERCASE_FORCE
MENUITEM "Title Case (blend)", IDM_EDIT_TITLECASE_BLEND MENUITEM "Proper Case (blend)", IDM_EDIT_PROPERCASE_BLEND
MENUITEM "&Sentence case", IDM_EDIT_SENTENCECASE_FORCE MENUITEM "&Sentence case", IDM_EDIT_SENTENCECASE_FORCE
MENUITEM "Sentence case (blend)", IDM_EDIT_SENTENCECASE_BLEND MENUITEM "Sentence case (blend)", IDM_EDIT_SENTENCECASE_BLEND
MENUITEM "&iNVERT cASE", IDM_EDIT_INVERTCASE MENUITEM "&iNVERT cASE", IDM_EDIT_INVERTCASE

View File

@ -1364,11 +1364,11 @@ void Notepad_plus::command(int id)
_pEditView->convertSelectedTextToLowerCase(); _pEditView->convertSelectedTextToLowerCase();
break; break;
case IDM_EDIT_TITLECASE_FORCE: case IDM_EDIT_PROPERCASE_FORCE:
_pEditView->convertSelectedTextToNewerCase(TITLECASE_FORCE); _pEditView->convertSelectedTextToNewerCase(TITLECASE_FORCE);
break; break;
case IDM_EDIT_TITLECASE_BLEND: case IDM_EDIT_PROPERCASE_BLEND:
_pEditView->convertSelectedTextToNewerCase(TITLECASE_BLEND); _pEditView->convertSelectedTextToNewerCase(TITLECASE_BLEND);
break; break;
@ -3051,8 +3051,8 @@ void Notepad_plus::command(int id)
case IDM_EDIT_REMOVEEMPTYLINESWITHBLANK: case IDM_EDIT_REMOVEEMPTYLINESWITHBLANK:
case IDM_EDIT_UPPERCASE: case IDM_EDIT_UPPERCASE:
case IDM_EDIT_LOWERCASE: case IDM_EDIT_LOWERCASE:
case IDM_EDIT_TITLECASE_FORCE: case IDM_EDIT_PROPERCASE_FORCE:
case IDM_EDIT_TITLECASE_BLEND: case IDM_EDIT_PROPERCASE_BLEND:
case IDM_EDIT_SENTENCECASE_FORCE: case IDM_EDIT_SENTENCECASE_FORCE:
case IDM_EDIT_SENTENCECASE_BLEND: case IDM_EDIT_SENTENCECASE_BLEND:
case IDM_EDIT_INVERTCASE: case IDM_EDIT_INVERTCASE:

View File

@ -115,8 +115,8 @@ static const WinMenuKeyDefinition winKeyDefs[] =
// { VK_NULL, IDM_EDIT_RMV_TAB, false, false, false, nullptr }, // { VK_NULL, IDM_EDIT_RMV_TAB, false, false, false, nullptr },
{ VK_U, IDM_EDIT_UPPERCASE, true, false, true, nullptr }, { VK_U, IDM_EDIT_UPPERCASE, true, false, true, nullptr },
{ VK_U, IDM_EDIT_LOWERCASE, true, false, false, nullptr }, { VK_U, IDM_EDIT_LOWERCASE, true, false, false, nullptr },
{ VK_U, IDM_EDIT_TITLECASE_FORCE, false, true, false, nullptr }, { VK_U, IDM_EDIT_PROPERCASE_FORCE, false, true, false, nullptr },
{ VK_U, IDM_EDIT_TITLECASE_BLEND, false, true, true, nullptr }, { VK_U, IDM_EDIT_PROPERCASE_BLEND, false, true, true, nullptr },
{ VK_U, IDM_EDIT_SENTENCECASE_FORCE, true, true, false, nullptr }, { VK_U, IDM_EDIT_SENTENCECASE_FORCE, true, true, false, nullptr },
{ VK_U, IDM_EDIT_SENTENCECASE_BLEND, true, true, true, nullptr }, { VK_U, IDM_EDIT_SENTENCECASE_BLEND, true, true, true, nullptr },
{ VK_NULL, IDM_EDIT_INVERTCASE, false, false, false, nullptr }, { VK_NULL, IDM_EDIT_INVERTCASE, false, false, false, nullptr },

View File

@ -109,8 +109,8 @@
#define IDM_EDIT_LINE_DOWN (IDM_EDIT + 15) #define IDM_EDIT_LINE_DOWN (IDM_EDIT + 15)
#define IDM_EDIT_UPPERCASE (IDM_EDIT + 16) #define IDM_EDIT_UPPERCASE (IDM_EDIT + 16)
#define IDM_EDIT_LOWERCASE (IDM_EDIT + 17) #define IDM_EDIT_LOWERCASE (IDM_EDIT + 17)
#define IDM_EDIT_TITLECASE_FORCE (IDM_EDIT + 67) #define IDM_EDIT_PROPERCASE_FORCE (IDM_EDIT + 67)
#define IDM_EDIT_TITLECASE_BLEND (IDM_EDIT + 68) #define IDM_EDIT_PROPERCASE_BLEND (IDM_EDIT + 68)
#define IDM_EDIT_SENTENCECASE_FORCE (IDM_EDIT + 69) #define IDM_EDIT_SENTENCECASE_FORCE (IDM_EDIT + 69)
#define IDM_EDIT_SENTENCECASE_BLEND (IDM_EDIT + 70) #define IDM_EDIT_SENTENCECASE_BLEND (IDM_EDIT + 70)
#define IDM_EDIT_INVERTCASE (IDM_EDIT + 71) #define IDM_EDIT_INVERTCASE (IDM_EDIT + 71)