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

Bug 367415

Summary: Matching brackets does not work in the last line of code
Product: z_Archived Reporter: Sylvia Tancheva <silviya>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P2 CC: kalin.a, zhaozhongwei
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Sylvia Tancheva CLA 2011-12-22 07:28:49 EST
Have a code which has a closing bracket on the last line in the file.
Make sure there are no empty lines after it (the bracket is the last thing in the code).
The matching opening bracket will not b found.
Example:
<?php
class A{ <- this opening { will not be marked
	
}| <- cursor here
Comment 1 Zhongwei Zhao CLA 2012-05-17 02:03:35 EDT
fixed
Comment 2 Kalin CLA 2012-07-04 10:10:21 EDT
Verified fixed.
Closing...

Kalin Yanev
kalin.a@zend.com