[Rd] Colour mistake (PR#13562)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Mar 2 09:31:02 CET 2009
This is the way Rgui (which I guess you mean as Rterm
does not use colours) was intended to work, so it is not a 'mistake'.
Rather than 'red' and 'blue', Rgui has user-selectable separate
colours for user input (default DarkRed) and for R output (default
NavyBlue). When you do what I believe you did (at least if 'anything'
is not TAB again) you are accepting a completion, which is R output
and hence is in the 'R output' colour.
What I understand you were expecting was that completions be treated
as user input. That is I think fairly simple to do, and I've made the
change in R-devel (r48038). Please try that (snapshots will be
available tomorrow UK time) and let us know if you find the behaviour
more intuitive.
On Sun, 1 Mar 2009, plwm2 at cam.ac.uk wrote:
> Full_Name: Peter Man
> Version: 2.8.1
> OS: Windows Vista
> Submission from: (NULL) (128.232.240.217)
>
>
> When typing out any command (for example 'log'), and using auto-completion of
> that command by pressing tab twice in order to view all possible 'completions',
> when you next press anything, the command turns blue rather than keeping the
> original red colour.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-devel
mailing list