static S replayTextEdit(TextEdit change, S text) { if (change == null) ret text; ret substring(text, 0, change.startIndex) + change.text + substring(text, change.endIndex); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009712 |
Snippet name: | replayTextEdit |
Eternal ID of this version: | #1009712/1 |
Text MD5: | 7301165a33484e87326b660ec214258f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-14 22:50:56 |
Source code size: | 191 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 429 / 483 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |