rulus.ui.core.text: execute given function