jskinner / DefaultPackages

Old bug tracker for Sublime Text's "Default Packages", e.g. bad syntax highlighting
http://web.archive.org/web/20150524043750/https://www.sublimetext.com/forum/viewtopic.php?f=2&t=12095
26 stars 2 forks source link

Tab highlighting changes color before return in PHP files #147

Closed danieldulaney closed 8 years ago

danieldulaney commented 9 years ago

OS: Windows 10 Version: 3083

In PHP files, the bars or bullets that appears to indicate tabs or spaces when text is selected turn pink if they precede a return statement.

To reproduce:

<?php
    return
?>

The spaces in front of the return display in pink.

image

FichteFoll commented 9 years ago

Should be an easy fix, via https://github.com/sublimehq/Packages.

wbond commented 8 years ago

This is fixed in the latest version of the PHP syntax at https://github.com/sublimehq/Packages. It will be part of dev build 3112.