| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fix s/occurence/occurrence in many places.
|
|
|
|
|
|
|
| |
The function is useful for a GtkTextTag subclass that adds new
properties.
https://bugzilla.gnome.org/show_bug.cgi?id=755416
|
|
|
|
|
|
| |
Following a similar change in GLib a while ago.
'bla' may by stupid, but it looks less dumb than `bla'.
|
|
|
|
|
| |
Add a ::font-features attribute to GtkTextTag, and support
font features when inserting Pango markup into a text buffer.
|
|
|
|
|
| |
Fix for 28063ee2e42e7ce47b7bd5326f2d53875a377d57 which got cherry-picked
to 3.16
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit adds the GtkTextTag:underline-rgba and :strikethrough-rgba
properties and the necessary plumbing to apply these colors in GtkTextLayout.
With this change, you can alter the color of underlines including those
of type PANGO_UNDERLINE_ERROR.
You might want to alter the underline color to differentiate between
spelling and grammer mistakes. In code editors, it is convenient to
differentiate between errors and warnings.
Note that the GtkTextAppearance struct is public ABI and has no spare
room for new fields, so we are resorting to some tricky packing to store
the colors in the unused pixel field of the fg_color and bg_color structs.
This packing is accomplished by the macros in gtktextattributesprivate.h.
Signed-off-by: Christian Hergert <christian@hergert.me>
https://bugzilla.gnome.org/show_bug.cgi?id=402168
|
|
|
|
|
| |
These were overlooked when adding ::fallback and ::letter-spacing
recently.
|
|
|
|
|
|
|
| |
Add support for the Pango attributes controlling font fallback
and letter spacing to GtkTextTag.
https://bugzilla.gnome.org/show_bug.cgi?id=740954
|
|
|
|
|
| |
It has been replaced by GdkRGBA. Time to make it official.
http://bugzilla.gnome.org/show_bug.cgi?id=636695
|
|
|
|
| |
Instead of Return value:
|
|
|
|
| |
https://wiki.gnome.org/Design/OS/Typography
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move GtkWrapMode from GtkTextTag to the GtkTextView section. The wrap
mode property is in the text view.
Links to the "mark-set" and "mark-deleted" signals.
Add a precision about gtk_text_buffer_get_iter_at_line().
Fix typo in gtk_text_tag_set_priority().
https://bugzilla.gnome.org/show_bug.cgi?id=708076
|
|
|
|
|
|
| |
Fix two typos in gtk/gtktexttag.c.
https://bugzilla.gnome.org/show_bug.cgi?id=706335
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=702996
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=687825
|
|
|
|
|
|
|
| |
Both GtkTextTag and GtkCellRenderer make use of "set" properties
which are a bit special. Document this.
https://bugzilla.gnome.org/show_bug.cgi?id=531319
|
| |
|
|
|
|
| |
and remove gtkmainprivate.h completely.
|
|
|
|
|
| |
Changed rgba to uppercase (Only in UI strings)
Fixed the typo: tolevel -> toplevel
|
| |
|
|
|
|
| |
Neither GdkColors nor GdkRGBAs are ever 'allocated' nowadays.
|
| |
|
|
|
|
| |
backwards compatability.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This now allows text view to render text with alpha values in
the text foreground and backgrounds, the work is almost complete,
currently the error-underline-color is still a GdkColor style property
and since we use only GdkRGBA for rendering it needs to be converted
and applied, probably a new rgba version of the style property should
also be introduced.
This commit adds tests/testtextview that must be run from the tests/
directory to show translucent text in action.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
At the same time, introduce a gtkmainprivate.h header
and various other cleanups.
Based on a patch by Tadej Borovšak.
https://bugzilla.gnome.org/show_bug.cgi?id=617471
|
|
|
|
|
|
| |
Based on patches by Javier Jardón.
https://bugzilla.gnome.org/show_bug.cgi?id=629955
|
|
|
|
| |
And fix gail to not poke at GtkTextTag internals
|
|
|
|
| |
Bug #627214.
|
|
|
|
| |
It was unused (apart from a few assertion that indeed it was unused).
|
|
|
|
|
| |
They seem pretty much unused and the only reason why GtkTextView uses a
GdkPangoRenderer and not a PangoCairoRenderer.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=623845
|
|
|
|
|
|
|
|
| |
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
|
|
|
|
|
| |
g_value_get_string and g_strdup should be replaced by
g_value_dup_string.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-12 Michael Natterer <mitch@imendio.com>
* examples/gtkdial/gtkdial.c
* gdk/gdkapplaunchcontext.c
* gdk/gdkpango.c
* gtk/gtkcellrendererpixbuf.c
* gtk/gtkcellrenderertext.c
* gtk/gtkcellview.c
* gtk/gtkcombobox.c
* gtk/gtkfontsel.c
* gtk/gtkinvisible.c
* gtk/gtkliststore.c
* gtk/gtktexttag.c
* gtk/gtktexttagtable.c: remove dereferencing from some function
pointers i missed before.
svn path=/trunk/; revision=21089
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-15 Xavier Claessens <xclaesse@gmail.com>
Bug 542523 - GtkTextTag should handle setting properties to NULL
* gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
setting it to NULL instead of displaying a warning.
svn path=/trunk/; revision=20836
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Mitch and Tim
svn path=/trunk/; revision=20669
|
|
|
|
|
|
|
|
|
|
|
| |
2007-04-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktexttag.[hc]: Add a way to specify accumulative
margins. (#344499, Nate Nielsen)
svn path=/trunk/; revision=17685
|
|
|
|
|
|
|
|
|
| |
2007-03-21 Ross Burton <ross@burtonini.com>
* gtk/gtktexttag.c:
Document the ::event signal (#420703).
svn path=/trunk/; revision=17547
|
|
|
|
|
|
| |
2006-10-08 Matthias Clasen <mclasen@redhat.com>
* Apply a cleanup patch by Kjartan Maraas (#341812)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2006-01-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktexttag.c (gtk_text_attributes_new): Initialize editable to
TRUE.
(gtk_text_tag_class_init): The default value for the direction property
is GTK_TEXT_DIR_NONE. Add notes about the initial values of the
font and language properties.
|