Skip to content

Commit 97f5a3b

Browse files
committed
Log去除
1 parent 4bf03b2 commit 97f5a3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/main/java/ren/qinc/edit/PerformEdit.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ public final void beforeTextChanged(CharSequence s, int start, int count, int af
133133
int end = start + count;
134134
if (end > start && end <= s.length()) {
135135
CharSequence charSequence = s.subSequence(start, end);
136+
//发生文字变化
136137
if (charSequence.length() > 0) {
137-
Log.i("test", "beforeTextChanged:" + charSequence + " start" + start + " count" + count + " after" + after);
138138
Action action = new Action(charSequence, start, false);
139139
history.push(action);
140140
historyBack.clear();
@@ -157,8 +157,8 @@ public final void onTextChanged(CharSequence s, int start, int before, int count
157157
int end = start + count;
158158
if (end > start) {
159159
CharSequence charSequence = s.subSequence(start, end);
160+
//发生文字变化
160161
if (charSequence.length() > 0) {
161-
Log.i("test", "onTextChanged:" + charSequence + " start" + start + " before" + before + " count" + count);
162162
Action action = new Action(charSequence, start, true);
163163
history.push(action);
164164
historyBack.clear();

0 commit comments

Comments
 (0)