[R-SIG-Mac] built-in editor underlining
Parlamis Franklin
fparlamis at mac.com
Sun Sep 17 09:05:53 CEST 2006
Thanks, Simon. Of course I don't think you should do anything that
would prohibit sourcing the file (and I guess most would agree).
Re: syntax coloring. I've turned it off because, when editing the
beginning of a long file, I would get a long delay (multiple seconds)
after I entered an open quotes (") as the rest of the document
changed color because all quotes were now matched differently. Not
sure whether this is a slow implementation of that functionality, or
what is to done about it, but for this user at least, the delay issue
outweighs any benefit that I could get from syntax coloring.
Franklin
On Sep 16, 2006, at 4:52 PM, Simon Urbanek wrote:
> The build-in editor doesn't store any text attribute changes as the
> output is plain text. It does, however, allow text attribute
> changes, because they are used e.g. for syntax highlighting.
> Strictly speaking the bug is that you can use the <Cmd><U> command
> at all.
>
> Another approach would be to enhance the editor to support RTF
> format (internally it actually does allow it) which would allow you
> to use formatted text and store it. The drawback is that such a
> text is no longer executable directly in R, so you couldn't
> "source" it. I not quite sure what is more useful - I'm almost
> inclined to think that banning text format changes makes more
> sense, but I'm open to other suggestions...
>
> Cheers,
> Simon
>
> On Sep 15, 2006, at 8:53 PM, Parlamis Franklin wrote:
>
>> if i open a blank document in the built-in editor and enter the
>> following text:
>>
>> Help
>>
>> Help
>>
>> and then underline the first "Help" (by highlighting it, and using
>> either Meta-U or Format>Font>Underline), the underlining will show
>> up in my current session. but if i save the document and reopen it,
>> the underlining will be gone. what is more, if i then open the
>> document in another text editor (try TextEdit), highlight the first
>> help and try to underline it, everything in the document will be
>> underlined, including the second "Help"
>>
>> i've been using 2.4.0 alpha (about a week old) and the R.app
>> deployment build (Version 1.17-pre (3779)) for R 2.4.x from http://
>> cran.cnr.berkeley.edu/
>>
>> franklin parlamis
>>
>>> version
>> _
>> platform powerpc-apple-darwin8.7.0
>> arch powerpc
>> os darwin8.7.0
>> system powerpc, darwin8.7.0
>> status alpha
>> major 2
>> minor 4.0
>> year 2006
>> month 09
>> day 06
>> svn rev 39158
>> language R
>> version.string R version 2.4.0 alpha (2006-09-06 r39158)
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
>
More information about the R-SIG-Mac
mailing list