mrg_ui/src/mtktextbuffer.cxx
//============================================================================
// Highlight the given region of this text GUI object.  Start tracking
// the region with the range of text.
//
Highlight the given region of this text GUI object.  Start tracking
the region with the range of text.
Highlight the given region of this text GUI object . Start tracking the region with the range of text .
void textBuffer::HighliteRegion(Region *region)
{
	int start, length;
	char *m = GetMarker(region);
	GetRegionRange(region, start, length);
	framework.Tcl("%s tag configure %s -background blue",
		       tk_name.str(), m);
	framework.Tcl("%s tag configure %s -foreground white",
		       tk_name.str(), m);
}
void textBuffer :: HighliteRegion ( Region * region ) { int start , length ; char * m = GetMarker ( region ) ; GetRegionRange ( region , start , length ) ; framework . Tcl ( " " , tk_name . str ( ) , m ) ; framework . Tcl ( " " , tk_name . str ( ) , m ) ; }
Highlight the given region of this text GUI object.
Highlight the given region of this text GUI object .