Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
keyboard
LatinIME
Commits
b2c21033
Commit
b2c21033
authored
11 years ago
by
Tadashi G. Takaoka
Committed by
Android (Google) Code Review
11 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Small cleanup"
parents
965b7266
28a14868
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
java/src/com/android/inputmethod/latin/Constants.java
+1
-0
1 addition, 0 deletions
java/src/com/android/inputmethod/latin/Constants.java
java/src/com/android/inputmethod/latin/LatinIME.java
+0
-1
0 additions, 1 deletion
java/src/com/android/inputmethod/latin/LatinIME.java
with
1 addition
and
1 deletion
java/src/com/android/inputmethod/latin/Constants.java
+
1
−
0
View file @
b2c21033
...
@@ -208,6 +208,7 @@ public final class Constants {
...
@@ -208,6 +208,7 @@ public final class Constants {
case
CODE_ACTION_NEXT:
return
"actionNext"
;
case
CODE_ACTION_NEXT:
return
"actionNext"
;
case
CODE_ACTION_PREVIOUS:
return
"actionPrevious"
;
case
CODE_ACTION_PREVIOUS:
return
"actionPrevious"
;
case
CODE_LANGUAGE_SWITCH:
return
"languageSwitch"
;
case
CODE_LANGUAGE_SWITCH:
return
"languageSwitch"
;
case
CODE_SHIFT_ENTER:
return
"shiftEnter"
;
case
CODE_UNSPECIFIED:
return
"unspec"
;
case
CODE_UNSPECIFIED:
return
"unspec"
;
case
CODE_TAB:
return
"tab"
;
case
CODE_TAB:
return
"tab"
;
case
CODE_ENTER:
return
"enter"
;
case
CODE_ENTER:
return
"enter"
;
...
...
This diff is collapsed.
Click to expand it.
java/src/com/android/inputmethod/latin/LatinIME.java
+
0
−
1
View file @
b2c21033
...
@@ -1639,7 +1639,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
...
@@ -1639,7 +1639,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
}
}
final
int
wordComposerSize
=
mWordComposer
.
size
();
final
int
wordComposerSize
=
mWordComposer
.
size
();
// Since isComposingWord() is true, the size is at least 1.
// Since isComposingWord() is true, the size is at least 1.
final
int
lastChar
=
mWordComposer
.
getCodeBeforeCursor
();
if
(
mWordComposer
.
isCursorFrontOrMiddleOfComposingWord
())
{
if
(
mWordComposer
.
isCursorFrontOrMiddleOfComposingWord
())
{
// If we are in the middle of a recorrection, we need to commit the recorrection
// If we are in the middle of a recorrection, we need to commit the recorrection
// first so that we can insert the batch input at the current cursor position.
// first so that we can insert the batch input at the current cursor position.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment