close
Skip to content

Replace only needed range in CodeMirror#347

Merged
yuku merged 1 commit intoyuku:mainfrom
increments:replace-range-in-codemirror
Sep 18, 2021
Merged

Replace only needed range in CodeMirror#347
yuku merged 1 commit intoyuku:mainfrom
increments:replace-range-in-codemirror

Conversation

@phigasui
Copy link
Copy Markdown
Contributor

For #346

  • Added a method to SearchResult class to provide replacement data.
  • Using the above method, replace only needed range in CodeMirror.
  • In order not to change the interface of the SearchResult#replace, the information needed for replacement can be obtained with getReplacementData, which is used in SearchResult#replace and @textcomplete/codemirror.

@phigasui
Copy link
Copy Markdown
Contributor Author

@yuku Please review this PR 🙏🙏

@yuku yuku self-requested a review September 18, 2021 01:46
Copy link
Copy Markdown
Owner

@yuku yuku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@yuku
Copy link
Copy Markdown
Owner

yuku commented Sep 18, 2021

@phigasui The failing lint issue was fixed in #348. Could you merge the change to the branch so that we can figure out that CI is green here?

@phigasui phigasui force-pushed the replace-range-in-codemirror branch from 105ddc0 to b4a34e7 Compare September 18, 2021 03:58
@phigasui
Copy link
Copy Markdown
Contributor Author

@yuku Thanks for the fix Lint! I merged the changes, please run CI. 🙏

@yuku
Copy link
Copy Markdown
Owner

yuku commented Sep 18, 2021

@phigasui please check the lint errors reported by CI.
FYI: you can use yarn workspaces run format to apply prettier.

@phigasui phigasui force-pushed the replace-range-in-codemirror branch from 5219821 to 0ee5e68 Compare September 18, 2021 09:24
@phigasui phigasui requested a review from yuku September 18, 2021 09:28
@phigasui
Copy link
Copy Markdown
Contributor Author

@yuku I found a problem in the changes and fixed it, so please review again:pray:

@yuku yuku merged commit 5a7960a into yuku:main Sep 18, 2021
@yuku
Copy link
Copy Markdown
Owner

yuku commented Sep 18, 2021

v0.1.10 was released

@phigasui
Copy link
Copy Markdown
Contributor Author

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants