Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
QuasselDroid-ng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
QuasselDroid-ng
Compare revisions
v1.2.13 to v1.2.14
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
justJanne/QuasselDroid-ng
Select target project
No results found
v1.2.14
Select Git revision
Branches
ChenZhangg-Modify_GRADLE_1
attachments
demo-jump-in-history
jetpack-compose-rewrite
main
wip
Tags
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
1.5.0
1.5.1
1.5.2
1.5.3
1.6.0
1.6.1
1.6.2
1.7.0
v0.2.0
v0.3.0
v0.4.0
v0.5.0
v1.0.0
v1.0.1
v1.0.10
v1.0.11
v1.0.12
v1.0.13
v1.0.14
v1.0.15
v1.0.16
v1.0.17
v1.0.18
v1.0.19
v1.0.2
v1.0.20
v1.0.21
v1.0.22
v1.0.23
v1.0.25
v1.0.26
v1.0.27
v1.0.28
v1.0.29
v1.0.3
v1.0.31
v1.0.35
v1.0.36
v1.0.37
v1.0.38
v1.0.39
v1.0.4
v1.0.40
v1.0.41
v1.0.42
v1.0.43
v1.0.44
v1.0.45
v1.0.5
v1.0.6
v1.0.7
v1.0.8
v1.0.9
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.2.1
v1.2.10
v1.2.11
v1.2.12
v1.2.13
v1.2.14
v1.2.15
v1.2.16
v1.2.17
v1.2.18
v1.2.19
v1.2.2
v1.2.20
v1.2.21
v1.2.22
v1.2.23
v1.2.24
v1.2.25
v1.2.26
v1.2.27
v1.2.28
v1.2.3
v1.2.4
v1.2.5
v1.2.6
v1.2.7
v1.2.9
v1.3.0
v1.3.1
v1.3.2
v1.3.3
100 results
Swap
Target
justJanne/QuasselDroid-ng
Select target project
justJanne/QuasselDroid-ng
1 result
v1.2.13
Select Git revision
Branches
ChenZhangg-Modify_GRADLE_1
attachments
demo-jump-in-history
jetpack-compose-rewrite
main
wip
Tags
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
1.5.0
1.5.1
1.5.2
1.5.3
1.6.0
1.6.1
1.6.2
1.7.0
v0.2.0
v0.3.0
v0.4.0
v0.5.0
v1.0.0
v1.0.1
v1.0.10
v1.0.11
v1.0.12
v1.0.13
v1.0.14
v1.0.15
v1.0.16
v1.0.17
v1.0.18
v1.0.19
v1.0.2
v1.0.20
v1.0.21
v1.0.22
v1.0.23
v1.0.25
v1.0.26
v1.0.27
v1.0.28
v1.0.29
v1.0.3
v1.0.31
v1.0.35
v1.0.36
v1.0.37
v1.0.38
v1.0.39
v1.0.4
v1.0.40
v1.0.41
v1.0.42
v1.0.43
v1.0.44
v1.0.45
v1.0.5
v1.0.6
v1.0.7
v1.0.8
v1.0.9
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.2.1
v1.2.10
v1.2.11
v1.2.12
v1.2.13
v1.2.14
v1.2.15
v1.2.16
v1.2.17
v1.2.18
v1.2.19
v1.2.2
v1.2.20
v1.2.21
v1.2.22
v1.2.23
v1.2.24
v1.2.25
v1.2.26
v1.2.27
v1.2.28
v1.2.3
v1.2.4
v1.2.5
v1.2.6
v1.2.7
v1.2.9
v1.3.0
v1.3.1
v1.3.2
v1.3.3
100 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
Remove debugging code accidentally left in
· f627d6f7
Janne Mareike Koschinski
authored
5 years ago
Verified
f627d6f7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/de/kuschku/quasseldroid/ui/chat/input/EditorHelper.kt
+0
-21
0 additions, 21 deletions
...ava/de/kuschku/quasseldroid/ui/chat/input/EditorHelper.kt
with
0 additions
and
21 deletions
app/src/main/java/de/kuschku/quasseldroid/ui/chat/input/EditorHelper.kt
View file @
f627d6f7
...
@@ -23,7 +23,6 @@ import android.text.Editable
...
@@ -23,7 +23,6 @@ import android.text.Editable
import
android.text.TextWatcher
import
android.text.TextWatcher
import
android.view.KeyEvent
import
android.view.KeyEvent
import
android.view.inputmethod.EditorInfo
import
android.view.inputmethod.EditorInfo
import
android.widget.Toast
import
androidx.annotation.ColorInt
import
androidx.annotation.ColorInt
import
androidx.annotation.StringRes
import
androidx.annotation.StringRes
import
androidx.fragment.app.FragmentActivity
import
androidx.fragment.app.FragmentActivity
...
@@ -128,26 +127,6 @@ class EditorHelper(
...
@@ -128,26 +127,6 @@ class EditorHelper(
}
}
editText
.
addTextChangedListener
(
textWatcher
)
editText
.
addTextChangedListener
(
textWatcher
)
editText
.
setOnKeyListener
{
_
,
keyCode
,
event
:
KeyEvent
->
editText
.
setOnKeyListener
{
_
,
keyCode
,
event
:
KeyEvent
->
val
action
=
when
(
event
.
action
)
{
KeyEvent
.
ACTION_UP
->
"up"
KeyEvent
.
ACTION_DOWN
->
"down"
KeyEvent
.
ACTION_MULTIPLE
->
"multiple"
else
->
"unknown"
}
val
key
=
when
(
keyCode
)
{
KeyEvent
.
KEYCODE_ENTER
->
"enter"
KeyEvent
.
KEYCODE_NUMPAD_ENTER
->
"numpad_enter"
KeyEvent
.
KEYCODE_DPAD_DOWN
->
"down"
KeyEvent
.
KEYCODE_DPAD_UP
->
"up"
else
->
"#$keyCode"
}
val
modifiers
=
listOfNotNull
(
if
(
event
.
isCtrlPressed
)
"ctrl"
else
null
,
if
(
event
.
isAltPressed
)
"alt"
else
null
,
if
(
event
.
isShiftPressed
)
"shift"
else
null
).
joinToString
(
", "
)
Toast
.
makeText
(
editText
.
context
,
"$key $action $modifiers"
,
Toast
.
LENGTH_SHORT
).
show
()
if
(
event
.
action
==
KeyEvent
.
ACTION_DOWN
)
{
if
(
event
.
action
==
KeyEvent
.
ACTION_DOWN
)
{
if
(
event
.
isCtrlPressed
&&
!
event
.
isAltPressed
)
when
(
keyCode
)
{
if
(
event
.
isCtrlPressed
&&
!
event
.
isAltPressed
)
when
(
keyCode
)
{
KeyEvent
.
KEYCODE_B
->
{
KeyEvent
.
KEYCODE_B
->
{
...
...
This diff is collapsed.
Click to expand it.