This commit is contained in:
hyb1996
2018-01-24 10:27:24 +08:00
parent 7f6e9dd210
commit 78f6fbbd3c
6 changed files with 28 additions and 18 deletions

View File

@@ -197,14 +197,6 @@
android:name="android.accessibilityservice"
android:resource="@xml/accessibility_service_config"/>
</service>
<service
android:name="com.stardust.notification.NotificationListenerService"
android:label="@string/_app_name"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService"/>
</intent-filter>
</service>
<receiver android:name=".external.widget.ScriptWidget">
<intent-filter>

View File

@@ -340,3 +340,9 @@ div.CodeMirror-dragcursors {
/* Help users use markselection to safely style text background */
span.CodeMirror-selectedtext { background: none; }
.CodeMirror-gutter-wrapper {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}

View File

@@ -76,7 +76,9 @@ editor.on("keyup", function(editor, event)
clearTimeout(id);
}
id = setTimeout(function(){
editor.execCommand("autocomplete");
editor.showHint({
completeSingle: false
})
}, 100);
}
});