Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .idea/gradle.xml

This file was deleted.

16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ Sumireは、**プライバシーを絶対に妥協しない**
| カスタムキーボード | ユーザーが作成したキーボード配列を読み込むモードです。複数レイアウトの切り替え、フリック、ローマ字変換、定型文字列の入力に対応します。 |
| フローティング | キーボードを画面下部に固定せず、独立したフローティングウィンドウとして表示できます。位置は保存され、通常の候補表示や入力処理と組み合わせて使えます。 |

### ∑ 数式候補

「設定 → 計算・単位換算候補 → 数式候補を表示」を有効にすると、入力中の簡易記法や LaTeX 数式を候補欄で組版できます。通常の候補の後、全角候補の前に同じ数式の `[文字]` と `[TeX]` を表示し、タップするとそれぞれ Unicode 文字列または `$` のない正規化 LaTeX ソースを確定します。自動確定や自動置換は行いません。

| 入力例 | `[文字]` | `[TeX]` |
|:--|:--|:--|
| `25^2` | `25²` | `25^{2}` |
| `1/2` | `½` | `\frac{1}{2}` |
| `sqrt(x^2+y^2)` | `√(x²+y²)` | `\sqrt{x^{2}+y^{2}}` |

### ⚙️ ユーザー設定

以下は `pref_*.xml` に定義されている設定項目です。保存値の初期値は `AppPreference.kt` を優先し、値を保存しない画面遷移や実行系の項目は「画面/操作」としています。`Zenz` と `Gemma` の設定は、これらを含む Full 版で表示されます。
Expand Down Expand Up @@ -425,6 +435,12 @@ customizable keyboard layouts**, aiming to make typing a truly personal experien
Developed in Kotlin from the ground up and optimized with Jetpack libraries for a smooth, fast,
and responsive UI. It's also optimized for tablets and foldables.

* ∑ **Formula Candidates**
Recognizes shorthand and a supported LaTeX subset, renders formulas in the candidate strip, and
offers separate Unicode (`[Text]`) and normalized bare LaTeX (`[TeX]`) candidates. Formula
candidates appear after ordinary candidates and before full-width candidates when present.
They are opt-in through the calculator and unit-conversion settings and never commit automatically.

### 🚀 Quick Start

1. Install from the **Google Play** badge above,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,16 @@ class DebugInlineAutofillService : AutofillService() {
username = "work@example.test",
password = "sumire-work-password",
),
QaDataset(
label = "🔐 開発用",
username = "development@example.test",
password = "sumire-development-password",
),
QaDataset(
label = "🔐 検証用",
username = "staging@example.test",
password = "sumire-staging-password",
),
)
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.kazumaproject.markdownhelperkeyboard.converter.candidate

import com.kazumaproject.markdownhelperkeyboard.converter.utility.FormulaCandidatePresentation

/**
* @see 1:NBest 2:Part of letters 3:Hirakana 4:Katakana 5:Combine part of letter 6. Single Kanji
**/
Expand All @@ -13,4 +15,8 @@ data class Candidate(
val rightId: Short? = null,
/** Stable source identity for action candidates whose display string must never be committed. */
val sourceId: Long? = null,
/** Text sent to InputConnection. Defaults to the legacy candidate string. */
val commitText: String = string,
/** Optional non-text presentation, currently used by formula candidates. */
val presentation: FormulaCandidatePresentation? = null,
)
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ const val CANDIDATE_TYPE_CALCULATION: Byte = 49
const val CANDIDATE_TYPE_UNIT_CONVERSION: Byte = 50
const val CANDIDATE_TYPE_UTILITY_LITERAL: Byte = 51
const val CANDIDATE_TYPE_TEXT_MACRO: Byte = 52
const val CANDIDATE_TYPE_FORMULA_UNICODE: Byte = 53
const val CANDIDATE_TYPE_FORMULA_TEX: Byte = 54
Loading
Loading