Skip to content
Snippets Groups Projects
Commit 43125097 authored by chris's avatar chris
Browse files

fix replace all case sensitive

parent d0dc5e77
No related branches found
No related tags found
1 merge request!513Student numerical
...@@ -269,6 +269,7 @@ const ExpandedFindAndReplaceComponent = ({ ...@@ -269,6 +269,7 @@ const ExpandedFindAndReplaceComponent = ({
const results = DocumentHelpers.findMatches( const results = DocumentHelpers.findMatches(
singleView.state.doc, singleView.state.doc,
searchValue, searchValue,
matchCaseOption,
); );
const { const {
state: { tr }, state: { tr },
...@@ -370,11 +371,11 @@ const ExpandedFindAndReplaceComponent = ({ ...@@ -370,11 +371,11 @@ const ExpandedFindAndReplaceComponent = ({
<ControlContainer> <ControlContainer>
<ButtonReplace onClick={replace}> <ButtonReplace onClick={replace}>
{' '} {' '}
<Translation label="Replace with" /> <Translation label="Replace" />
</ButtonReplace> </ButtonReplace>
<ButtonReplaceAll onClick={replaceAll}> <ButtonReplaceAll onClick={replaceAll}>
{' '} {' '}
<Translation label="Replace with" /> <Translation label="All" /> <Translation label="Replace" /> <Translation label="All" />
</ButtonReplaceAll> </ButtonReplaceAll>
<PreviousNextContainer> <PreviousNextContainer>
<IconWrapper <IconWrapper
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment