Pygments

generic syntax highlighter


Ticket #439 (closed enhancement: fixed)

Opened 11 months ago

Last modified 8 months ago

R Console Lexer (patch)

Reported by: ananelson Owned by: thatch
Priority: minor Milestone: 1.3
Component: lexers Keywords:
Cc:

Description

This adds support for lexing R Console transcripts, such as if you "Save As" from the R GUI or run R CMD BATCH on an R file. I have tested this on the attached .Rout file (and several others).

I basically copied the Python Console lexer approach.

Attachments

r-console-transcript.Rout (0.9 kB) - added by ananelson 11 months ago.
example file for tests/examplefiles
r-console-lexer.2.diff (2.3 kB) - added by ananelson 11 months ago.
r-console-lexer.diff (2.3 kB) - added by ananelson 11 months ago.

Change History

Changed 11 months ago by ananelson

example file for tests/examplefiles

Changed 11 months ago by ananelson

Here is a link to that diff, I can't see if by clicking on attachment so not sure it uploaded:

http://dpaste.de/Syjf/

Changed 11 months ago by ananelson

Changed 11 months ago by ananelson

Changed 11 months ago by thatch

  • owner changed from gbrandl to thatch
  • status changed from new to accepted
  • milestone set to 1.2

Added in [67b6edae6d0b] in my branch.

Changed 8 months ago by gbrandl

  • milestone changed from 1.2 to 1.3

Changed 8 months ago by gbrandl

  • status changed from accepted to closed
  • resolution set to fixed

Merged to main.

Note: See TracTickets for help on using tickets.