We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f5b1b5 commit 3d8b1ddCopy full SHA for 3d8b1dd
1 file changed
app/src/main/java/com/tool/tree/TextEditorActivity.kt
@@ -690,13 +690,6 @@ class TextEditorActivity : AppCompatActivity() {
690
}
691
setupSyntaxHighlighting()
692
updateLineNumbersInternal()
693
-
694
- // Ép ScrollView quay lại đầu file: tránh việc EditText tự
695
- // cuộn theo vị trí con trỏ (cuối file) ngay khi vừa mở file,
696
- // gây ra khoảng trống/nhảy vị trí ngay dưới toolbar.
697
- binding.mainList.post {
698
- binding.mainList.scrollTo(0, 0)
699
- }
700
701
702
@@ -918,4 +911,4 @@ class TextEditorActivity : AppCompatActivity() {
918
911
).apply { isCancelable = false }
919
912
.show(supportFragmentManager, "editor-run-test")
920
913
921
-}
914
+}
0 commit comments