mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
@@ -116,7 +116,7 @@ public class LogViewFragment extends Fragment {
|
||||
if (!unsavedLines.isEmpty()) {
|
||||
for (var line : unsavedLines) {
|
||||
getEditor().append(line.toString().trim() + "\n");
|
||||
applyToLanguage(line);
|
||||
applyToLanguage(line);
|
||||
}
|
||||
unsavedLines.clear();
|
||||
}
|
||||
@@ -137,6 +137,9 @@ public class LogViewFragment extends Fragment {
|
||||
|
||||
@Nullable
|
||||
public IDEEditor getEditor() {
|
||||
if (binding == null) {
|
||||
return null;
|
||||
}
|
||||
return binding.editor;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user