Revision: 1402
http://svn.sourceforge.net/geany/?rev=1402&view=rev
Author: ntrel
Date: 2007-03-15 10:19:27 -0700 (Thu, 15 Mar 2007)
Log Message:
-----------
Add note about disabling the current line background highlighting.
Modified Paths:
--------------
trunk/doc/geany.docbook
Modified: trunk/doc/geany.docbook
===================================================================
--- trunk/doc/geany.docbook 2007-03-15 16:48:09 UTC (rev 1401)
+++ trunk/doc/geany.docbook 2007-03-15 17:19:27 UTC (rev 1402)
@@ -1809,9 +1809,12 @@
<row>
<entry>current_line</entry>
<entry>The style for colouring the background of the current
- line. Only the second argument is interpreted.
+ line. Only the second and third arguments are interpreted.
+ The second argument is the background colour.
+ Use the third argument to enable or disable background
+ highlighting for the current line (has to be true/false).
</entry>
- <entry>current_line=0x0;0xe5e5e5;false;false</entry>
+ <entry>current_line=0x0;0xe5e5e5;true;false</entry>
</row>
<row>
<entry>indent_guide</entry>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1401
http://svn.sourceforge.net/geany/?rev=1401&view=rev
Author: ntrel
Date: 2007-03-15 09:48:09 -0700 (Thu, 15 Mar 2007)
Log Message:
-----------
Add marker keybinding descriptions.
Modified Paths:
--------------
trunk/doc/geany.docbook
Modified: trunk/doc/geany.docbook
===================================================================
--- trunk/doc/geany.docbook 2007-03-15 16:21:12 UTC (rev 1400)
+++ trunk/doc/geany.docbook 2007-03-15 16:48:09 UTC (rev 1401)
@@ -1477,6 +1477,19 @@
first brace.</entry>
</row>
<row>
+ <entry>Toggle marker</entry>
+ <entry>Set a marker on the current line, or clear the marker if there
+ already is one.</entry>
+ </row>
+ <row>
+ <entry>Goto next marker</entry>
+ <entry>Goto the next marker in the current document.</entry>
+ </row>
+ <row>
+ <entry>Goto previous marker</entry>
+ <entry>Goto the previous marker in the current document.</entry>
+ </row>
+ <row>
<entry>Complete word</entry>
<entry>Shows auto completion list.</entry>
</row>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1400
http://svn.sourceforge.net/geany/?rev=1400&view=rev
Author: ntrel
Date: 2007-03-15 09:21:12 -0700 (Thu, 15 Mar 2007)
Log Message:
-----------
Add bookmarks section written by John Gabriele (thanks).
Group some subsections into an 'Editing' section.
Modified Paths:
--------------
trunk/ChangeLog
trunk/THANKS
trunk/doc/geany.docbook
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-03-15 13:24:27 UTC (rev 1399)
+++ trunk/ChangeLog 2007-03-15 16:21:12 UTC (rev 1400)
@@ -8,6 +8,9 @@
* src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
src/sci_cb.c:
Add Toggle Marker keybinding (Ctrl-M).
+ * THANKS, doc/geany.docbook:
+ Add bookmarks section written by John Gabriele (thanks).
+ Group some subsections into an 'Editing' section.
2007-03-14 Nick Treleaven <nick.treleaven(a)btinternet.com>
Modified: trunk/THANKS
===================================================================
--- trunk/THANKS 2007-03-15 13:24:27 UTC (rev 1399)
+++ trunk/THANKS 2007-03-15 16:21:12 UTC (rev 1400)
@@ -25,6 +25,7 @@
Tomás Vírseda <kaskaras(at)gmail(dot)com> - sort open files patch
Dirk Weber <dietrich-weber(at)web(dot)de>
Slava Semushin <slava(dot)semushin(at)gmail(dot)com> - patch to improve SVN checks in cofigure script
+John Gabriele <jmg3000(at)gmail(dot)com> - documentation patches
Translators:
----------------------------------
Modified: trunk/doc/geany.docbook
===================================================================
--- trunk/doc/geany.docbook 2007-03-15 13:24:27 UTC (rev 1399)
+++ trunk/doc/geany.docbook 2007-03-15 16:21:12 UTC (rev 1400)
@@ -369,48 +369,6 @@
appropriate command line option - see <xref linkend="clo"/>.
</para>
</section>
- <section id="general_dnd">
- <title>Drag and drop of text</title>
- <para>
- If you drag selected text in the editor widget of
- <application>Geany</application> the text is moved to the position where the
- mouse pointer is when releasing the mouse button. Holding Control when releasing
- the mouse button will copy the text instead. This behaviour was
- changed in <application>Geany</application> 0.11 - before the selected text
- was copied to the new position.
- </para>
- </section>
- <section id="general_indentation">
- <title>Auto indentation</title>
- <para>
- <application>Geany</application> knows three types of auto indentation:
- None, Basic and Advanced.
- <variablelist><title>Auto indentation types</title>
- <varlistentry><term>None</term>
- <listitem>
- <para>
- Disables auto indentation completely.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry><term>Basic</term>
- <listitem>
- <para>
- Adds the same amount of whitespace on a new line as on the last line.
- </para>
- </listitem>
- </varlistentry>
- <varlistentry><term>Advanced</term>
- <listitem>
- <para>
- Does the same as Basic but also indents curly brackets and adds a tabulator
- character (or spaces) on a new line after an opening '{' brace.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </para>
- </section>
<section id="general_vte">
<title>Virtual terminal emulator widget (VTE)</title>
<para>
@@ -452,28 +410,6 @@
</para>
</note>
</section>
- <section id="general_cc">
- <title>Send text through definable commands</title>
- <para>
- You can define several custom commands in <application>Geany</application> and
- send the current selection to one of these commands. The output of the command
- will be used to replace the current selection. So, it is possible to use text
- formatting tools with Geany in a general way.
- The selected text will be sent to the standard input of the executed command,
- so the command should be able to read from it and it should print all results
- to its standard output which will be read by <application>Geany</application>.
- To help finding errors in executing the command, the output of the program's
- standard error will be printed on <application>Geany</application>'s standard
- output.
- </para>
- <para>
- To add a custom command, just go to the Set Custom Commands dialog in the
- Format sub menu of the Edit and Popup menu. Then click on Add to get a new
- text entry and type the command. You can also specify some command line options.
- To delete a command, just clear the text entry and press Ok. It will be deleted
- automatically.
- </para>
- </section>
</section>
<section id="charset">
<title>Character sets and Unicode Byte-Order-Mark (BOM)</title>
@@ -567,6 +503,92 @@
</para>
</section>
</section>
+ <section id="editing">
+ <title>Editing</title>
+ <section id="editing_text_dnd">
+ <title>Drag and drop of text</title>
+ <para>
+ If you drag selected text in the editor widget of
+ <application>Geany</application> the text is moved to the position where the
+ mouse pointer is when releasing the mouse button. Holding Control when releasing
+ the mouse button will copy the text instead. This behaviour was
+ changed in <application>Geany</application> 0.11 - before the selected text
+ was copied to the new position.
+ </para>
+ </section>
+ <section id="editing_indentation">
+ <title>Auto indentation</title>
+ <para>
+ <application>Geany</application> knows three types of auto indentation:
+ None, Basic and Advanced.
+ <variablelist><title>Auto indentation types</title>
+ <varlistentry><term>None</term>
+ <listitem>
+ <para>
+ Disables auto indentation completely.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry><term>Basic</term>
+ <listitem>
+ <para>
+ Adds the same amount of whitespace on a new line as on the last line.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry><term>Advanced</term>
+ <listitem>
+ <para>
+ Does the same as Basic but also indents curly brackets and adds a tabulator
+ character (or spaces) on a new line after an opening '{' brace.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </section>
+ <section id="editing_bookmarks">
+ <title>Bookmarks</title>
+ <para>
+ Geany provides a handy bookmarking feature that lets you mark one or more lines in a document, and
+ return the cursor to them using a key combination.
+ </para>
+ <para>
+ To place a mark on a line, either left-mouse-click in the left margin of the editor window, or else
+ use Ctrl-m. Either way, this will produce a small green plus symbol in the margin. You can have as
+ many marks in a document as you like. Click again (or use Ctrl-m again) to remove the bookmark.
+ To remove all the marks in a given document, use "Remove Markers" in the Document menu.
+ </para>
+ <para>
+ To navigate down your document, jumping from one mark to the next, use Ctrl-. (control period).
+ To go in the opposite direction on the page, use Ctrl-, (control comma). Using the bookmarking
+ feature together with the commands to switch from one editor tab to another (Ctrl-PgUp/PgDn and
+ Ctrl-Tab) provides a particularly fast way to navigate around multiple files.
+ </para>
+ </section>
+ <section id="editing_definable_commands">
+ <title>Send text through definable commands</title>
+ <para>
+ You can define several custom commands in <application>Geany</application> and
+ send the current selection to one of these commands. The output of the command
+ will be used to replace the current selection. So, it is possible to use text
+ formatting tools with Geany in a general way.
+ The selected text will be sent to the standard input of the executed command,
+ so the command should be able to read from it and it should print all results
+ to its standard output which will be read by <application>Geany</application>.
+ To help finding errors in executing the command, the output of the program's
+ standard error will be printed on <application>Geany</application>'s standard
+ output.
+ </para>
+ <para>
+ To add a custom command, just go to the Set Custom Commands dialog in the
+ Format sub menu of the Edit and Popup menu. Then click on Add to get a new
+ text entry and type the command. You can also specify some command line options.
+ To delete a command, just clear the text entry and press Ok. It will be deleted
+ automatically.
+ </para>
+ </section>
+ </section>
<section id="search_replace">
<title>Search, replace and go to</title>
<para>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1399
http://svn.sourceforge.net/geany/?rev=1399&view=rev
Author: ntrel
Date: 2007-03-15 06:24:27 -0700 (Thu, 15 Mar 2007)
Log Message:
-----------
Prevent NULL warnings with send to command keybindings.
Modified Paths:
--------------
trunk/src/keybindings.c
Modified: trunk/src/keybindings.c
===================================================================
--- trunk/src/keybindings.c 2007-03-15 13:14:04 UTC (rev 1398)
+++ trunk/src/keybindings.c 2007-03-15 13:24:27 UTC (rev 1399)
@@ -907,15 +907,15 @@
on_to_upper_case1_activate(NULL, NULL);
break;
case GEANY_KEYS_EDIT_SENDTOCMD1:
- if (g_strv_length(app->custom_commands) > 0)
+ if (app->custom_commands && g_strv_length(app->custom_commands) > 0)
tools_execute_custom_command(idx, app->custom_commands[0]);
break;
case GEANY_KEYS_EDIT_SENDTOCMD2:
- if (g_strv_length(app->custom_commands) > 1)
+ if (app->custom_commands && g_strv_length(app->custom_commands) > 1)
tools_execute_custom_command(idx, app->custom_commands[1]);
break;
case GEANY_KEYS_EDIT_SENDTOCMD3:
- if (g_strv_length(app->custom_commands) > 2)
+ if (app->custom_commands && g_strv_length(app->custom_commands) > 2)
tools_execute_custom_command(idx, app->custom_commands[2]);
break;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1396
http://svn.sourceforge.net/geany/?rev=1396&view=rev
Author: ntrel
Date: 2007-03-14 05:47:32 -0700 (Wed, 14 Mar 2007)
Log Message:
-----------
Add tooltip for New Project base path entry.
Modified Paths:
--------------
trunk/src/project.c
Modified: trunk/src/project.c
===================================================================
--- trunk/src/project.c 2007-03-14 12:36:59 UTC (rev 1395)
+++ trunk/src/project.c 2007-03-14 12:47:32 UTC (rev 1396)
@@ -87,6 +87,7 @@
GtkWidget *button;
GtkWidget *bbox;
GtkWidget *label;
+ GtkTooltips *tooltips = GTK_TOOLTIPS(lookup_widget(app->window, "tooltips"));
PropertyDialogElements *e;
if (! close_open_project()) return;
@@ -154,6 +155,9 @@
gtk_misc_set_alignment(GTK_MISC(label), 1, 0);
e->base_path = gtk_entry_new();
+ gtk_tooltips_set_tip(tooltips, e->base_path,
+ _("Base directory of all files that make up the project. "
+ "This can be a new path, or an existing directory tree."), NULL);
button = gtk_button_new();
g_signal_connect((gpointer) button, "clicked",
G_CALLBACK(on_folder_open_button_clicked), e->base_path);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1395
http://svn.sourceforge.net/geany/?rev=1395&view=rev
Author: ntrel
Date: 2007-03-14 05:36:59 -0700 (Wed, 14 Mar 2007)
Log Message:
-----------
Make suggested New Project filename use the projects/ directory as
parent directory, instead of projects/name/.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/project.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-03-14 12:11:50 UTC (rev 1394)
+++ trunk/ChangeLog 2007-03-14 12:36:59 UTC (rev 1395)
@@ -6,6 +6,9 @@
* src/treeviews.c, src/notebook.c:
Don't recreate the open files items when DnD reordering tabs, now
that the open files treeview is sorted alphabetically.
+ * src/project.c:
+ Make suggested New Project filename use the projects/ directory as
+ parent directory, instead of projects/name/.
2007-03-13 Enrico Tröger <enrico.troeger(a)uvena.de>
Modified: trunk/src/project.c
===================================================================
--- trunk/src/project.c 2007-03-14 12:11:50 UTC (rev 1394)
+++ trunk/src/project.c 2007-03-14 12:36:59 UTC (rev 1395)
@@ -710,7 +710,7 @@
name, G_DIR_SEPARATOR_S, NULL);
file_name = g_strconcat(
GEANY_HOME_DIR, G_DIR_SEPARATOR_S, PROJECT_DIR, G_DIR_SEPARATOR_S,
- name, G_DIR_SEPARATOR_S, name, "." GEANY_PROJECT_EXT, NULL);
+ name, "." GEANY_PROJECT_EXT, NULL);
g_free(name);
}
else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1394
http://svn.sourceforge.net/geany/?rev=1394&view=rev
Author: ntrel
Date: 2007-03-14 05:11:50 -0700 (Wed, 14 Mar 2007)
Log Message:
-----------
Don't recreate the open files items when DnD reordering tabs, now
that the open files treeview is sorted alphabetically.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/notebook.c
trunk/src/treeviews.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-03-14 12:03:15 UTC (rev 1393)
+++ trunk/ChangeLog 2007-03-14 12:11:50 UTC (rev 1394)
@@ -3,6 +3,9 @@
* src/callbacks.c:
Delay updating interface items when switching notebook tabs until
after the page has changed, so it appears to switch pages faster.
+ * src/treeviews.c, src/notebook.c:
+ Don't recreate the open files items when DnD reordering tabs, now
+ that the open files treeview is sorted alphabetically.
2007-03-13 Enrico Tröger <enrico.troeger(a)uvena.de>
Modified: trunk/src/notebook.c
===================================================================
--- trunk/src/notebook.c 2007-03-14 12:03:15 UTC (rev 1393)
+++ trunk/src/notebook.c 2007-03-14 12:11:50 UTC (rev 1394)
@@ -182,7 +182,9 @@
notebook_page_reordered_cb(GtkNotebook *notebook, GtkWidget *child, guint page_num,
gpointer user_data)
{
- treeviews_openfiles_update_all();
+ /* Not necessary to update open files treeview if it's sorted.
+ * Note: if enabled, it's best to move the item instead of recreating all items. */
+ //treeviews_openfiles_update_all();
}
Modified: trunk/src/treeviews.c
===================================================================
--- trunk/src/treeviews.c 2007-03-14 12:03:15 UTC (rev 1393)
+++ trunk/src/treeviews.c 2007-03-14 12:11:50 UTC (rev 1394)
@@ -234,6 +234,7 @@
}
+#if 0
void treeviews_openfiles_update_all()
{
guint i;
@@ -248,6 +249,7 @@
treeviews_openfiles_add(idx);
}
}
+#endif
void treeviews_remove_document(gint idx)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.