- Apr 17, 2024
-
-
Christian Hergert authored
These are used by Builder and Text Editor when recoloring so that they can more closely match the original style expectations of Adwaita. Fixes #361
-
- Apr 02, 2024
-
-
Christian Hergert authored
utils: fix fontconfig availability check Closes #360 See merge request !368
-
- Mar 30, 2024
-
-
- Mar 29, 2024
-
-
- Mar 20, 2024
-
-
Christian Hergert authored
lang-spec: Move elixir to Source section See merge request !367
-
- Mar 19, 2024
-
-
Michel Davit authored
Fix typo in Elixir language specification section. Documentation state that used categories in GtkSourceView are “Source”, “Script”, “Markup”, “Scientific” and “Other”
-
- Mar 15, 2024
-
-
Christian Hergert 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
-
-
- Mar 10, 2024
-
-
Christian Hergert authored
-
- Mar 08, 2024
-
-
Christian Hergert authored
This is useful for correlating to dropped frames.
-
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.
-
- Mar 07, 2024
-
-
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 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
-
- Mar 06, 2024
-
-
Christian Hergert authored
Fixes #397
-
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.
-
- Mar 05, 2024
-
-
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
-
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 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).
-
- Mar 03, 2024
-
-
Christian Hergert authored
-
Christian Hergert authored
-
- Feb 28, 2024
-
-
Christian Hergert authored
Fix command parsing in latex.lang Closes #350 See merge request !360
-
Change the regex for the generic command parsing in latex.lang. Fixes: #350.
-
- Feb 25, 2024
-
-
Christian Hergert authored
view: reset current line style properties after unsetting the style scheme See merge request !363
-
- Feb 24, 2024
-
-
gwillems 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.
-
- Feb 16, 2024
-
-
Christian Hergert authored
view: highlight partially visible line See merge request !362
-
gwillems authored
Keep on painting the line highlight as long as it's not fully out of the visible scrolling area.
-
- Feb 12, 2024
-
-
Christian Hergert authored
languagemanager: ignore empty globs See merge request !361
-
gwillems 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
-
Christian Hergert authored
-
Christian Hergert authored
Otherwise we end up creating a way-too-large damage region within the render node diff implementation. This ensures we keep smaller damage regions when scrolling so long as the current line is out of view.
-
- Feb 11, 2024
-
-
Piotr Drąg authored
-
- Feb 10, 2024
-
-