aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorRyan Hansberry <rhansby@gmail.com>2015-10-06 14:33:03 -0700
committerRyan Hansberry <rhansby@gmail.com>2015-10-07 10:28:29 -0700
commit467f3a8777bafc859ef0e532166c17d50cce2a30 (patch)
treeb0823b1bef4d428494325313b4a3c0fa0cec2baf /app
parent8170d9f8360380c272d326b1ae02356af9cc48a6 (diff)
downloadconnectbot-467f3a8777bafc859ef0e532166c17d50cce2a30.tar.gz
connectbot-467f3a8777bafc859ef0e532166c17d50cce2a30.tar.bz2
connectbot-467f3a8777bafc859ef0e532166c17d50cce2a30.zip
Rename TerminalView method copyBufferToText to refreshTextFromBuffer
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/org/connectbot/TerminalView.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/org/connectbot/TerminalView.java b/app/src/main/java/org/connectbot/TerminalView.java
index 33b7e20..0f8dd6b 100644
--- a/app/src/main/java/org/connectbot/TerminalView.java
+++ b/app/src/main/java/org/connectbot/TerminalView.java
@@ -202,7 +202,7 @@ public class TerminalView extends TextView implements FontSizeChangedListener {
bridge.buffer.setWindowBase(base + moved);
totalY = 0;
- copyBufferToText();
+ refreshTextFromBuffer();
}
return true;
@@ -280,7 +280,7 @@ public class TerminalView extends TextView implements FontSizeChangedListener {
@Override
public boolean performLongClick() {
- copyBufferToText();
+ refreshTextFromBuffer();
return super.performLongClick();
}
@@ -422,7 +422,7 @@ public class TerminalView extends TextView implements FontSizeChangedListener {
return super.onGenericMotionEvent(event);
}
- private void copyBufferToText() {
+ private void refreshTextFromBuffer() {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) {
// Do not run this function because the textView is not selectable pre-Honeycomb.
return;