Comments (3)
@derBluemel yes indeed today we have managed like this. Inlined content annotation takes place with GlyphMetrics width. But the use of GlyphMetrics replace the character so we must redraw it.
To fix this issue, we must improve OS TextLayout. See my current experimentation with windows https://bugs.eclipse.org/bugs/show_bug.cgi?id=531769
from jdt-codemining.
@angelozerr
OK! Thanks for your feedback. Doesn't seem to be an easy fix then... :(
On a side note: Why is the inlined annotation not affected by the LineBackgroundListener?
from jdt-codemining.
On a side note: Why is the inlined annotation not affected by the LineBackgroundListener?
It's perhaps because LineBackgroundListener is called when a line is drawn and the draw of inlined annotation is called in the AnnotationPainter (not in the same place). Never played with it but I thing it's one reason?
from jdt-codemining.
Related Issues (20)
- Eclipse 4.12 NPE for debug inline variable codeminings
- [Feature Request]: Don't mix references of src/main/java with src/test/java HOT 1
- reduce distraction by adding placeholder entries HOT 1
- Quick Diff highlights code mining lines instead of the source code line
- hide inline if codemining when typing
- Test codeminings are shown for testng tests as well HOT 1
- JUnit status doesn't work with nested static classes (Junit 4.13)
- Extra space before parameter name
- Cannot filter out parameter names whose are contained in the method name
- The last letter of `var` is wrong when using var code mining
- Is this the main repo for the official eclipse codemining? HOT 2
- Run / Debug Test Commands for Key Binding HOT 4
- Debugging code minings do not work for lambdas
- Code mining for end of methods
- Inconsistent font color when selected HOT 1
- Change default Code Mining Font Colors
- Clarify situation of Plugin with Eclipse 4.10 HOT 8
- restrict Code Minings search to ignore JRE and Dependencies HOT 2
- Parameter names not showing for superclass method call or this(...) constructor call
- Overlapping text / invalid cursor position on parameters in different lines HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jdt-codemining.