88 UcxMapIterator i = ucx_map_iterator(docctx->vars); |
88 UcxMapIterator i = ucx_map_iterator(docctx->vars); |
89 UiVar *var; |
89 UiVar *var; |
90 UCX_MAP_FOREACH(key, var, i) { |
90 UCX_MAP_FOREACH(key, var, i) { |
91 UiVar *v = ucx_map_get(root->bound, key); |
91 UiVar *v = ucx_map_get(root->bound, key); |
92 if(v) { |
92 if(v) { |
93 // copy binding: after this all doc vars with names of previously |
93 // copy binding: after this, all doc vars with names of previously |
94 // bound variables are bound to the widgets |
94 // bound variables are bound to the widgets |
95 // the widgets still hold a pointer to the root ctx vars, but this |
95 // the widgets still hold a pointer to the root ctx vars, but this |
96 // vars have a pointer to the document variable value - confusing |
96 // vars have a pointer to the document variable value - confusing |
97 uic_copy_binding(v, var, TRUE); |
97 uic_copy_binding(v, var, TRUE); |
98 } |
98 } |