adobe/brackets — pull request #3121 by TomMalbran (2013-03-13 08:25:08+00:00)
Title: Adding support for multiple lineComment prefixes

There are a few languages like PHP that support 2 types of line comment ("//" and "#").

To address this, I made lineComment be an array for every language and saved also as an array in Language. It will also return an array when asking for a linePrefix.

`lineCommentPrefix` can work with multiple line prefixes and uncomment any line comment prefix defined in the array if it is found at the start of the line as before, but it will always comment using the first line comment prefix.

`blockCommentPrefixSuffix` can also work multiple line prefixes and uncomment any line comment prefix defined in the array. This also fixes a bug where in PHP if there was a comment using `#` and you would Toggle Block Comment inside that line comment it could uncomment any block comment found before that line.