ime dialog support other language where rename file (#563)

This commit is contained in:
蜻蜓特派员 2020-04-21 14:11:05 +08:00 committed by GitHub
parent c5fbca0870
commit 50d9cea26a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1023,7 +1023,7 @@ static int contextMenuMainEnterCallback(int sel, void *context) {
strcpy(name, file_entry->name); strcpy(name, file_entry->name);
removeEndSlash(name); removeEndSlash(name);
initImeDialog(language_container[RENAME], name, MAX_NAME_LENGTH, SCE_IME_TYPE_BASIC_LATIN, 0, 0); initImeDialog(language_container[RENAME], name, MAX_NAME_LENGTH, SCE_IME_TYPE_DEFAULT, 0, 0);
setDialogStep(DIALOG_STEP_RENAME); setDialogStep(DIALOG_STEP_RENAME);
} }
@ -1275,7 +1275,7 @@ static int contextMenuNewEnterCallback(int sel, void *context) {
count++; count++;
} }
initImeDialog(language_container[NEW_FILE], path + strlen(file_list.path), initImeDialog(language_container[NEW_FILE], path + strlen(file_list.path),
MAX_NAME_LENGTH, SCE_IME_TYPE_BASIC_LATIN, 0, 0); MAX_NAME_LENGTH, SCE_IME_TYPE_DEFAULT, 0, 0);
setDialogStep(DIALOG_STEP_NEW_FILE); setDialogStep(DIALOG_STEP_NEW_FILE);
break; break;
}; };
@ -1300,7 +1300,7 @@ static int contextMenuNewEnterCallback(int sel, void *context) {
} }
initImeDialog(language_container[NEW_FOLDER], path + strlen(file_list.path), initImeDialog(language_container[NEW_FOLDER], path + strlen(file_list.path),
MAX_NAME_LENGTH, SCE_IME_TYPE_BASIC_LATIN, 0, 0); MAX_NAME_LENGTH, SCE_IME_TYPE_DEFAULT, 0, 0);
setDialogStep(DIALOG_STEP_NEW_FOLDER); setDialogStep(DIALOG_STEP_NEW_FOLDER);
break; break;
}; };