Merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/TextAreaDisplayTextPreEdit into lp:ubuntu-ui-toolkit/staging

Proposed by Cris Dywan
Status: Merged
Approved by: Timo Jyrinki
Approved revision: 2054
Merged at revision: 2146
Proposed branch: lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/TextAreaDisplayTextPreEdit
Merge into: lp:ubuntu-ui-toolkit/staging
Diff against target: 17 lines (+6/-1)
1 file modified
src/imports/Components/1.3/TextArea.qml (+6/-1)
To merge this branch: bzr merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/TextAreaDisplayTextPreEdit
Reviewer Review Type Date Requested Status
ubuntu-sdk-build-bot continuous-integration Approve
Zsombor Egri Approve
Review via email: mp+308623@code.launchpad.net

Commit message

Include OSK input in TextArea.displayText

To post a comment you must log in.
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Zsombor Egri (zsombi) wrote :

Good to go

review: Approve
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Re-top-approving, armhf had infra problem

Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/imports/Components/1.3/TextArea.qml'
2--- src/imports/Components/1.3/TextArea.qml 2016-09-19 07:24:45 +0000
3+++ src/imports/Components/1.3/TextArea.qml 2016-10-17 11:46:26 +0000
4@@ -767,7 +767,12 @@
5 QtObject {
6 id: internal
7 // public property locals enabling aliasing
8- property string displayText: editor.getText(0, editor.length)
9+ property string displayText: {
10+ var plainText = editor.getText(0, editor.length);
11+ if (editor.hasOwnProperty('preeditText'))
12+ plainText += editor.preeditText;
13+ return plainText;
14+ }
15 property real frameSpacing: control.__styleInstance.frameSpacing
16 property real minimumSize: units.gu(4)
17 property real scrollbarSpacing: rightScrollbar.__interactive ? units.gu(2) : 0

Subscribers

People subscribed via source and target branches