We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fed65da commit b89e5daCopy full SHA for b89e5da
src/app/UserDialog.java
@@ -68,7 +68,7 @@ public void switchMode(int mode) {
68
private String selFile, selTargetFile, fileType = "";
69
private static final String[] ALLOWED_INPUT_FILES = {
70
".txt", ".md", ".tex", ".py", ".rb", ".yml", "html",
71
- ".java", ".cpp", ".hpp", ".csv", ".cs"
+ "eml", ".java", ".cpp", ".hpp", ".csv", ".cs"
72
};
73
private static final char[] ILLEGAL_CHARACTERS = {
74
'/', '\n', '\r', '\t', '\0', '\f', '`', '?', '*',
@@ -518,9 +518,8 @@ public void actionPerformed(ActionEvent e){
518
throw new WriteException("");
519
}
520
else if(fileType.length()<2) {
521
- setMessage(
522
- lang.getLocalizedText("suggestFileType")+
523
- String.join(", ", ALLOWED_INPUT_FILES), 1);
+ setMessage(lang.getLocalizedText("suggestFileType")+
+ " .txt, .html, .tex, .csv, ...", 1);
524
525
526
selTargetFile = setWritingTarget();
0 commit comments