sS gazelle_copyRuleWithNewIn(S ruleID, S newIn) { PairS p = dm_textAndCommentOfRule(ruleID); if (p == null) null; S newText = gazelle_replaceInOfRuleText(p.a, newIn); if (newText == null) null; gazelle_addRuleWithComment(newText, p.b); ret dm_gazelle_addRuleWithComment_msg!; }
Began life as a copy of #1022044
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1022045 |
Snippet name: | gazelle_copyRuleWithNewIn |
Eternal ID of this version: | #1022045/8 |
Text MD5: | 6ad7660602d8c64cad3d54bac599a591 |
Author: | stefan |
Category: | javax / gazelle |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-06 08:09:07 |
Source code size: | 296 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 263 / 312 |
Version history: | 7 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1022056 - gazelle_copyRuleWithNewFirstIn #1022058 - gazelle_copyRuleWithNewText |