From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Gacquer To: Mo DeJong , sourcenav@sources.redhat.com Cc: Benoit Germain Subject: RE: cursor color.... Date: Tue, 06 Feb 2001 10:03:00 -0000 Message-id: <5D2A198567EED311BD0F009027A25C8760DA71@SRVMAIL-ANN> X-SW-Source: 2001-q1/msg00085.html thanks! By reading your example, I was able to deduce that the best way is to put an extra line : -cursor {xterm red white} in multiedit.tcl, line 121 (SN 4.5.2 ) and of course, not to forget the "\" at the end of line 121 ! Best regards, William -----Original Message----- From: Mo DeJong [ mailto:mdejong@cygnus.com ] Sent: mardi 6 fevrier 2001 18:15 To: sourcenav@sources.redhat.com Subject: Re: cursor color.... On Tue, 6 Feb 2001, William Gacquer wrote: > Hello > Suppose that the text editable region has a black background. SN currently > displays the cursor in black also. That's pretty disapointing! > How can I ask SN to display it differently, for instance in a white ( > inverse black ) color? > > Where should I put the tcl command in the SN sources? > > Regards, > > William Gacquer Take a peek at this post to see how it is done for a plain old text widget. http://sources.redhat.com/ml/sourcenav/2000-q4/msg00313.html You will have to figure out where to add it, I would think that the following line in multiedit.tcl (near line 90) would be a good place to start: #create the text editor text $editor \ Of course, the real fix would be to add a prefs option for this color property. Mo DeJong Red Hat Inc