[ESS-bugs] 1 vs. 1.
Martin Maechler
maechler at stat.math.ethz.ch
Thu Aug 30 22:44:01 CEST 2012
On Mon, Aug 27, 2012 at 10:38 PM, Vitalie Spinu <spinuvit at gmail.com> wrote:
> >> Rodney Sparapani <rsparapa at mcw.edu>
> >> on Mon, 27 Aug 2012 14:35:00 -0500 wrote:
>
> > I just got around to testing 12.09 r4989. There is one issue
> > with highlighting that I don't like. '1' is highlighted in
> > an annoying hospital yellow.
>
> (it's ess-numbers-face derived from font-lock-type-face)
>
> > I guess I could live with that.
>
> This won't be the default in the official release.
>
> >
> > But '1.' is not highlighted at all. Having just spent the best part
> > of 3 weeks coding in C/C++, I think we should make no distinction
> > between integers and doubles; leave that to the strongly typed
> > languages.
>
> I missed that for the simple reason that 1 and 1. in R are both doubles
> (integer is 1L), and it didn't occur to me that somebody might want to
> use 1. :)
Actually encountered the mis-fontification as well today ... during
typing / deleting
Further buglet : 'e1' is also fontified as constant number, but it is not.
Martin
>
> Vitalie.
>
> _______________________________________________
> ESS-bugs ESS-bugs at r-project.org
> https://stat.ethz.ch/mailman/listinfo/ess-bugs
>
> _______________________________________________
> ESS-core list: https://stat.ethz.ch/mailman/listinfo/ess-core
>
More information about the ESS-bugs
mailing list