Skip to content

Commit

Permalink
Deleted some commentated code
Browse files Browse the repository at this point in the history
  • Loading branch information
RainbowC0 committed Oct 25, 2024
1 parent f739fb7 commit 2eb264a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 18 deletions.
2 changes: 0 additions & 2 deletions app/src/main/java/cn/rbc/termuc/EditFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import android.util.DisplayMetrics;
import android.util.TypedValue;
import android.app.AlertDialog.Builder;
import java.util.Set;
import java.util.ArrayList;
import java.util.List;

Expand Down Expand Up @@ -209,7 +208,6 @@ public void onHiddenChanged(boolean hidden) {
} else if (tp == TYPE_CPP) {
ed.setLanguage(CppLanguage.getInstance());
C = "clang++";

} else {
ed.setLanguage(LanguageNonProg.getInstance());
}
Expand Down
14 changes: 0 additions & 14 deletions app/src/main/res/menu/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@
ad:icon="@drawable/ic_play_24"
ad:alphabeticShortcut="r"
ad:alphabeticModifiers="CTRL"/>
<!--item
ad:title="Run..."
ad:showAsAction="always"
ad:visible="false">
<menu>
<item ad:id="@+id/sub_run"
ad:title="run"/>
<item ad:id="@+id/sub_dbg"
ad:title="debug"/>
</menu>
</item-->
<item
ad:id="@+id/undo"
ad:title="@string/undo"
Expand Down Expand Up @@ -47,7 +36,4 @@
<item
ad:id="@+id/settings"
ad:title="@string/settings"/>
<!--item
ad:id="@+id/test"
ad:title="测试"/-->
</menu>
Original file line number Diff line number Diff line change
Expand Up @@ -484,11 +484,13 @@ public void onSelectionChanged(boolean active, int selStart, int selEnd) {
public void onDel(CharSequence text, int cursorPosition, int delCount) {
isTextChanged = true;
if (delCount <= mCaretSpan.first)
mCaretSpan.first -= 1;
mCaretSpan.first--;
mAutoCompletePanel.dismiss();
}

public void onNewLine(CharSequence adds) {
isTextChanged = true;
mCaretSpan.first++;
mAutoCompletePanel.dismiss();
}

Expand Down
3 changes: 2 additions & 1 deletion fastlane/metadata/android/en-US/changelogs/5.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
• Support breakpoint debugging simply (using GDB commandline interface)
• Add 'Font' option
• Collapse action button 'Run' when editing
• Fix bugs when auto indent
• Update line highlighting
• Fix bugs when auto indent

0 comments on commit 2eb264a

Please sign in to comment.