From 80f2103f8dcda281a663c2e629c6848497f3d09d Mon Sep 17 00:00:00 2001 From: sspanak Date: Tue, 29 Aug 2023 11:43:15 +0300 Subject: [PATCH] updated documentation --- docs/user-manual.md | 5 +++-- src/io/github/sspanak/tt9/ime/TraditionalT9.java | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/user-manual.md b/docs/user-manual.md index 8057bab4..a5767d73 100644 --- a/docs/user-manual.md +++ b/docs/user-manual.md @@ -65,10 +65,11 @@ _Predictive mode only._ - When suggestions are displayed, types the currently selected suggestion. - Otherwise, performs the default action for the current application (e.g. send a message, go to a URL, or just type a new line). -_**NB:** Every application decides on its own what to do when OK is pressed and TT9 has no control over this._ +_**Note:** Every application decides on its own what to do when OK is pressed and TT9 has no control over this._ -_**NB2:** In messaging applications, you need to enable their "Send with ENTER" or similarly named setting, in order to send messages with OK. If the application has no such setting, it usually means it disallows sending messages this way._ +_**Note2:** In messaging applications, you need to enable their "Send with ENTER" or similarly named setting, in order to send messages with OK. If the application has no such setting, it usually means it disallows sending messages this way._ +_**Note3:** Facebook Messenger supports sending messages with the keypad only on some devices. If it does not work on yours, go to Settings -> Initial Setup and enable the "Send messages with OK in Messenger" option. This ensures sending is possible on any phone._ #### 0-key: - **In 123 mode:** diff --git a/src/io/github/sspanak/tt9/ime/TraditionalT9.java b/src/io/github/sspanak/tt9/ime/TraditionalT9.java index cdbc259a..ec0147ee 100644 --- a/src/io/github/sspanak/tt9/ime/TraditionalT9.java +++ b/src/io/github/sspanak/tt9/ime/TraditionalT9.java @@ -35,12 +35,14 @@ import io.github.sspanak.tt9.ui.tray.SuggestionsBar; public class TraditionalT9 extends KeyPadHandler { // internal settings/data - private boolean isActive = false; @NonNull private AppHacks appHacks = new AppHacks(null,null, null, null); @NonNull private TextField textField = new TextField(null, null); @NonNull private InputType inputType = new InputType(null, null); @NonNull private final Handler autoAcceptHandler = new Handler(Looper.getMainLooper()); + @Deprecated // migrate to "ModePassthrough" when "isActive" == "false" + private boolean isActive = false; + // input mode private ArrayList allowedInputModes = new ArrayList<>(); private InputMode mInputMode;