mrg_ui/src/mtktextbuffer.cxx
//============================================================================
// Stop tracking and remove highlights/underlines associated with this region.
//
Stop tracking and remove highlights/underlines associated with this region.
Stop tracking and remove highlights / underlines associated with this region .
Region::~Region()
{
	if(marker != NULL){
		textBuffer *tbuf = marker->owner;
		if (marker->tag_name != NULL) {
			tbuf->framework.Tcl("%s tag delete %s",
				             tbuf->tk_name.str(), marker->tag_name);
			delete [] marker->tag_name;
		}
		delete marker;
	}
}
Region :: ~ Region ( ) { if ( marker != NULL ) { textBuffer * tbuf = marker -> owner ; if ( marker -> tag_name != NULL ) { tbuf -> framework . Tcl ( " " , tbuf -> tk_name . str ( ) , marker -> tag_name ) ; delete [ ] marker -> tag_name ; } delete marker ; } }
Stop tracking and remove highlights/underlines associated with this region.
Stop tracking and remove highlights / underlines associated with this region .