Skip to content

Commit

Permalink
Closes #257 keep current match color when highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
Quicksaver committed May 18, 2016
1 parent a9257a0 commit 93dabc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resource/modules/content/mFinder.jsm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// VERSION 1.0.25
// VERSION 1.0.26

this.__defineGetter__('isPDFJS', function() { return Finder.isPDFJS; });

Expand Down Expand Up @@ -597,6 +597,7 @@ this.Finder = {
let curSel = controller.getSelection(Ci.nsISelectionController.SELECTION_NORMAL);
if(curSel.rangeCount == 1) {
controller.setDisplaySelection(Ci.nsISelectionController.SELECTION_ATTENTION);
controller.repaintSelection(Ci.nsISelectionController.SELECTION_NORMAL);
}
}
}
Expand Down

0 comments on commit 93dabc1

Please sign in to comment.