On Jan 21, 2013, at 12:27 AM, Joseph Coyle wrote:

> Regarding the phantom text problem I have had a poke around the subversion 
> tree and found that the bug was introduced in the subversion commit from 28 
> August 2012 10:02:49 GMT+01:00.   Specifically the method:  - 
> (void)textStorageDidProcessEditing:(NSNotification *)notification from 
> RScriptEditorTextView was altered to comment out the if statement shown below 
> which serves to interrupt the syntax highlighting on large text blocks to 
> improve performance. 
> 
>               if([[theTextStorage string] length] > 120000) {
>                       breakSyntaxHighlighting = 1;
>               }
> 
> The line below was then added presumably as a temporary test. 
> 
> breakSyntaxHighlighting = 1;

Hi Joseph,

thanks for the effort!

Indeed, I found out that the syntax highlighting parser was responsible for 
this "phantom" text caused by an uncaught output of the underlying lex parser. 
Today I've already sent Simon my patch thus in the next release this "phantom" 
will disappear.

Cheers,
Hans
_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to