summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/fontify.c
Commit message (Collapse)AuthorAgeFilesLines
* textbuffer: Redo insert markup a little bitMatthias Clasen2020-09-191-61/+176
| | | | | | | | | Redo the tag insertion function to avoid quadratic behavior, and at the same time, fix handling of alpha for color attributes. Update the copy of this function in gtk4-demo as well.
* gtk-demo: Do markup parsing incrementally tooMatthias Clasen2020-08-131-24/+73
| | | | | Pango has a markup parser api, might as well use it to keep things responsive.
* gtk-demo: Fix the Windows buildMatthias Clasen2020-08-131-0/+4
|
* gtk-demo: Move the highlighting to a separate fileMatthias Clasen2020-08-131-0/+405
Move all the logic related to asynchronous highlighting to fontify.c, to keep main.c from becoming too cluttered.