Skip to content

Conversation

zonuexe
Copy link
Member

@zonuexe zonuexe commented Aug 27, 2019

This syntax was added in PHP 7.1.

The rule allows line breaks, but the pattern is not subject to coloring due to font lock restrictions. In this trial and error, I considered replacing some CC-Mode functions, but I gave up.

This syntax was added in PHP 7.1.

 * https://wiki.php.net/rfc/multiple-catch
 * https://www.php.net/manual/language.exceptions.php
 * https://www.php.net/manual/migration71.new-features.php#migration71.new-features.mulit-catch-exception-handling

The rule allows line breaks, but the pattern is not subject to
coloring due to font lock restrictions. In this trial and error,
I considered replacing some CC-Mode functions, but I gave up.
@zonuexe
Copy link
Member Author

zonuexe commented Aug 27, 2019

Before

スクリーンショット 2019-08-28 2 20 39

After

スクリーンショット 2019-08-28 2 18 39

@zonuexe zonuexe merged commit 5a5b907 into master Aug 27, 2019
@zonuexe zonuexe deleted the font-lock/support-multiple-catch branch August 27, 2019 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant