Skip to content

Commit 8019d7c

Browse files
alurmarijnh
authored andcommitted
[match-highlighter addon] Make scrollbar annotations case-sensitive
To match the actual match-highlights in the editor.
1 parent dc4198f commit 8019d7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/search/match-highlighter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
cm.addOverlay(state.overlay = makeOverlay(query, hasBoundary, style));
7373
if (state.options.annotateScrollbar && cm.showMatchesOnScrollbar) {
7474
var searchFor = hasBoundary ? new RegExp("\\b" + query + "\\b") : query;
75-
state.matchesonscroll = cm.showMatchesOnScrollbar(searchFor, true,
75+
state.matchesonscroll = cm.showMatchesOnScrollbar(searchFor, false,
7676
{className: "CodeMirror-selection-highlight-scrollbar"});
7777
}
7878
}

0 commit comments

Comments
 (0)