You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
Computing a word-mode diff is exactly the same as the line-mode diff, except you will have to make a copy of diff_linesToChars and call it diff_linesToWords.
The function should be renamed to "diff_wordsToChars", not "diff_linesToWords".
Because words will be mapped to single chars, if you do the suggested modification.
Analogous to lines that will be mapped to single chars in the original function.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the first sentence in the section about a word mode:
https://github.com/google/diff-match-patch/wiki/Line-or-Word-Diffs#word-mode
The function should be renamed to "diff_wordsToChars", not "diff_linesToWords".
Because words will be mapped to single chars, if you do the suggested modification.
Analogous to lines that will be mapped to single chars in the original function.
The text was updated successfully, but these errors were encountered: