From 467f3a8777bafc859ef0e532166c17d50cce2a30 Mon Sep 17 00:00:00 2001 From: Ryan Hansberry Date: Tue, 6 Oct 2015 14:33:03 -0700 Subject: Rename TerminalView method copyBufferToText to refreshTextFromBuffer --- app/src/main/java/org/connectbot/TerminalView.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app') 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; -- cgit v1.2.3