@@ -78,14 +78,14 @@ void commandMenuInit()
7878 formatJSONsk->_isShift = TRUE ;
7979 formatJSONsk->_key = ' M' ;
8080
81- ShortcutKey* stringifyJSONsk = new ShortcutKey ();
82- stringifyJSONsk ->_isAlt = TRUE ;
83- stringifyJSONsk ->_isCtrl = TRUE ;
84- stringifyJSONsk ->_isShift = TRUE ;
85- stringifyJSONsk ->_key = ' S ' ;
81+ ShortcutKey* compressJSONsk = new ShortcutKey ();
82+ compressJSONsk ->_isAlt = TRUE ;
83+ compressJSONsk ->_isCtrl = TRUE ;
84+ compressJSONsk ->_isShift = TRUE ;
85+ compressJSONsk ->_key = ' C ' ;
8686 setCommand (0 , TEXT (" Show &JSON Viewer" ), openJSONDialog, openJSONsk, false );
8787 setCommand (1 , TEXT (" &Format JSON" ), formatSelectedJSON, formatJSONsk, false );
88- setCommand (2 , TEXT (" &Stringify JSON" ), stringifySelectedJSON, stringifyJSONsk , false );
88+ setCommand (2 , TEXT (" &Compress JSON" ), compressSelectedJSON, compressJSONsk , false );
8989 setCommand (3 , TEXT (" &About" ), openAboutDlg, NULL , false );
9090}
9191
@@ -280,7 +280,7 @@ void formatSelectedJSON()
280280 delete[] curJSON;
281281}
282282
283- void stringifySelectedJSON ()
283+ void compressSelectedJSON ()
284284{
285285 // Get the current scintilla
286286 int which = -1 ;
0 commit comments