HomePhabricator

Do not try searching outside of valid range when using regex

Description

Do not try searching outside of valid range when using regex

In commit 3db54b22a01e130e3d1d5e3116744b614b5540ee I mistakely assumed
that the "document range" spans the whole document, while in fact it
spans the document excluding the internal list. We can't display
highlights on content inside the internal list, so don't search there.

Bug: T196521
Change-Id: I05e3dcefc3019de1fab2789e66ecfe20cbe7798d

Details

Provenance
matmarexAuthored on Jul 30 2018, 4:09 PM
Parents
rGVED954b21f33dd2: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
ChangeId
I05e3dcefc3019de1fab2789e66ecfe20cbe7798d