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

Bug 345918

Summary: [typing] The bracket highlighter should highlight the opening bracket too, and also when cursor is before the bracket
Product: [Eclipse Project] Platform Reporter: Martin Oberhuber <mober.at+eclipse>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Screenshot with the problem none

Description Martin Oberhuber CLA 2011-05-16 07:22:33 EDT
Created attachment 195718 [details]
Screenshot with the problem

CQ:WIND00276139

The Eclipse bracket highlighter should 
- highlight also when caret is BEFORE a bracket (not only after)
- or when selecting the bracket
- and should highlight both opening and closing bracket
such that it's better visible where the bracket begins and ends.

The current behavior of only highlighting the closing bracket is problematic when there's a symbol after the opening bracket, such that the caret disappears -- matching brackets are no longer visible (see attached screenshot).

The small tool "Notepad++" which is freely downloadable under GPL works as desired: http://notepad-plus-plus.org/
- highlight both opening and closing parenthesis
- highlight when caret is before, after, or selecting on the bracket
  - In case of a conflict: "(foo)(bar)" with caret between the )(, 
    the "(foo)" is highlighted
- highlight in clearly visible bold red
- highlight also in *.txt files
Comment 1 Dani Megert CLA 2011-05-16 09:28:02 EDT
(In reply to comment #0)
> Created attachment 195718 [details]
> Screenshot with the problem
Gut dass ich Deutsch kann ;-)

*** This bug has been marked as a duplicate of bug 121013 ***
Comment 2 Dani Megert CLA 2011-05-16 09:29:33 EDT

*** This bug has been marked as a duplicate of bug 9151 ***
Comment 3 Dani Megert CLA 2011-12-12 08:26:07 EST

*** This bug has been marked as a duplicate of bug 9503 ***