Don'在IE中调用find next时,不要高亮显示Codemirror中的光标

Don't highlighte the cursor in the Codemirror when invoke find next in IE

本文关键字:高亮 显示 光标 Codemirror next IE find 调用 Don      更新时间:2024-06-12

我将CodeMirror用于highlighte xml。它使搜索变得完美,但当我尝试时,会发现IE8中没有突出显示下一个光标(在其他版本中我没有尝试过)。

有人遇到过类似的问题吗?

它在演示中也不起作用(使用IE8):

http://codemirror.net/demo/search.html

通过更改解决了问题

.CodeMirror搜索{边框:1px实心#E9D9D9;背景:rgba(255255255,.4);}

.CodeMirror搜索{背景图像:url(opacity.png);}

其中opacity.png是25%的不透明度png 1x1px文件