private void excludeTemplateRange ( int tPosBegin , int tPosEnd ) { if ( blockTabCnt > 0 ) { // Check whether we can extend the previous block. BlockTabRec btr = blockTab [ blockTabCnt - 1 ] ; if ( btr . dummy && btr . tPosEnd == tPosBegin ) { btr . tPosContentsEnd = tPosEnd ; btr . tPosEnd = tPosEnd ; return ; } } int blockNo = registerBlock ( null ) ; BlockTabRec btr = blockTab [ blockNo ] ; btr . tPosBegin = tPosBegin ; btr . tPosContentsBegin = tPosBegin ; btr . tPosContentsEnd = tPosEnd ; btr . tPosEnd = tPosEnd ; btr . definitionIsOpen = false ; btr . dummy = true ; }
Registers a dummy block to exclude a range within the template text .