We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0ad64f commit 2e1efb1Copy full SHA for 2e1efb1
1 file changed
editor/src/main/java/com/itsaky/androidide/editor/utils/OperatorSelection.kt
@@ -21,17 +21,18 @@ import io.github.rosemoe.sora.text.Content
21
22
/**
23
* Java/Kotlin operators for long-press selection, ordered by length descending
24
- * so longer matches are tried first (e.g. `>>>` before `>>` before `>`).
+ * so longer matches are tried first (e.g. `>>>=` before `>>>` before `>>` before `>`).
25
*/
26
private val OPERATORS: List<String> =
27
listOf(
28
+ // 4-char (`>>>=` must precede `>>>` — the latter is a prefix)
29
+ ">>>=",
30
// 3-char (=== and !== before 2-char == and !=)
31
"===",
32
"!==",
33
">>>",
34
"<<=",
35
">>=",
- ">>>=",
36
// 2-char
37
"==",
38
"!=",
0 commit comments