I'm using Ubuntu 16.04 and Eclipse Neon. Everything looks OK but when I press enter, the new line flickering. Switching to the GTK2 solved the problem but I have some other issue in GTK2 such as scroll bar coloring and button coloring in the Dark theme.
Since I don't have any problem in GTK3 and the flickering is the only problem I have, how can I fix it in GTK3?
Here you can see how it flickers in GTK3
EDIT
Recently I tried Eclipse Oxygen 4.7.2 on Ubuntu GNOME, but the problem still exists. It Seems it's not the Unity problem.