From d244c1c3c9c4fff354dc6d5b40ddef1643f5bc15 Mon Sep 17 00:00:00 2001 From: SeungHoon Han Date: Tue, 24 May 2022 14:40:53 +0900 Subject: [PATCH] fixed bug for keyboard input selection(shift+arrow) --- codeview/src/main/java/com/amrdeveloper/codeview/CodeView.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/codeview/src/main/java/com/amrdeveloper/codeview/CodeView.java b/codeview/src/main/java/com/amrdeveloper/codeview/CodeView.java index 33790c7..c06cac2 100644 --- a/codeview/src/main/java/com/amrdeveloper/codeview/CodeView.java +++ b/codeview/src/main/java/com/amrdeveloper/codeview/CodeView.java @@ -711,8 +711,6 @@ public void run() { @Override public boolean onKey(View v, int keyCode, KeyEvent event) { if (!enableAutoIndentation) return false; - if (event.getAction() != KeyEvent.ACTION_DOWN) - return true; switch (keyCode) { case KeyEvent.KEYCODE_SPACE: currentIndentation++;