From mboxrd@z Thu Jan 1 00:00:00 1970 From: Syd Polk To: Mo DeJong , sourcenav@sources.redhat.com Subject: Re: cursor color.... Date: Tue, 06 Feb 2001 10:42:00 -0000 Message-id: <4.2.0.58.20010206104113.01ed39c0@pop.cygnus.com> References: <5D2A198567EED311BD0F009027A25C8760D963@SRVMAIL-ANN> X-SW-Source: 2001-q1/msg00086.html The stock answer is that cursor color should be controlled via the X Windows resource database commands. At 09:15 AM 2/6/01 -0800, Mo DeJong wrote: >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 Syd Polk spolk@redhat.com Engineering Manager +1 415 777 9810 x 241 Red Hat, Inc.