
Code Snippet feature: random numbers, incrementing numbers.
I would like to have an incrementing number for each time a snippet is placed on a page. Something like:
Code:
trace("$(TypPkg).$(TypName).$(MbrName)() $(Clipboard) ($snippetIncrement) = " + $(EntryPoint)$(Clipboard)$(ExitPoint));
with
being replaced with the next integer.
I realize this may be difficult to implement, so -- as an alternative -- I would like a random number generator. E.g.:
Code:
trace("$(TypPkg).$(TypName).$(MbrName)() $(Clipboard) ($snippetRandom) = " + $(EntryPoint)$(Clipboard)$(ExitPoint));
with
being a random number. The length of the number could be fixed (e.g., 8 bytes or whatever).