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
This commit is contained in:
Enrico Tröger 2008-12-17 16:00:41 +00:00
parent 44b7d27b50
commit ae35f40e6e
2 changed files with 5 additions and 1 deletions

View File

@ -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 <nick(dot)treleaven(at)btinternet(dot)com>

View File

@ -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;