mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 02:42:45 +00:00
hide cursor in ace
This commit is contained in:
@@ -141,7 +141,7 @@ a.black_border:hover {
|
||||
.files {
|
||||
position: relative;
|
||||
display: block;
|
||||
overflow: scroll;
|
||||
overflow: auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@@ -324,3 +324,7 @@ loc .lang {
|
||||
line-height: 140px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ace_scroller {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<div class="leftCol shadow p-1 h-100 overflow-auto" ng-show="files">
|
||||
<tree class="files" file="files"></tree>
|
||||
</div>
|
||||
<div class="col p-0 h-100 d-flex flex-column">
|
||||
<div class="col p-0 h-100 d-flex flex-column w-100 overflow-auto">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb shadow paths">
|
||||
<li class="breadcrumb-item" ng-repeat="p in paths" ng-bind="p">
|
||||
|
||||
@@ -377,11 +377,13 @@ angular
|
||||
fontSize: 15,
|
||||
keyBinding: "vscode",
|
||||
fullLineSelection: true,
|
||||
highlightActiveLine: true,
|
||||
highlightActiveLine: false,
|
||||
highlightGutterLine: false,
|
||||
cursor: "hide",
|
||||
showInvisibles: false,
|
||||
showIndentGuides: true,
|
||||
showPrintMargin: false,
|
||||
highlightSelectedWord: true,
|
||||
highlightSelectedWord: false,
|
||||
enableBehaviours: true,
|
||||
fadeFoldWidgets: false,
|
||||
mode: getMode(extension),
|
||||
@@ -395,6 +397,10 @@ angular
|
||||
);
|
||||
_editor.setOption("displayIndentGuides", true);
|
||||
_editor.setHighlightActiveLine($scope.aceOption.highlightActiveLine);
|
||||
if ($scope.aceOption.cursor == "hide") {
|
||||
_editor.renderer.$cursorLayer.element.style.display = "none";
|
||||
}
|
||||
_editor.setHighlightGutterLine($scope.aceOption.highlightGutterLine);
|
||||
_editor.setShowInvisibles($scope.aceOption.showInvisibles);
|
||||
_editor.setDisplayIndentGuides($scope.aceOption.showIndentGuides);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user