 }
 
 
-public enum ACEKeyboardHandler: Int {
-    case ace, emacs, vim,
-    count // keep track of the enum size automatically
+public enum ACEKeyboardHandler: Int, CaseIterable {
+    case ace, emacs, vim
     
     public static func commands() -> [String] {
         return [

}

/// The ACE Theme
public enum ACETheme: Int {
    case
    ambiance = 0,
    chrome,

    typescript,
    xml,
    xQuery,
    yaml
    
    /**
    The ACE Mode names
