Bug 15676 - Syntax highlighting changes depending on scroll position in editor
Summary: Syntax highlighting changes depending on scroll position in editor
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: Mac GUI / Mac specific (show other bugs)
Version: R 3.0.2
Hardware: x86_64/x64/amd64 (64-bit) OS X Mavericks
: P5 minor
Assignee: Simon Urbanek
URL:
Depends on:
Blocks:
 
Reported: 2014-02-19 15:58 UTC by joey reid
Modified: 2014-02-19 15:58 UTC (History)
0 users

See Also:


Attachments
R script file with syntax highlight problem starting around line 151 (7.53 KB, text/plain)
2014-02-19 15:58 UTC, joey reid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joey reid 2014-02-19 15:58:01 UTC
Created attachment 1566 [details]
R script file with syntax highlight problem starting around line 151

The syntax highlighting in the editor sometimes inverts (thinks all text is in quotes) depending on the position of text in the editor. Scrolling towards the top often causes highlighting to revert to its proper form. This seems to happen in editor files with large blocks of quoted text, with the highlighting getting strange some point after the text block disappears offscreen.

In this file, the transition occurs when line 151 just starts to disappear off the top of the editor. This is 12 lines after the large block of text defining the stan model. If I add additional lines above the text, the transition is moved further down, always 12 lines after the block of text.

I'm using: R 3.0.2 GUI 1.62 Snow Leopard build (6558)