Skip to content

Commit df7399d

Browse files
committed
Complete new editor
1 parent 4dcafbb commit df7399d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

libeditor/src/main/java/com/duy/ide/editor/view/CodeEditor.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import android.content.Context;
2121
import android.util.AttributeSet;
22+
import android.view.ActionMode;
2223

2324
public class CodeEditor extends EditActionSupportEditor {
2425
public CodeEditor(Context context) {
@@ -32,4 +33,9 @@ public CodeEditor(Context context, AttributeSet attrs) {
3233
public CodeEditor(Context context, AttributeSet attrs, int defStyleAttr) {
3334
super(context, attrs, defStyleAttr);
3435
}
36+
37+
@Override
38+
public void setCustomSelectionActionModeCallback(ActionMode.Callback actionModeCallback) {
39+
super.setCustomSelectionActionModeCallback(actionModeCallback);
40+
}
3541
}

libeditor/src/main/res/layout/fragment_editor.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<LinearLayout
88
android:layout_width="match_parent"
99
android:layout_height="match_parent"
10-
android:layout_marginBottom="@dimen/symbol_bar_height"
1110
android:orientation="horizontal">
1211

1312
<com.duy.ide.editor.core.widget.GutterView

0 commit comments

Comments
 (0)