Skip to content

Commit d3cbf29

Browse files
committed
rename function to proper explain what it does
1 parent 4787abd commit d3cbf29

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

app/src/main/java/com/maxistar/textpad/activities/EditorActivity.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
import android.text.Spanned;
3838
import android.text.TextWatcher;
3939
import android.text.style.BackgroundColorSpan;
40-
import android.util.Log;
4140
import android.view.KeyEvent;
4241
import android.view.Menu;
4342
import android.view.MenuItem;
@@ -165,7 +164,7 @@ public void onCreate(Bundle savedInstanceState) {
165164
mText = this.findViewById(R.id.editText1);
166165
mText.setBackgroundResource(android.R.color.transparent);
167166
if (!settingsService.isAutoWrapping()) {
168-
configureTextEditor();
167+
disableEditorAutowrapping();
169168
}
170169
editTextUndoRedo = new EditTextUndoRedo(mText, this);
171170

@@ -434,9 +433,9 @@ void applyPreferences() {
434433
applyColors();
435434
}
436435

437-
private void configureTextEditor() {
436+
private void disableEditorAutowrapping() {
438437
mText.setHorizontallyScrolling(true);
439-
mText.setHorizontalScrollBarEnabled(true);
438+
//mText.setHorizontalScrollBarEnabled(true);
440439
mText.setMaxLines(Integer.MAX_VALUE);
441440
}
442441

0 commit comments

Comments
 (0)