ron icon indicating copy to clipboard operation
ron copied to clipboard

get sequential ids in RGA.edit, ORSet.newStruct

Open cblp opened this issue 7 years ago • 2 comments

cblp avatar Nov 03 '18 12:11 cblp

Can you describe this one in more detail?

iupii avatar Aug 19 '19 15:08 iupii

do 
  rga <- newObjectFrame $ RGA ""
  execObjectState rga $ RON.Data.RGA.editText "hello"

creates following object:

*rga  #B/0000000DrD+000000000J  !
  @`}Xgg  'h'
  @}m_B   'e'
  @}y2B   'l'
  @{1CjB  'l'
  @}HMB   'o'
.

Events }Xgg, }m_B, }y2B, {1CjB, }HMB are created in the same action, but are not sequential. They must be }Xgg, )h, )i, )j, )k, i.e. each one must be equal to previous plus 1.

cblp avatar Aug 19 '19 15:08 cblp