Skip to content
Snippets Groups Projects
Commit 8019d7cd authored by Erik Welander's avatar Erik Welander Committed by Marijn Haverbeke
Browse files

[match-highlighter addon] Make scrollbar annotations case-sensitive

To match the actual match-highlights in the editor.
parent dc4198f4
No related branches found
No related tags found
Loading
......@@ -72,7 +72,7 @@
cm.addOverlay(state.overlay = makeOverlay(query, hasBoundary, style));
if (state.options.annotateScrollbar && cm.showMatchesOnScrollbar) {
var searchFor = hasBoundary ? new RegExp("\\b" + query + "\\b") : query;
state.matchesonscroll = cm.showMatchesOnScrollbar(searchFor, true,
state.matchesonscroll = cm.showMatchesOnScrollbar(searchFor, false,
{className: "CodeMirror-selection-highlight-scrollbar"});
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment