ronggui <ronggui.huang <at> gmail.com> writes:

> 
> There is a problem with font<- .
> 
> g<-gtext(con=T)
> 
> enter some text, and select a chunk of text.
> 
> font(g) <- c("color"="red")
> 
> Now I would like to change the color back into "black". But font(g) <-
> c("color"="black") does not work.
> 
> Thanks
> 

This is now fixed for RGtk2 as of version 0.0-29 (which was just uploaded to
CRAN). I'm not sure font<- alone does what you want. It only changes colors. 
You might need to look at RGtk2's gtkTextBufferRemoveTag to remove colors.

--John

--snip--

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to