Community
Participate
Working Groups
As https://bugs.eclipse.org/bugs/show_bug.cgi?id=531719 was wontfix, I have managed "Font getFont(int style)" inside InlinedAnnotationSupport. This private API gives 2 features: * fix redraw of character of line content annotation when this character as a custom font style (bold, italic, bold & italic both) * set line header codemining in italic. I think it's a good choice because in JDT Java Editor, mining and Java annotation (ex: "@Override") are renderer with same style. For the moment it's hard coded, but in the future mining renderer should be customized with preferences "Colors and Fonts".
New Gerrit change created: https://git.eclipse.org/r/119232
Created attachment 273084 [details] Redraw character font style Here a screenshot before the fix (the 'n' of 'null' is not bolded) and after the fix (the 'n' of 'null' is bolded).
Please split this bug into 2 different ones since one is about fixing a bug and the other in an enhancement; and fixes affect different classes.
> Please split this bug into 2 different ones Ok I have renamed the issue. Please see my new gerrit patch.
Gerrit change https://git.eclipse.org/r/119232 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=bebb5a000948239f296a4452c35595b51b5c26da
New Gerrit change created: https://git.eclipse.org/r/119267
Gerrit change https://git.eclipse.org/r/119267 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=cb1b3df3864ee3738666688b67c8bb26be780f0e