Bug 365837 - Syntax Coloring Background for PHP Tags Colors Preceeding Whitespaces
Summary: Syntax Coloring Background for PHP Tags Colors Preceeding Whitespaces
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P2 trivial (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui, usability
Depends on:
Blocks:
 
Reported: 2011-12-07 03:38 EST by Jan-Raphael Chua CLA
Modified: 2020-05-14 10:15 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan-Raphael Chua CLA 2011-12-07 03:38:10 EST
Build Identifier: M20110909-1335

Putting opening php tags (<?php <?= <?) with whitespace preceeding them will color the preceeding whitespace with same background color as what was set with the background color for the php tags.

Ideally, there shouldn't be any coloring with the whitespace, right? Just really annoying to look at.

P.S. This also happens on auto-indentation of php tags (in the case of mixing it with HTML content)

Reproducible: Always

Steps to Reproduce:
1. (not sure of the impact but) I installed both PDT and Aptana Plug-in ('cause I wanted to look at its Coffeescript editor)
2. Set the syntax coloring for "PHP tags" with fg #0000FF and bg #ffe492
3. [Optional] Put some whitespace (tab or space or new line with just whitespaces)
4. Type the opening php tag (whichever works) afterwards (new line or current line)
5. Add/Remove some whitespace (of any kind) before the opening php tag