Revision: 4946 http://geany.svn.sourceforge.net/geany/?rev=4946&view=rev Author: eht16 Date: 2010-05-22 19:40:12 +0000 (Sat, 22 May 2010)
Log Message: ----------- Add hidden preference to disable automatic scrolling in the Compiler tab (closes #3004714).
Modified Paths: -------------- trunk/ChangeLog trunk/doc/geany.html trunk/doc/geany.txt trunk/src/keyfile.c trunk/src/msgwindow.c trunk/src/plugindata.h trunk/src/ui_utils.h
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-05-22 19:39:49 UTC (rev 4945) +++ trunk/ChangeLog 2010-05-22 19:40:12 UTC (rev 4946) @@ -11,6 +11,10 @@ closed. * plugins/classbuilder.c: Remove two unnecessary g_strdups(). + * doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c, + src/plugindata.h, src/ui_utils.h: + Add hidden preference to disable automatic scrolling in the + Compiler tab (closes #3004714).
2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Modified: trunk/doc/geany.html =================================================================== --- trunk/doc/geany.html 2010-05-22 19:39:49 UTC (rev 4945) +++ trunk/doc/geany.html 2010-05-22 19:40:12 UTC (rev 4946) @@ -6,7 +6,7 @@ <meta name="generator" content="Docutils 0.6: http://docutils.sourceforge.net/" /> <title>Geany</title> <meta name="authors" content="Enrico Tröger Nick Treleaven Frank Lanitz" /> -<meta name="date" content="2010-05-06" /> +<meta name="date" content="$Date$" /> <style type="text/css">
/* @@ -139,7 +139,7 @@ <br />Nick Treleaven <br />Frank Lanitz</td></tr> <tr><th class="docinfo-name">Date:</th> -<td>2010-05-06</td></tr> +<td>$Date$</td></tr> <tr><th class="docinfo-name">Version:</th> <td>0.19</td></tr> </tbody> @@ -4680,6 +4680,12 @@ and files can be saved.</td> <td>false</td> </tr> +<tr><td>compiler_tab_autoscroll</td> +<td>Whether to automatically scroll to the +last line of the output in the Compiler +tab.</td> +<td>true</td> +</tr> <tr><td><strong>VTE related</strong></td> <td> </td> <td> </td> @@ -6091,7 +6097,7 @@ <div class="footer"> <hr class="footer" /> <a class="reference external" href="geany.txt">View document source</a>. -Generated on: 2010-05-16 18:24 UTC. +Generated on: 2010-05-22 19:36 UTC. Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
</div>
Modified: trunk/doc/geany.txt =================================================================== --- trunk/doc/geany.txt 2010-05-22 19:39:49 UTC (rev 4945) +++ trunk/doc/geany.txt 2010-05-22 19:40:12 UTC (rev 4946) @@ -4035,6 +4035,9 @@ setting this option to true, the Save buttons and menu items are always active and files can be saved. +compiler_tab_autoscroll Whether to automatically scroll to the true + last line of the output in the Compiler + tab. **VTE related** emulation Terminal emulation mode. Only change this xterm if you have VTE termcap files other than
Modified: trunk/src/keyfile.c =================================================================== --- trunk/src/keyfile.c 2010-05-22 19:39:49 UTC (rev 4945) +++ trunk/src/keyfile.c 2010-05-22 19:40:12 UTC (rev 4946) @@ -189,6 +189,8 @@ "complete_snippets_whilst_editing", FALSE); stash_group_add_boolean(group, &interface_prefs.show_symbol_list_expanders, "show_symbol_list_expanders", TRUE); + stash_group_add_boolean(group, &interface_prefs.compiler_tab_autoscroll, + "compiler_tab_autoscroll", TRUE); stash_group_add_boolean(group, &ui_prefs.allow_always_save, "allow_always_save", FALSE); stash_group_add_boolean(group, &file_prefs.use_safe_file_saving,
Modified: trunk/src/msgwindow.c =================================================================== --- trunk/src/msgwindow.c 2010-05-22 19:39:49 UTC (rev 4945) +++ trunk/src/msgwindow.c 2010-05-22 19:40:12 UTC (rev 4946) @@ -272,7 +272,7 @@ gtk_list_store_append(msgwindow.store_compiler, &iter); gtk_list_store_set(msgwindow.store_compiler, &iter, 0, color, 1, msg, -1);
- if (ui_prefs.msgwindow_visible) + if (ui_prefs.msgwindow_visible && interface_prefs.compiler_tab_autoscroll) { path = gtk_tree_model_get_path( gtk_tree_view_get_model(GTK_TREE_VIEW(msgwindow.tree_compiler)), &iter);
Modified: trunk/src/plugindata.h =================================================================== --- trunk/src/plugindata.h 2010-05-22 19:39:49 UTC (rev 4945) +++ trunk/src/plugindata.h 2010-05-22 19:40:12 UTC (rev 4946) @@ -50,7 +50,7 @@ enum { /** The Application Programming Interface (API) version, incremented * whenever any plugin data types are modified or appended to. */ - GEANY_API_VERSION = 186, + GEANY_API_VERSION = 187,
/** The Application Binary Interface (ABI) version, incremented whenever * existing fields in the plugin data types have to be changed or reordered. */
Modified: trunk/src/ui_utils.h =================================================================== --- trunk/src/ui_utils.h 2010-05-22 19:39:49 UTC (rev 4945) +++ trunk/src/ui_utils.h 2010-05-22 19:40:12 UTC (rev 4946) @@ -58,6 +58,7 @@ gboolean msgwin_messages_visible; gboolean msgwin_scribble_visible; gboolean use_native_windows_dialogs; /* only used on Windows */ + gboolean compiler_tab_autoscroll; } GeanyInterfacePrefs;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.