tylerlong / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

comment detection in VB is over enthusiastic #254

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. code entered: _dt.Rows.RemoveAt(_dt.Rows.Count - 1)
2. expected result: <code><span class="pln">_dt</span><span 
class="pun">.</span><span class="pln">Rows</span><span 
class="pun">.</span><span class="pln">RemoveAt(_dt.Rows.Count - 1)</span></code>
3. actual result: <code><span class="pln">_dt</span><span 
class="pun">.</span><span class="pln">Rows</span><span 
class="pun">.</span><span class="com">RemoveAt(_dt.Rows.Count - 1)</span></code>

http://meta.stackoverflow.com/questions/152445/bug-in-syntax-highlighter-for-vb-
net

the rem in RemoveAt is seen as a remark, rather than part of the commend.

Original issue reported on code.google.com by madon...@gmail.com on 31 Oct 2012 at 6:31

GoogleCodeExporter commented 9 years ago
Thanks for the bug report.

Fixed in r228 which will be included in a forthcoming release.

Original comment by mikesamuel@gmail.com on 4 Feb 2013 at 10:09