Rename hidden pref auto_complete_whilst_editing to complete_snippets_whilst_editing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2269 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
e298126ee7
commit
22d96653da
@ -1,3 +1,11 @@
|
|||||||
|
2008-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||||
|
|
||||||
|
* doc/geany.html, doc/geany.txt, src/editor.c, src/editor.h,
|
||||||
|
src/keyfile.csrc/plugindata.h:
|
||||||
|
Rename hidden pref auto_complete_whilst_editing to
|
||||||
|
complete_snippets_whilst_editing.
|
||||||
|
|
||||||
|
|
||||||
2008-02-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
2008-02-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||||
|
|
||||||
* plugins/*, src/*, tagmanager/*:
|
* plugins/*, src/*, tagmanager/*:
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<meta name="generator" content="Docutils 0.4.1: http://docutils.sourceforge.net/" />
|
<meta name="generator" content="Docutils 0.4.1: http://docutils.sourceforge.net/" />
|
||||||
<title>Geany</title>
|
<title>Geany</title>
|
||||||
<meta name="authors" content="Enrico Tröger Nick Treleaven Frank Lanitz" />
|
<meta name="authors" content="Enrico Tröger Nick Treleaven Frank Lanitz" />
|
||||||
<meta name="date" content="2008-02-16" />
|
<meta name="date" content="2008-02-18" />
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -133,7 +133,7 @@ dt {
|
|||||||
<br />Nick Treleaven
|
<br />Nick Treleaven
|
||||||
<br />Frank Lanitz</td></tr>
|
<br />Frank Lanitz</td></tr>
|
||||||
<tr><th class="docinfo-name">Date:</th>
|
<tr><th class="docinfo-name">Date:</th>
|
||||||
<td>2008-02-16</td></tr>
|
<td>2008-02-18</td></tr>
|
||||||
<tr><th class="docinfo-name">Version:</th>
|
<tr><th class="docinfo-name">Version:</th>
|
||||||
<td>0.14</td></tr>
|
<td>0.14</td></tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -2851,9 +2851,9 @@ restarting Geany. Search for the key name, then edit the value. Example:</p>
|
|||||||
configuration file.</p>
|
configuration file.</p>
|
||||||
<table border="1" class="docutils">
|
<table border="1" class="docutils">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="33%" />
|
<col width="34%" />
|
||||||
<col width="48%" />
|
<col width="46%" />
|
||||||
<col width="20%" />
|
<col width="19%" />
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead valign="bottom">
|
<thead valign="bottom">
|
||||||
<tr><th class="head">Key</th>
|
<tr><th class="head">Key</th>
|
||||||
@ -2877,8 +2877,8 @@ scrollbars are hidden completely.</td>
|
|||||||
<td>true</td>
|
<td>true</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td>use_tab_to_indent</td>
|
<tr><td>use_tab_to_indent</td>
|
||||||
<td>Whether pressing tab when a line is selected
|
<td>Whether pressing tab when a line is
|
||||||
will indent the line.</td>
|
selected will indent the line.</td>
|
||||||
<td>true</td>
|
<td>true</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td>use_gtk_word_boundaries</td>
|
<tr><td>use_gtk_word_boundaries</td>
|
||||||
@ -2888,9 +2888,11 @@ commands (see <a class="reference" href="#scintilla-keyboard-commands">Scintilla
|
|||||||
commands</a>).</td>
|
commands</a>).</td>
|
||||||
<td>true</td>
|
<td>true</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td>auto_complete_whilst_editing</td>
|
<tr><td>complete_snippets_whilst_editing</td>
|
||||||
<td>Whether to allow autocompletion when editing
|
<td>Whether to allow completion of snippets
|
||||||
an existing line.</td>
|
when editing an existing line (i.e. there
|
||||||
|
is some text after the current cursor
|
||||||
|
position on the line).</td>
|
||||||
<td>false</td>
|
<td>false</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td>scroll_stop_at_last_line</td>
|
<tr><td>scroll_stop_at_last_line</td>
|
||||||
@ -3426,7 +3428,7 @@ USE OR PERFORMANCE OF THIS SOFTWARE.</p>
|
|||||||
<div class="footer">
|
<div class="footer">
|
||||||
<hr class="footer" />
|
<hr class="footer" />
|
||||||
<a class="reference" href="geany.txt">View document source</a>.
|
<a class="reference" href="geany.txt">View document source</a>.
|
||||||
Generated on: 2008-02-18 19:50 UTC.
|
Generated on: 2008-02-21 15:39 UTC.
|
||||||
Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
|
Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -2521,28 +2521,30 @@ restarting Geany. Search for the key name, then edit the value. Example:
|
|||||||
The table below show the key names of hidden preferences in the
|
The table below show the key names of hidden preferences in the
|
||||||
configuration file.
|
configuration file.
|
||||||
|
|
||||||
============================== ============================================ ==================
|
================================ =========================================== ==================
|
||||||
Key Description Default
|
Key Description Default
|
||||||
============================== ============================================ ==================
|
================================ =========================================== ==================
|
||||||
**[editor]**
|
**[editor]**
|
||||||
brace_match_ltgt Whether to highlight <, > angle brackets. false
|
brace_match_ltgt Whether to highlight <, > angle brackets. false
|
||||||
show_editor_scrollbars Whether to display scrollbars. If set to true
|
show_editor_scrollbars Whether to display scrollbars. If set to true
|
||||||
false, the horizontal and vertical
|
false, the horizontal and vertical
|
||||||
scrollbars are hidden completely.
|
scrollbars are hidden completely.
|
||||||
use_tab_to_indent Whether pressing tab when a line is selected true
|
use_tab_to_indent Whether pressing tab when a line is true
|
||||||
will indent the line.
|
selected will indent the line.
|
||||||
use_gtk_word_boundaries Whether to look for the end of a word when true
|
use_gtk_word_boundaries Whether to look for the end of a word when true
|
||||||
using word-boundary related Scintilla
|
using word-boundary related Scintilla
|
||||||
commands (see `Scintilla keyboard
|
commands (see `Scintilla keyboard
|
||||||
commands`_).
|
commands`_).
|
||||||
auto_complete_whilst_editing Whether to allow autocompletion when editing false
|
complete_snippets_whilst_editing Whether to allow completion of snippets false
|
||||||
an existing line.
|
when editing an existing line (i.e. there
|
||||||
scroll_stop_at_last_line Disable scrolling past end of document false
|
is some text after the current cursor
|
||||||
|
position on the line).
|
||||||
|
scroll_stop_at_last_line Disable scrolling past end of document false
|
||||||
**[interface]**
|
**[interface]**
|
||||||
show_symbol_list_expanders Whether to show or hide the small expander true
|
show_symbol_list_expanders Whether to show or hide the small expander true
|
||||||
icons on the symbol list treeview (only
|
icons on the symbol list treeview (only
|
||||||
available with GTK 2.12 or above).
|
available with GTK 2.12 or above).
|
||||||
============================== ============================================ ==================
|
================================ =========================================== ==================
|
||||||
|
|
||||||
|
|
||||||
Compile-time options
|
Compile-time options
|
||||||
|
@ -1288,7 +1288,7 @@ gboolean editor_complete_snippet(gint idx, gint pos)
|
|||||||
|
|
||||||
sci = doc_list[idx].sci;
|
sci = doc_list[idx].sci;
|
||||||
// return if we are editing an existing line (chars on right of cursor)
|
// return if we are editing an existing line (chars on right of cursor)
|
||||||
if (! editor_prefs.auto_complete_whilst_editing && ! at_eol(sci, pos))
|
if (! editor_prefs.complete_snippets_whilst_editing && ! at_eol(sci, pos))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
lexer = SSM(sci, SCI_GETLEXER, 0, 0);
|
lexer = SSM(sci, SCI_GETLEXER, 0, 0);
|
||||||
|
@ -76,7 +76,7 @@ typedef struct EditorPrefs
|
|||||||
GHashTable *snippets;
|
GHashTable *snippets;
|
||||||
gboolean brace_match_ltgt; // whether to highlight < and > chars (hidden pref)
|
gboolean brace_match_ltgt; // whether to highlight < and > chars (hidden pref)
|
||||||
gboolean use_gtk_word_boundaries; // hidden pref
|
gboolean use_gtk_word_boundaries; // hidden pref
|
||||||
gboolean auto_complete_whilst_editing; // hidden pref
|
gboolean complete_snippets_whilst_editing; // hidden pref
|
||||||
gboolean detect_tab_mode;
|
gboolean detect_tab_mode;
|
||||||
} EditorPrefs;
|
} EditorPrefs;
|
||||||
|
|
||||||
|
@ -370,7 +370,7 @@ static void save_hidden_prefs(GKeyFile *config)
|
|||||||
write_hidden_pref_boolean(config, PACKAGE, "use_tab_to_indent", editor_prefs.use_tab_to_indent);
|
write_hidden_pref_boolean(config, PACKAGE, "use_tab_to_indent", editor_prefs.use_tab_to_indent);
|
||||||
write_hidden_pref_boolean(config, PACKAGE, "brace_match_ltgt", editor_prefs.brace_match_ltgt);
|
write_hidden_pref_boolean(config, PACKAGE, "brace_match_ltgt", editor_prefs.brace_match_ltgt);
|
||||||
write_hidden_pref_boolean(config, PACKAGE, "use_gtk_word_boundaries", editor_prefs.use_gtk_word_boundaries);
|
write_hidden_pref_boolean(config, PACKAGE, "use_gtk_word_boundaries", editor_prefs.use_gtk_word_boundaries);
|
||||||
write_hidden_pref_boolean(config, PACKAGE, "auto_complete_whilst_editing", editor_prefs.auto_complete_whilst_editing);
|
write_hidden_pref_boolean(config, PACKAGE, "complete_snippets_whilst_editing", editor_prefs.complete_snippets_whilst_editing);
|
||||||
write_hidden_pref_boolean(config, PACKAGE, "scroll_stop_at_last_line", editor_prefs.scroll_stop_at_last_line);
|
write_hidden_pref_boolean(config, PACKAGE, "scroll_stop_at_last_line", editor_prefs.scroll_stop_at_last_line);
|
||||||
#if GTK_CHECK_VERSION(2, 12, 0)
|
#if GTK_CHECK_VERSION(2, 12, 0)
|
||||||
write_hidden_pref_boolean(config, PACKAGE, "show_symbol_list_expanders", prefs.show_symbol_list_expanders);
|
write_hidden_pref_boolean(config, PACKAGE, "show_symbol_list_expanders", prefs.show_symbol_list_expanders);
|
||||||
@ -528,7 +528,7 @@ static void load_dialog_prefs(GKeyFile *config)
|
|||||||
editor_prefs.smart_home_key = utils_get_setting_boolean(config, PACKAGE, "pref_editor_smart_home_key", TRUE);
|
editor_prefs.smart_home_key = utils_get_setting_boolean(config, PACKAGE, "pref_editor_smart_home_key", TRUE);
|
||||||
editor_prefs.newline_strip = utils_get_setting_boolean(config, PACKAGE, "pref_editor_newline_strip", FALSE);
|
editor_prefs.newline_strip = utils_get_setting_boolean(config, PACKAGE, "pref_editor_newline_strip", FALSE);
|
||||||
editor_prefs.use_gtk_word_boundaries = utils_get_setting_boolean(config, PACKAGE, "use_gtk_word_boundaries", TRUE);
|
editor_prefs.use_gtk_word_boundaries = utils_get_setting_boolean(config, PACKAGE, "use_gtk_word_boundaries", TRUE);
|
||||||
editor_prefs.auto_complete_whilst_editing = utils_get_setting_boolean(config, PACKAGE, "auto_complete_whilst_editing", FALSE);
|
editor_prefs.complete_snippets_whilst_editing = utils_get_setting_boolean(config, PACKAGE, "complete_snippets_whilst_editing", FALSE);
|
||||||
editor_prefs.scroll_stop_at_last_line = utils_get_setting_boolean(config, PACKAGE, "scroll_stop_at_last_line", FALSE);
|
editor_prefs.scroll_stop_at_last_line = utils_get_setting_boolean(config, PACKAGE, "scroll_stop_at_last_line", FALSE);
|
||||||
|
|
||||||
// Files
|
// Files
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
/* The API version should be incremented whenever any plugin data types below are
|
/* The API version should be incremented whenever any plugin data types below are
|
||||||
* modified or appended to. */
|
* modified or appended to. */
|
||||||
static const gint api_version = 43;
|
static const gint api_version = 44;
|
||||||
|
|
||||||
/* The ABI version should be incremented whenever existing fields in the plugin
|
/* The ABI version should be incremented whenever existing fields in the plugin
|
||||||
* data types below have to be changed or reordered. It should stay the same if fields
|
* data types below have to be changed or reordered. It should stay the same if fields
|
||||||
|
Loading…
x
Reference in New Issue
Block a user