mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
replace: scroll to top too
This commit is contained in:
@@ -954,7 +954,8 @@ var isSame;
|
|||||||
}
|
}
|
||||||
|
|
||||||
cm.setSelection(cursor.from(), cursor.to());
|
cm.setSelection(cursor.from(), cursor.to());
|
||||||
cm.scrollIntoView({ from: cursor.from(), to: cursor.to() });
|
//cm.scrollIntoView({ from: cursor.from(), to: cursor.to() });
|
||||||
|
cm.scrollTo(null, cm.charCoords(cursor.from(), 'local').top); // cXd scroll line to top
|
||||||
highlightCurrentMatch(cursor.from(), cursor.to());
|
highlightCurrentMatch(cursor.from(), cursor.to());
|
||||||
|
|
||||||
confirmDialog(cm, getDoReplaceConfirm(cm), cm.phrase("Replace?"), [
|
confirmDialog(cm, getDoReplaceConfirm(cm), cm.phrase("Replace?"), [
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -643,6 +643,7 @@ div.CodeMirror-dragcursors {
|
|||||||
|
|
||||||
.search-next-highlight {
|
.search-next-highlight {
|
||||||
background-color: orange !important;
|
background-color: orange !important;
|
||||||
|
color: black !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Used to force a border model for a node */
|
/* Used to force a border model for a node */
|
||||||
|
|||||||
Reference in New Issue
Block a user