Revision: 840 http://svn.sourceforge.net/geany/?rev=840&view=rev Author: ntrel Date: 2006-09-27 07:57:17 -0700 (Wed, 27 Sep 2006)
Log Message: ----------- Change VTE word selection chars to include paths
Modified Paths: -------------- trunk/ChangeLog trunk/src/vte.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-09-27 12:50:29 UTC (rev 839) +++ trunk/ChangeLog 2006-09-27 14:57:17 UTC (rev 840) @@ -1,3 +1,8 @@ +2006-09-27 Nick Treleaven nick.treleaven@btinternet.com + + * src/vte.c: Change VTE word selection chars to include paths. + + 2006-09-27 Enrico Tröger enrico.troeger@uvena.de
* src/sci_cb.c: Fixed broken autocompletion for filetype PHP.
Modified: trunk/src/vte.c =================================================================== --- trunk/src/vte.c 2006-09-27 12:50:29 UTC (rev 839) +++ trunk/src/vte.c 2006-09-27 14:57:17 UTC (rev 840) @@ -44,7 +44,9 @@ static gboolean popup_menu_created = FALSE; static gchar *gtk_menu_key_accel = NULL;
+static const gchar VTE_WORDCHARS[] = "-A-Za-z0-9,./?%&#:_";
+ #define VTE_TERMINAL(obj) (GTK_CHECK_CAST((obj), VTE_TYPE_TERMINAL, VteTerminal)) #define VTE_TYPE_TERMINAL (vf->vte_terminal_get_type())
@@ -148,7 +150,7 @@ vf->vte_terminal_set_size(VTE_TERMINAL(vte), 30, 1); //vf->vte_terminal_set_encoding(VTE_TERMINAL(vte), "UTF-8"); vf->vte_terminal_set_mouse_autohide(VTE_TERMINAL(vte), TRUE); - vf->vte_terminal_set_word_chars(VTE_TERMINAL(vte), GEANY_WORDCHARS); + vf->vte_terminal_set_word_chars(VTE_TERMINAL(vte), VTE_WORDCHARS);
g_signal_connect(G_OBJECT(vte), "child-exited", G_CALLBACK(vte_start), NULL); g_signal_connect(G_OBJECT(vte), "button-press-event", G_CALLBACK(vte_button_pressed), NULL);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.