Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349894

Summary: add ${line_selection} and ${word_selection} in php editor template content assist
Product: z_Archived Reporter: Zhongwei Zhao <zhaozhongwei>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED FIXED QA Contact: Ilina Stefanova <ilina.s>
Severity: normal    
Priority: P3 CC: ilina.s, kalin.a, silviya
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Zhongwei Zhao CLA 2011-06-20 23:12:00 EDT
add ${line_selection} and ${word_selection} in php editor template content assist
Comment 1 Zhongwei Zhao CLA 2011-06-22 00:53:16 EDT
fixed
Comment 2 Ilina Stefanova CLA 2011-07-27 07:51:35 EDT
Cannot find such php template among the current active templates. Reopen.
Comment 3 Ilina Stefanova CLA 2011-07-29 07:58:16 EDT
More info by Zhao: go to: Preferences->PHP->Editor->Templates and add a new template. Insert Variable. There should be line_selection and word_selection. When you select a word in php editor then call content assist, you will see the new added template. When you select several lines the template contains line_selection will be displayed when you call content assist.

I can see only the word_selection and Zhao can see both. He will investigate it.
Comment 4 Zhongwei Zhao CLA 2011-08-08 00:44:44 EDT
please try the latest build,thanks
Comment 5 Zhongwei Zhao CLA 2011-08-08 00:48:51 EDT
change status
Comment 6 Kalin CLA 2011-10-18 10:17:33 EDT
Verified.
Closing...