Bug 396841 - After toggle comment and uncomment the // remain before the opening php tag: <?php
Summary: After toggle comment and uncomment the // remain before the opening php tag: ...
Status: REOPENED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-18 09:42 EST by Zhongwei Zhao CLA
Modified: 2020-05-14 10:16 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zhongwei Zhao CLA 2012-12-18 09:42:13 EST
Steps:
1. Have a php code in a file. 
2. Ctrl+A to select all and then Toggle comment
3. Repeat the 2. to uncomment all.

Expected:
The code looks like before commenting

Actual:
The opening php tag stays with // in front.
Comment 1 Zhongwei Zhao CLA 2012-12-18 10:11:44 EST
fixed
Comment 2 Zhongwei Zhao CLA 2013-01-25 07:32:04 EST
revert the code to make it work in Eclipse 3.8.1,see https://bugs.eclipse.org/bugs/show_bug.cgi?id=399056