[vte] widget: Use the same default for word-chars as gnome-terminal
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] widget: Use the same default for word-chars as gnome-terminal
- Date: Mon, 7 Apr 2014 13:55:09 +0000 (UTC)
commit 9db7f00e4b1eef43d37294326cbcebcf387a891e
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Apr 7 14:20:47 2014 +0200
widget: Use the same default for word-chars as gnome-terminal
https://bugzilla.gnome.org/show_bug.cgi?id=727743
src/vte.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 5a9effb..420c95e 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -80,6 +80,8 @@ typedef gunichar wint_t;
#define howmany(x, y) (((x) + ((y) - 1)) / (y))
#endif
+#define WORD_CHARS "-A-Za-z0-9,./?%&#:_=+ ~"
+
static void vte_terminal_set_visibility (VteTerminal *terminal, GdkVisibilityState state);
static void vte_terminal_set_termcap(VteTerminal *terminal);
static void vte_terminal_paste(VteTerminal *terminal, GdkAtom board);
@@ -11898,7 +11900,7 @@ vte_terminal_class_init(VteTerminalClass *klass)
(gobject_class,
PROP_WORD_CHARS,
g_param_spec_string ("word-chars", NULL, NULL,
- NULL,
+ WORD_CHARS,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]