forked from AuroraMiddleware/gtk
6525a11b8d
gtk_css_section_get_end_position() can return a position one byte beyond the end of the last line. gtk_text_buffer_get_iter_at_line_index() accepts only valid line_number/byte_index pairs. Another solution is to make the GtkTextBuffer function less strict, by returning a boolean if the exact position was found. The CSS parser should also be fixed to always return valid positions. But it's better to have a safety net in the CSS editor, just in case (a warning could be print). https://bugzilla.gnome.org/show_bug.cgi?id=735337 |
||
---|---|---|
.. | ||
action-editor.c | ||
action-editor.h | ||
actions.c | ||
actions.h | ||
actions.ui | ||
button-path.c | ||
button-path.h | ||
button-path.ui | ||
classes-list.c | ||
classes-list.h | ||
classes-list.ui | ||
css-editor.c | ||
css-editor.h | ||
css-editor.ui | ||
data-list.c | ||
data-list.h | ||
data-list.ui | ||
general.c | ||
general.h | ||
general.ui | ||
gestures.c | ||
gestures.h | ||
init.c | ||
init.h | ||
inspect-button.c | ||
inspector.gresource.xml | ||
logo.png | ||
Makefile.am | ||
menu.c | ||
menu.h | ||
menu.ui | ||
misc-info.c | ||
misc-info.h | ||
misc-info.ui | ||
object-hierarchy.c | ||
object-hierarchy.h | ||
object-hierarchy.ui | ||
prop-editor.c | ||
prop-editor.h | ||
prop-list.c | ||
prop-list.h | ||
prop-list.ui | ||
python-hooks.c | ||
python-hooks.h | ||
python-shell.c | ||
python-shell.h | ||
resource-list.c | ||
resource-list.h | ||
resource-list.ui | ||
signals-list.c | ||
signals-list.h | ||
signals-list.ui | ||
size-groups.c | ||
size-groups.h | ||
style-prop-list.c | ||
style-prop-list.h | ||
style-prop-list.ui | ||
visual.c | ||
visual.h | ||
visual.ui | ||
widget-tree.c | ||
widget-tree.h | ||
widget-tree.ui | ||
window.c | ||
window.h | ||
window.ui |