Keywords, such as PROCEDURE doesn't get converted to uppercase automatically any more.
1.1 --- a/PLSQL/Formatter/src/org/netbeans/modules/plsql/format/PlsqlFormatter.java Thu Jun 14 14:44:28 2012 +0530
1.2 +++ b/PLSQL/Formatter/src/org/netbeans/modules/plsql/format/PlsqlFormatter.java Mon Jun 18 17:05:11 2012 +0530
1.3 @@ -212,7 +212,7 @@
1.4 */
1.5 @Override
1.6 public int[] getReformatBlock(JTextComponent target, String arg1) {
1.7 - if (!isAutoUppercase || arg1.length() != 1) //We dont need to consider spaces
1.8 + if (arg1.length() != 1) //We dont need to consider spaces
1.9 {
1.10 return null;
1.11 }
1.12 @@ -255,8 +255,8 @@
1.13
1.14 //Get indent only value from the preferences
1.15 Preferences prefs = MimeLookup.getLookup(PlsqlEditorKit.MIME_TYPE).lookup(Preferences.class);
1.16 - isAutoIndent = prefs.getBoolean("autoIndent", false);
1.17 - isAutoUppercase = prefs.getBoolean("autoUppercase", false);
1.18 + isAutoIndent = prefs.getBoolean("autoIndent", true);
1.19 + isAutoUppercase = prefs.getBoolean("autoUppercase", true);
1.20
1.21 try {
1.22 PlsqlFormatSupport plsqlFormatSup = (PlsqlFormatSupport) createFormatSupport(fw);