app: create separate tag lists for IME preedit colors.
In particular, I don't want the preedit foreground colors to be displayed in the text style editor UI. They are only temporary hints and should not be taken into account as user-chosen style.
This commit is contained in:
@ -1465,15 +1465,15 @@ gimp_text_tool_im_preedit_changed (GtkIMContext *context,
|
||||
|
||||
if (attr->klass->type == PANGO_ATTR_BACKGROUND)
|
||||
{
|
||||
gimp_text_buffer_set_bg_color (text_tool->buffer,
|
||||
&start, &end,
|
||||
&color);
|
||||
gimp_text_buffer_set_preedit_bg_color (text_tool->buffer,
|
||||
&start, &end,
|
||||
&color);
|
||||
}
|
||||
else
|
||||
{
|
||||
gimp_text_buffer_set_color (text_tool->buffer,
|
||||
&start, &end,
|
||||
&color);
|
||||
gimp_text_buffer_set_preedit_color (text_tool->buffer,
|
||||
&start, &end,
|
||||
&color);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user