Libraryless. Click here for Pure Java version (1253L/12K/15K).
!747 m { !include #1000882 // Diff !include #1000883 // BlockDiffer static S text1, text2, diff; p { text1 = "hello\nworld"; text2 = "hello\nyour\nworld"; diff = fromLines(BlockDiffer.generateUniDiff(toLines(text1), toLines(text2), 1)); print(diff); } }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1000884 |
| Snippet name: | BlockDiffer test |
| Eternal ID of this version: | #1000884/1 |
| Text MD5: | c577d747348eb319265eb4c6333382eb |
| Transpilation MD5: | c5433d37b327450d14b3ba0de7112400 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-09-04 18:40:46 |
| Source code size: | 298 bytes / 15 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 980 / 1201 |
| Referenced in: | #1000996 - Diff two snippets #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |