What steps will reproduce the problem?
1. Start the application as it is now
2. Look at the richedit contents
You'll get error messages that the line cannot be inserted into the
richedit too.
What is the expected output? What do you see instead?
I expected syntax highlighted text. I see raw richedit code with blocks
instead.
What version of the product are you using? On what operating system?
I'm using version 2.0 (r7).
Please provide any additional information below.
As a quick fix, modify function strToRichEdit() in SyntaxHi.pas on line 266
from:
aMem.Write( Pointer(S)^, Length(S) );
to:
aMem.Write( Pointer( AnsiString(S) )^, Length( AnsiString(S) ) );
Original issue reported on code.google.com by SuperNiFF@gmail.com on 4 Dec 2009 at 5:26
Original issue reported on code.google.com by
SuperNiFF@gmail.com
on 4 Dec 2009 at 5:26