Bug 841036 - Set default composition color to text field color; r=cpeterson
This commit is contained in:
@@ -384,6 +384,9 @@ final class GeckoEditable
|
|||||||
int rangeStart = composingStart;
|
int rangeStart = composingStart;
|
||||||
TextPaint tp = new TextPaint();
|
TextPaint tp = new TextPaint();
|
||||||
TextPaint emptyTp = new TextPaint();
|
TextPaint emptyTp = new TextPaint();
|
||||||
|
// set initial foreground color to 0, because we check for tp.getColor() == 0
|
||||||
|
// below to decide whether to pass a foreground color to Gecko
|
||||||
|
emptyTp.setColor(0);
|
||||||
do {
|
do {
|
||||||
int rangeType, rangeStyles = 0, rangeLineStyle = GeckoEvent.IME_RANGE_LINE_NONE;
|
int rangeType, rangeStyles = 0, rangeLineStyle = GeckoEvent.IME_RANGE_LINE_NONE;
|
||||||
boolean rangeBoldLine = false;
|
boolean rangeBoldLine = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user