OSDN Git Service

Fix getTranscriptText() behavior with autowrapped lines
authorSteven Luo <steven+android@steven676.net>
Tue, 11 Oct 2011 10:04:10 +0000 (03:04 -0700)
committerJack Palevich <jackpal@google.com>
Sat, 22 Oct 2011 02:40:22 +0000 (19:40 -0700)
commit8c71cf58c020ed304c4d726e3c1d805411145833
tree1c8f52aaee4378b48197872443f536e74e315cfc
parent5dc7ae591c876bcbd8454a3280b0f5a3d054691b
Fix getTranscriptText() behavior with autowrapped lines

Since the Unicode patches, internalGetTranscriptText() has been
ignoring trailing whitespace for lines that were autowrapped, which
causes the content which was wrapped to the next line to be appended
immediately after the last printing character -- not its original
location.  This patch fixes that regression.

Signed-off-by: Jack Palevich <jackpal@google.com>
src/jackpal/androidterm/session/TranscriptScreen.java