Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: GitHub noreply@github.com Date: Fri, 13 Oct 2023 21:05:24 UTC Commit: 74202cdd1b032f5ccf53c6ff1f8f5abe02ef88e9 https://github.com/geany/geany-plugins/commit/74202cdd1b032f5ccf53c6ff1f8f5a...
Log Message: ----------- Merge pull request #1280 from techee/changebar_fix
git-changebar: Re-set first visible line after Scintilla size request
Modified Paths: -------------- git-changebar/src/gcb-plugin.c
Modified: git-changebar/src/gcb-plugin.c 3 lines changed, 3 insertions(+), 0 deletions(-) =================================================================== @@ -879,6 +879,9 @@ get_widget_for_buf_range (GeanyDocument *doc, MIN (width + 2, alloc.width), MIN (height + 1, alloc.height));
+ /* Size request seems to scroll Scintilla view so we have to re-set visible lines again */ + scintilla_send_message (sci, SCI_SETFIRSTVISIBLELINE, line_start, 0); + return GTK_WIDGET (sci); }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org