[rkward-tracker] [ rkward-Feature Requests-1795933 ] syntax highlighting buglets / wishes
SourceForge.net
noreply at sourceforge.net
Mon Sep 17 14:06:25 UTC 2007
Feature Requests item #1795933, was opened at 2007-09-17 00:55
Message generated for change (Comment added) made by tfry
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459010&aid=1795933&group_id=50231
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:
1+-2
1*-----2
1/+++2
etc.
ad 2 and 3: should be trivial
ad 4: Seems reasonable, but may be difficult to do.
----------------------------------------------------------------------
>Comment By: Thomas Friedrichsmeier (tfry)
Date: 2007-09-17 16:06
Message:
Logged In: YES
user_id=300591
Originator: YES
2 and 3 are fixed in SVN. 1 and 4 remain to be dealt with.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459010&aid=1795933&group_id=50231
More information about the rkward-tracker
mailing list