Remove code assist toggle from UI, keep in settings screen only

This commit is contained in:
mattpass
2020-03-15 14:16:41 +00:00
parent a1bd3cb0f3
commit 4f82f91e47
14 changed files with 0 additions and 31 deletions

View File

@@ -309,10 +309,6 @@ $t = $text['index'];
<input type="hidden" name="csrf" value="<?php echo $_SESSION["csrf"]; ?>">
</form>
<form onSubmit="return ICEcoder.goToLine(get('goToLineNo').value, 0, false)">
<div class="codeAssist" title="<?php echo $t['Turn on/off...'];?>">
<input type="checkbox" name="codeAssist" id="codeAssist" class="codeAssistCheckbox" <?php if ($ICEcoder['codeAssist']) {echo 'checked ';};?>>
<span class="codeAssistDisplay" id="codeAssistDisplay" style="background-position: <?php echo $ICEcoder['codeAssist'] ? "0" : "-16";?> 0" onClick="ICEcoder.codeAssistToggle()"></span> <?php echo $t['Code Assist'];?>
</div>
<div class="goLine"><?php echo $t['Go to Line'];?> <input type="text" name="goToLine" value="" maxlength="5" id="goToLineNo" onkeyup="ICEcoder.goToLine(this.value, 0, true)" class="textbox goToLine">
<div class="view" title="<?php echo $t['View'];?>" onClick="ICEcoder.openPreviewWindow()" id="fMView"></div>
<div class="bug" title="<?php echo $t['Bug reporting not active'];?>" onClick="ICEcoder.openBugReport()" id="bugIcon"></div>

View File

