Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367415 - Matching brackets does not work in the last line of code
Summary: Matching brackets does not work in the last line of code
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 minor (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 07:28 EST by Sylvia Tancheva CLA
Modified: 2020-05-14 11:09 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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