File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
app/src/main/java/com/maxistar/textpad/activities Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 3737import android .text .Spanned ;
3838import android .text .TextWatcher ;
3939import android .text .style .BackgroundColorSpan ;
40- import android .util .Log ;
4140import android .view .KeyEvent ;
4241import android .view .Menu ;
4342import 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
You can’t perform that action at this time.
0 commit comments