@@ -91,8 +91,6 @@ $text = array(
// "open documents" => "打开的文件",
// "all files" => "所有文件",
// "all filenames" => "所有文件名",
"Turn on/off..." => "开启/关闭代码辅助",
"Code Assist" => "代码辅助",
"Go to Line" => "转到行",
"View" => "预览",
"Bug reporting not active" => "错误报告没有激活"

View File

@@ -91,8 +91,6 @@ $text = array(
// "open documents" => "打開的文件",
// "all files" => "所有文件",
// "all filenames" => "所有文件名",
"Turn on/off..." => "開啓/關閉代碼輔助",
"Code Assist" => "代碼輔助",
"Go to Line" => "轉到行",
"View" => "預覽",
"Bug reporting not active" => "錯誤報告沒有激活"

View File

@@ -92,8 +92,6 @@ $text = array(
"open documents" => "open documenten",
"all files" => "alle bestanden",
"all filenames" => "alle bestandsnamen",
"Turn on/off..." => "Schakel codehulp aan/uit",
"Code Assist" => "Codehulp",
"Go to Line" => "Ga naar regel",
"View" => "Beeld",
"Bug reporting not active" => "Bug rapportage niet actief",

View File

@@ -91,8 +91,6 @@ $text = array(
"open documents" => "open documents",
"all files" => "all files",
"all filenames" => "all filenames",
"Turn on/off..." => "Turn on/off code assist",
"Code Assist" => "Code Assist",
"Go to Line" => "Go to Line",
"View" => "View",
"Bug reporting not active" => "Bug reporting not active",

View File

@@ -91,8 +91,6 @@ $text = array(
// "open documents" => "les documents ouverts",
// "all files" => "tous les fichiers",
// "all filenames" => "tous les noms de fichiers",
"Turn on/off..." => "Basculer on/off l&apos;assistance au code",
"Code Assist" => "Assistance au Code",
"Go to Line" => "Aller &agrave; la ligne",
"View" => "Afficher",
"Bug reporting not active" => "Le signalement de dysfonctionnement n&apos;est pas actif"

View File

@@ -91,8 +91,6 @@ $text = array(
// "open documents" => "ge&ouml;ffnete Dokumente",
// "all files" => "Alle Dateien",
// "all filenames" => "Alle Dateinamen",
"Turn on/off..." => "Codeassistenten ein- ausschalten",
"Code Assist" => "Codeassistent",
"Go to Line" => "Geh zur Zeile",
"View" => "Anzeigen",
"Bug reporting not active" => "Fehlermeldungen sind nicht aktiv"

View File

@@ -91,8 +91,6 @@ $text = array(
"open documents" => "apri documenti",
"all files" => "tutti i file",
"all filenames" => "tutti i nomi",
"Turn on/off..." => "Attiva/disattiva code assist",
"Code Assist" => "Code Assist",
"Go to Line" => "Vai alla linea",
"View" => "Visualizza",
"Bug reporting not active" => "Segnalazione bug non attiva",

View File

@@ -91,8 +91,6 @@ $text = array(
"open documents" => "åpne dokumenter",
"all files" => "alle filer",
"all filenames" => "alle filenavn",
"Turn on/off..." => "Svitsj på/av kode assistenten",
"Code Assist" => "Kode Assistenten",
"Go to Line" => "Gå til Linje",
"View" => "Vis",
"Bug reporting not active" => "Bug rapportering ikke aktiv"

View File

@@ -91,8 +91,6 @@ $text = array(
// "open documents" => "سند های باز",
// "all files" => "همه فایل ها",
// "all filenames" => "همه نام فایل ها",
"Turn on/off..." => "روشن / خاموش کردن کد کمد",
"Code Assist" => "کد کمک",
"Go to Line" => "برو به خط",
"View" => "نمایش",
"Bug reporting not active" => "گزارش اشکال فعال نیست"

View File

@@ -91,8 +91,6 @@ $text = array(
"open documents" => "documentos abertos",
"all files" => "todos os arquivos",
"all filenames" => "todos nomes de arquivo",
"Turn on/off..." => "Ligar/Desligar Assistente",
"Code Assist" => "Assistente",
"Go to Line" => "Ir para linha",
"View" => "Exibir",
"Bug reporting not active" => "Relat&oacute;rio de Bug desativado"

View File

@@ -91,8 +91,6 @@ $text = array(
"open documents" => "abrir documentos",
"all files" => "todos los archivos",
"all filenames" => "todos los nombres de archivo",
"Turn on/off..." => "Encender o apagar asistente de c&oacute;digo",
"Code Assist" => "Asistente de c&oacute;digo",
"Go to Line" => "Ir a la l&iacute;nea",
"View" => "Ver",
"Bug reporting not active" => "Reporte de Errores no activado",

View File

@@ -131,9 +131,6 @@ h2 {font-size: 18px; font-weight: normal; color: #fff}
.findReplace .submit {position: relative; top: -2px; height: 28px; padding-top: 2px; border: 0; background-color: #1d1d1b; color: #eee; font-size: 10px; margin-left: 2px; cursor: pointer}
.findReplace .submit:hover {background-color: #2187e7; color: #eee}
.findReplace .results {position: relative; display: inline-block; width: 200px; height: 20px; font-size: 10px; margin: 7px 0 0 20px}
.findBar .codeAssist {position: fixed; display: inline-block; width: 100px; right: 180px; top: 50px; height: 21px; font-size: 10px; color: #eee; cursor: default; z-index: 1}
.findBar .codeAssist .codeAssistCheckbox {display: none}
.findBar .codeAssist .codeAssistDisplay {display: inline-block; width: 16px; height: 16px; margin: -1px 4px 0 0; vertical-align: middle; background: url('../images/checkbox.gif') 0 0 no-repeat; cursor: pointer}
.findBar .goLine {position: fixed; display: inline-block; width: 120px; right: 65px; top: 49px; height: 21px; font-size: 10px; color: #eee; cursor: default; z-index: 1}
.goLine .goToLine {width: 50px; height: 28px; border: 0; font-size: 12px; margin: -7px 0 0 3px; padding-left: 4px; background: #333; color: #eee}
.findReplace input:focus, .goLine .goToLine:focus {outline: none; background: rgba(0,198,255,0.5); color: #000}

View File

@@ -2973,7 +2973,6 @@ var ICEcoder = {
var cM, cMdiff, fileName, fileExt;
this.codeAssist = !this.codeAssist;
get('codeAssistDisplay').style.backgroundPosition = this.codeAssist ? "0 0" : "-16px 0";
this.cssColorPreview();
this.focus(this.editorFocusInstance.indexOf('diff') > -1 ? 'diff' : false);
@@ -3271,7 +3270,6 @@ var ICEcoder = {
// Check/uncheck Code Assist setting
if (codeAssist != this.codeAssist) {
get('codeAssist').checked = codeAssist;
this.codeAssistToggle();
}