Bug 537106 - Every Texteditor has syntaxhighlighting problems at current line when key is pressed and inserts char
Summary: Every Texteditor has syntaxhighlighting problems at current line when key is ...
Status: CLOSED DUPLICATE of bug 536234
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.8   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2018-07-17 07:02 EDT by Albert Tregnaghi CLA
Modified: 2018-07-17 07:04 EDT (History)
1 user (show)

See Also:


Attachments
Screenshot showing behaviour (597 bytes, image/png)
2018-07-17 07:02 EDT, Albert Tregnaghi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Tregnaghi CLA 2018-07-17 07:02:53 EDT
Created attachment 275020 [details]
Screenshot showing behaviour

When you are at a line of code where code already exists and is correctly syntax highlighted, and you enter just one single char (which keeps the syntaxhighlighting, e.g. at a comment line ) the typed char is always in default text color and not in the syntax highlight color.

I had this behaviour in JDT Java Editor and also on other editors as well.
I attached a screenshot where the behaviour is shown inside JDT Java Editor.

Steps to reproduce:
1. make a comment line with //xxx
2. move the cursor behind first x
3. type "y" and you got the wrong coloring

When typing again "y" the first "y" will in green but last one is black...

This is a regression to oxygen.
Comment 1 Thomas Wolf CLA 2018-07-17 07:04:45 EDT

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