[rkward-tracker] [ rkward-Feature Requests-1795933 ] syntax highlighting buglets / wishes

SourceForge.net noreply at sourceforge.net
Sun Sep 16 22:55:08 UTC 2007

Feature Requests item #1795933, was opened at 2007-09-17 00:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: syntax highlighting
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Thomas Friedrichsmeier (tfry)
Assigned to: Nobody/Anonymous (nobody)
Summary: syntax highlighting buglets / wishes

Initial Comment:
Pointed out by Ben Goodrich:

1) For x^-1, the "^-" is marked in red as an error, even though it is legal. So,
an override is needed to mark ^- as an operator rather than an error.

2) Similarly, for stats:::lm, the ":::" is improperly marked in red as an error.

3) Also, help(NA) indicates that NA_integer_, NA_real_, NA_complex_ and
NA_character_ are now available, so they should probably be marked in the same
color as NA is now.

4) Finally, maybe rkward could do something with the syntaxes for imaginary
numbers and integers? For example, in (0+1i)^2 the "0" is in blue, the "+" is
in orange, the "1" is in blue, and the "i" is in black, which looks sort of
funny. Maybe the whole "0+1i" should be in some exotic color to clearly
indicate that this is a complex number? Also, as.integer(3L) marks the "3" in
blue but the "L" in black, but they should probably both be blue.


ad 1: In general, + and - are legal after operators (as signs). E.g. even the following are legal:

ad 2 and 3: should be trivial

ad 4: Seems reasonable, but may be difficult to do.


You can respond by visiting: 

More information about the rkward-tracker mailing list