summaryrefslogtreecommitdiff
path: root/src/vteaccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vteaccess.c')
-rw-r--r--src/vteaccess.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vteaccess.c b/src/vteaccess.c
index 6d1a7d4..9e2dfcf 100644
--- a/src/vteaccess.c
+++ b/src/vteaccess.c
@@ -242,7 +242,10 @@ vte_terminal_accessible_get_text_somewhere(AtkText *text,
break;
case ATK_TEXT_BOUNDARY_WORD_START:
case ATK_TEXT_BOUNDARY_WORD_END:
- /* Find the wordstart before the requested point. */
+ /* Find the wordstart before the requested point.
+ * FIXME: use pango_break or g_unichar_break_type to
+ * find word boundaries. For now, this should work
+ * only for some locales. */
c = g_array_index(priv->snapshot_cells,
struct VteTerminalSnapshotCell,
offset).c;