Sublime Forum

PHP Syntax Highlight issue for multi-line comments

#1

When creating a comment in PHP with this syntax, the highlighter “breaks” rest of the file.

<?php
/**
 * PHP comment
 *
 * @see
 * @author
 * @package
 * @version
 NOTE: Modified */

The issue lies in the last sentence NOTE: Modified which does not begins with a asterisk (*) and thus breaks the syntax highlight.

0 Likes

#2

please can you log this at https://github.com/sublimehq/Packages/issues

0 Likes

#3

Sure thing.
Added as Issue 1378

0 Likes