{"id":19536021,"url":"https://github.com/miyako/4d-plugin-diff-match-patch","last_synced_at":"2026-06-09T22:31:35.394Z","repository":{"id":147172337,"uuid":"121494310","full_name":"miyako/4d-plugin-diff-match-patch","owner":"miyako","description":"Basic implementation of google-diff-match-patch","archived":false,"fork":false,"pushed_at":"2022-01-30T01:27:18.000Z","size":15580,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T04:18:29.759Z","etag":null,"topics":["4d-plugin"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miyako.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-14T09:48:14.000Z","updated_at":"2024-08-27T04:48:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7f5d9e9-5b27-4be6-aaaf-7742f14773a0","html_url":"https://github.com/miyako/4d-plugin-diff-match-patch","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/miyako/4d-plugin-diff-match-patch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-diff-match-patch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-diff-match-patch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-diff-match-patch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-diff-match-patch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miyako","download_url":"https://codeload.github.com/miyako/4d-plugin-diff-match-patch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-diff-match-patch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34129072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["4d-plugin"],"created_at":"2024-11-11T02:20:42.597Z","updated_at":"2026-06-09T22:31:35.373Z","avatar_url":"https://github.com/miyako.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"![version](https://img.shields.io/badge/version-18%2B-EB8E5F)\n![platform](https://img.shields.io/static/v1?label=platform\u0026message=mac-intel%20|%20mac-arm%20|%20win-64\u0026color=blue)\n[![license](https://img.shields.io/github/license/miyako/4d-plugin-diff-match-patch)](LICENSE)\n![downloads](https://img.shields.io/github/downloads/miyako/4d-plugin-diff-match-patch/total)\n\n# 4d-plugin-diff-match-patch\nBasic implementation of [google-diff-match-patch](https://github.com/google/diff-match-patch)\n\n### Screenshot\n\n\u003cimg width=\"421\" alt=\"2018-02-14 15 49 21\" src=\"https://user-images.githubusercontent.com/1725068/36197663-bed69022-11b7-11e8-8425-3dc7ae9fb62d.png\"\u003e\n\ninstead of standard ``\u003cins\u003e`` and ``\u003cdel\u003e`` tags with ``background`` style, the library is modified to return ``\u003cspan\u003e`` with ``background-color`` style, for better compatibility with 4D multi style text.\n\n## Syntax\n\n```\ndiff:=diff_match_patch (old;new{;options})\n```\n\nParameter|Type|Description\n------------|------------|----\nold|TEXT|\nnew|TEXT|\noptions|TEXT|JSON\ndiff|TEXT|4D styled text (HTML subset)\n\n* Properties of options and thier default values\n\n``diffTimeout``:``1.0``  \n``diffEditCost``:``4``  \n``patchMargin``:``4``  \n``patchDeleteThreshold``:``0.5``  \n``matchThreshold``:``0.5``  \n``matchDistance``:``1000``  \n``matchMaxBits``:``32``  \n\nsee [diff_match_patch.h](https://github.com/miyako/4d-plugin-diff-match-patch/blob/master/diff_match_patch/cpp/diff_match_patch.h) for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2F4d-plugin-diff-match-patch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiyako%2F4d-plugin-diff-match-patch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2F4d-plugin-diff-match-patch/lists"}