[geany/geany-plugins] 583e33: git-changebar: Use the editor's zoom in the tooltips
Colomban Wendling
git-noreply at xxxxx
Tue Feb 17 22:43:34 UTC 2015
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Tue, 17 Feb 2015 22:43:34 UTC
Commit: 583e33f58fd6e588f34c81443c7be3f9ffac15e1
https://github.com/geany/geany-plugins/commit/583e33f58fd6e588f34c81443c7be3f9ffac15e1
Log Message:
-----------
git-changebar: Use the editor's zoom in the tooltips
Modified Paths:
--------------
git-changebar/src/gcb-plugin.c
Modified: git-changebar/src/gcb-plugin.c
3 lines changed, 3 insertions(+), 0 deletions(-)
===================================================================
@@ -595,6 +595,7 @@ get_widget_for_blob_range (GeanyDocument *doc,
const GeanyIndentPrefs *iprefs = editor_get_indent_prefs (doc->editor);
gint width = 0;
gint height = 0;
+ gint zoom;
gint i;
GtkAllocation alloc;
gchar *buf;
@@ -610,6 +611,8 @@ get_widget_for_blob_range (GeanyDocument *doc,
scintilla_send_message (sci, SCI_SETTABWIDTH, iprefs->width, 0);
}
scintilla_send_message (sci, SCI_SETINDENT, iprefs->width, 0);
+ zoom = scintilla_send_message (doc->editor->sci, SCI_GETZOOM, 0, 0);
+ scintilla_send_message (sci, SCI_SETZOOM, zoom, 0);
/* hide stuff we don't wanna see */
scintilla_send_message (sci, SCI_SETHSCROLLBAR, 0, 0);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list