From ae35f40e6ee51908d908f90e5fa098fb02201508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Wed, 17 Dec 2008 16:00:41 +0000 Subject: [PATCH] Make Ctrl-click working again to create rectangular selections when no braces and valid definitions are below the cursor (to whose would be jumped then). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3392 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 4 ++++ src/editor.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a863f874..e5537169 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,10 @@ Add "editor-notify" to the plugin API. This signal is emitted whenever something in an editor widget changes, e.g. a character was typed. + * src/editor.c: + Make Ctrl-click working again to create rectangular selections when + no braces and valid definitions are below the cursor (to whose would + be jumped then). 2008-12-16 Nick Treleaven diff --git a/src/editor.c b/src/editor.c index 9373fe50..d2e96e18 100644 --- a/src/editor.c +++ b/src/editor.c @@ -207,7 +207,7 @@ on_editor_button_press_event (GtkWidget *widget, editor_find_current_word(editor, editor_info.click_pos, current_word, sizeof current_word, NULL); if (*current_word) - symbols_goto_tag(current_word, TRUE); + return symbols_goto_tag(current_word, TRUE); else keybindings_send_command(GEANY_KEY_GROUP_GOTO, GEANY_KEYS_GOTO_MATCHINGBRACE); return TRUE;