// Path: app/src/main/java/jp/sblo/pandora/jota/JotaTextEditor.java
// public class JotaTextEditor extends Application {
//     public static boolean sFroyo = ( Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO );
//     public static boolean sHoneycomb = ( Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB );
//     public static boolean sIceCreamSandwich = ( Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH );
//     public static boolean sNorLater = Build.VERSION.SDK_INT > Build.VERSION_CODES.M;
// 
//     @Override
//     public void onCreate() {
//         super.onCreate();
// 
//         SettingsActivity.isVersionUp(this);
//         IS01FullScreen.createInstance();
//     }
// 
// }


import jp.sblo.pandora.jota.JotaTextEditor;
import android.os.Build;
import android.text.Editable;
import android.text.Selection;
import android.text.TextUtils;
import android.text.method.MetaKeyKeyListener;
import android.text.method.TextKeyListener;
import android.view.KeyEvent;
import android.view.View;

package jp.sblo.pandora.jota.text;


public class JotaTextKeyListener extends TextKeyListener {
    private static TextKeyListener[] sInstance =
        new TextKeyListener[Capitalize.values().length * 2];

    private static boolean sAutoIndent=false;
    private static int KEYCODE_FORWARD_DEL  = 112;      // honeycomb's keycode

    public JotaTextKeyListener(Capitalize cap, boolean autotext) {
        super(cap, autotext);
    }

    public static TextKeyListener getInstance(boolean autotext, Capitalize cap) {
        int off = cap.ordinal() * 2 + (autotext ? 1 : 0);

        if (sInstance[off] == null) {
            sInstance[off] = new JotaTextKeyListener(cap, autotext);
        }


// Path: app/src/main/java/jp/sblo/pandora/jota/JotaTextEditor.java
// public class JotaTextEditor extends Application {
//     public static boolean sFroyo = ( Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO );
//     public static boolean sHoneycomb = ( Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB );
//     public static boolean sIceCreamSandwich = ( Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH );
//     public static boolean sNorLater = Build.VERSION.SDK_INT > Build.VERSION_CODES.M;
// 
//     @Override
//     public void onCreate() {
//         super.onCreate();
// 
//         SettingsActivity.isVersionUp(this);
//         IS01FullScreen.createInstance();
//     }
// 
// }


// Path: app/src/main/java/jp/sblo/pandora/jota/text/JotaTextKeyListener.java
import jp.sblo.pandora.jota.JotaTextEditor;
import android.os.Build;
import android.text.Editable;
import android.text.Selection;
import android.text.TextUtils;
import android.text.method.MetaKeyKeyListener;
import android.text.method.TextKeyListener;
import android.view.KeyEvent;
import android.view.View;

package jp.sblo.pandora.jota.text;


public class JotaTextKeyListener extends TextKeyListener {
    private static TextKeyListener[] sInstance =
        new TextKeyListener[Capitalize.values().length * 2];

    private static boolean sAutoIndent=false;
    private static int KEYCODE_FORWARD_DEL  = 112;      // honeycomb's keycode

    public JotaTextKeyListener(Capitalize cap, boolean autotext) {
        super(cap, autotext);
    }

    public static TextKeyListener getInstance(boolean autotext, Capitalize cap) {
        int off = cap.ordinal() * 2 + (autotext ? 1 : 0);

        if (sInstance[off] == null) {
            sInstance[off] = new JotaTextKeyListener(cap, autotext);
        }


        return sInstance[off];
