svoid dm_gazelle_newRuleDialog_2(S in) { dm_gazelle_newRuleDialog_2(in, dropPrefixTrim("+", lastLine(in))); } svoid dm_gazelle_newRuleDialog_2(S in, S out) { inputMultiLineText("New Gazelle Rule", in + "\n=> " + out, voidfunc(S s) { Pair<S, Bool> p = dm_gazelle_addRule(s); infoBox(p.b ? "Rule " + p.a + " added" : "Rule already there: " + p.a); }); }
Began life as a copy of #1021467
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021484 |
Snippet name: | dm_gazelle_newRuleDialog_2 |
Eternal ID of this version: | #1021484/4 |
Text MD5: | 5f1f1e0a10b884ebfe6955f7e7143561 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-14 23:45:36 |
Source code size: | 391 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 364 / 404 |
Version history: | 3 change(s) |
Referenced in: | [show references] |