Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

22
LINES

< > BotCompany Repo | #1012251 // Show diffs between all versions of a snippet (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (14648L/94K).

!7

static int maxVersions = 100;

p-tt {
  botWithInput(#1012244);
}

answer {
  S snippetID = fsI(trim(s));
  L<SnippetVersion> l = textChangesOfSnippet(snippetID, maxVersions);
  S text = loadSnippet(snippetID);
  clearConsole();
  print();
  print("Analyzing " + snippetID);
  print();
  for (SnippetVersion v : takeFirst(maxVersions, l)) {
    printAsciiHeading(snippetID + " text changed " + v.date);
    print(unidiff(v.previousValue, text));
    text = v.previousValue;
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, omdjrrnzbjjv, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1012251
Snippet name: Show diffs between all versions of a snippet (OK)
Eternal ID of this version: #1012251/14
Text MD5: ed781244b7944c7d3c19ab2e89f98786
Transpilation MD5: d203eef16a30a52f32505fc6523fe89b
Author: stefan
Category: javax / snippets
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-14 04:04:00
Source code size: 504 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 490 / 1237
Version history: 13 change(s)
Referenced in: #1022779 - Show diffs between old transpilations of snippet [OK for public snippets]