Loading
Commits on Source 29
-
Christian Hergert authored
-
g.willems authored
Language definitions having a final semicolon in their globs list may incorrectly match empty filenames when guessing the language. Ignore empty globs for matching.
-
Christian Hergert authored
languagemanager: ignore empty globs See merge request GNOME/gtksourceview!361
-
g.willems authored
Keep on painting the line highlight as long as it's not fully out of the visible scrolling area.
-
Christian Hergert authored
view: highlight partially visible line See merge request GNOME/gtksourceview!362
-
g.willems authored
When the `style-scheme` property is unset (i.e. NULL), GtkSourceView was keeping the previous style (the "classic" one by default) for rendering the current line, also in the gutters. Make sure the current line style properties used by the view and gutters are properly reset after unsetting the style scheme.
-
Christian Hergert authored
view: reset current line style properties after unsetting the style scheme See merge request GNOME/gtksourceview!363
-
Rubén Muñoz--Bertrand authored
Change the regex for the generic command parsing in latex.lang. Fixes: #350.
-
Christian Hergert authored
Fix command parsing in latex.lang Closes #350 See merge request GNOME/gtksourceview!360
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
This appears to be significantly smoother than doing it in snapshot. It appears to originally have been done in snapshot because it was in draw() previously (and draw_layer later on).
-
Christian Hergert authored
-
Christian Hergert authored
We can't just do this from size_allocate, even thought that does improve the smoothness. We also need it from snapshot() so that if something was updated without changing the allocation we still get updated syntax highlighting.
-
Christian Hergert authored
-
Christian Hergert authored
This has to be done in GtkSourceView just given how things work. But the GtkSourceMap generally has a lot in view and we don't want to try to do the ensure_highlight() here beacuse we're too late in the frame clock cycle for that sort of non-deterministic time. We already do it from size_allocate() which should be okay given that we are generally scrolled. The visible area for the main view should pick up the rest of the changes for us.
-
Christian Hergert authored
Instead of a transform + text for each line number we can use the GskTextNode with an x offset, y offset + baseline. This can save a lot of allocations and well as simplify processing.
-
Christian Hergert authored
Fixes #397
-
Christian Hergert authored
-
Christian Hergert authored
This draws below instead of above so that text is more legible. This will also allow us to premix the slider background color so that we avoid an RGBA blend in the shader.
-
Christian Hergert authored
Try to generate the real color that would be created by alpha blending and render that instead as RGB color render node.
-
Christian Hergert authored
This might be a bit against how we're supposed to do it, but since we get the changes during an allocation of the view it's probably fine. This avoids deferring things until layer which can simplify what our frame clock will have to do.
-
Christian Hergert authored
This is useful for correlating to dropped frames.
-
Christian Hergert authored
-
Aefgh Threenine authored
-
Christian Hergert authored
-
Christian Hergert authored
This reverts commit f6f78ff8. This is causing portions of the map to not get updated until the main view scrolls them near visible. Bummer because it is not great to do these changes here.
-
Christian Hergert authored
-
Jeremy Bícha authored