allow dots in filename so ppl can make .pde/.java decision.. but sanitize

later.. also some tweaks for multi-file
This commit is contained in:
benfry
2004-06-23 21:00:01 +00:00
parent 1df2029be0
commit e999598870
3 changed files with 38 additions and 30 deletions

View File

@@ -333,7 +333,7 @@ public class PdeEditorStatus extends JPanel implements ActionListener {
//System.out.println("consuming event");
event.consume();
} else if ((c == '_') ||
} else if ((c == '_') || (c == '.') || // allow .pde and .java
((c >= 'A') && (c <= 'Z')) ||
((c >= 'a') && (c <= 'z'))) {
// everything fine, catches upper and lower