Community
Participate
Working Groups
3.2 M4 I am using a recent version of gnome/gtk/pango, so this may be a problem of the libraries used etc, but you may be interested anyway. It seems that StyledText somehow computes/receives the wrong pixel offsets for text selections. A selected text range shows vertical bars at every word separator, and text colored using StyleRanges is off by one compared to the selection. I will attach a screenshot. Installed libraries: pango-1.10.2 gtk2-2.8.7 gnome 2.12
Created attachment 33057 [details] vertical-bars.png Selection in StyledText (Java editor). Note the vertical bars in the background color at word breaks.
Created attachment 33058 [details] selection-highlight.png Selection of a single word. Note how one pixel is missing off the end of the selected 'StyledText' identifier.
A dup?
sorry, didn't check... *** This bug has been marked as a duplicate of 123425 ***