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

Bug 314644

Summary: Wrong cursor position using php short tags
Product: z_Archived Reporter: Kalin <kalin.a>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gadi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kalin CLA 2010-05-27 08:21:38 EDT
Build Identifier: EclipsePdt-2.2.0.v20100521

Go to main menu | Window | Preferences | PHP | Editor | Typing.
Tick 'Use Short Tags' check box.


Go to php editor (completely empty editor) and type (| is the cursor position):

<?| 

Actual:
You will get 
<? ?>| 

Expected:
<? |?>

See the expected cursor position.

Reproducible: Always
Comment 1 Zhongwei Zhao CLA 2010-05-27 09:42:36 EDT
fixed in head
Comment 2 Gadi Goldbarg CLA 2010-06-17 08:36:07 EDT
Verified at PDT-2.2.0.v20100616
Now if use only short tags, cursor is stay at right expected position.

Closing this issue...
Thanks

Verified by
Teodor Kirkov
teodor.k@zend.com