K 10 svn:author V 3 bde K 8 svn:date V 27 2017-07-09T12:13:37.085351Z K 7 svn:log V 234 Move open coding of construction of attributes for cut regions and text cursors to functions so that it is easier to fix and improve. This commit doesn't fix anything except for removing unnecessary complications and adding comments. END