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

Bug 340607

Summary: Add support for highlighting matching parentheses/brackets
Product: [Tools] PTP Reporter: leonard.jeloaica
Component: Photran.UnknownAssignee: Jeffrey Overbey <com-eclipse-dot-org>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P4 CC: com-eclipse-dot-org, dharenberg
Version: unspecified   
Target Milestone: 8.0   
Hardware: PC   
OS: All   
Whiteboard:

Description leonard.jeloaica CLA 2011-03-21 16:36:40 EDT
Hello,

I would like to propose two useful features for the next versions of Phortran, features that are available in kate (kde) :
1)it would be very helpful to have the same options for highlighting, specially for bracket's pairs, as is already functional in c/c++ eclipse projets; 
even better, the kate system of highlighting for the bracket's pairs, which colors differently only the portion between the corresponding brackets, including the case when the code is continued over several consecutive lines;
2) for this purpose, evidently the option "Block Selection Mode" is worth to be implemented too, otherwise the highlight is not very clear;  also, there are many situations when using block selection mode one can more easily add comments or code without the need to rewrite for scratch; it's also helpful for the reindentation of a "ugly" (difficult to read) older code.
It will be great to have all these features in Phortran 7.0 or later.

Best regards,
Leonard
Comment 1 Daniel Harenberg CLA 2011-04-16 08:09:10 EDT
I totally agree - would be fantastic to see thins in 7.0 (in particular bracket highlighting)
Comment 2 Jeffrey Overbey CLA 2012-05-07 17:57:53 EDT
Hi Leonard and Daniel,

Good news... I am adding support for matching bracket highlighting in Photran 8.0.

I'm re-purposing this bug for that.  I have filed a separate bug (Bug 378760) for block selection mode; it doesn't look like that will make it into Photran 8, unfortunately.
Comment 3 Jeffrey Overbey CLA 2012-05-07 18:00:14 EDT
Committed to Git master for 8.0/Juno M7.  Need to update documentation, add workspace enablement/color preference...