Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VB style comments don't work #27

Closed
GoogleCodeExporter opened this issue Apr 19, 2016 · 3 comments
Closed

VB style comments don't work #27

GoogleCodeExporter opened this issue Apr 19, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

See issue 25. Same with vb inline comments

'vb comment

The problem is that the newline delimits the end of a comment, but
google-code-prettify doesn't catch it.

Original issue reported on code.google.com by jan.sud...@gmail.com on 8 Jan 2008 at 6:27

@GoogleCodeExporter
Copy link
Author

I'm seeing the same problem with ASP.NET and VB.NET code containing ' before a 
comment. 

Code: 

''preforms all the calculations to display amortization schedule.
        Protected Sub btnAmortization_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnAmortization.Click
                Dim decLoanAmount As Decimal    'variable for the loan amount
                Dim dblInterestRate As Double   'variable for the interest rate
                Dim dblLoanTerm As Double          'variable for the number of months
                Dim strLoanAmount As String      'string from loan amount text box
                strLoanAmount = Me.txtLoanAmount.Text
                Dim strInterestRate As String   'string from interest rate text box
                strInterestRate = Me.txtInterestRate.Text
                Dim strLoanTerm As String          'string from loan term text box
                strLoanTerm = Me.txtLoanTerm.Text * 12


Example page:
http://www.dreamincode.net/forums/index.php?act=ST&f=30&t=72634&st=0#entry470490

Original comment by skyhawk...@gmail.com on 4 Dec 2008 at 2:31

@GoogleCodeExporter
Copy link
Author

Added support at revision 54.

Original comment by mikesamuel@gmail.com on 6 Jan 2009 at 4:18

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Mike, 

I'm running rev 64 with the lang-vb file and the comments in VB/VB.NET still 
aren't
working. I'm seeing comment highlighting start at the first ' and it doesn't end
until it encounters another '

Attached is a test file, and you can also see it happening here:
http://www.dreamincode.net/forums/index.php?showtopic=87819&hl=

Original comment by skyhawk...@gmail.com on 20 Feb 2009 at 6:34

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant