Commit ddb322ee authored by Steve Frécinaux's avatar Steve Frécinaux

Fix bug 491312 – External Tools with two lines as input

svn path=/trunk/; revision=5992
parent e11bb660
2007-11-02 Steve Frécinaux <code@istique.net>
Fix bug #491312 – External Tools with two lines as input
* plugins/externaltools/tools/functions.py: go to the beginning of the
current line instead of the previous one when running an external tool
on "current line".
2007-10-28 Steve Frécinaux <code@istique.net>
* gedit/gedit-utils.c: Use gdk_error_trap_*() to protect direct
......
......@@ -99,7 +99,7 @@ def capture_menu_action(action, window, node):
start = document.get_iter_at_mark(document.get_insert())
end = start.copy()
if not start.starts_line():
start.backward_line()
start.set_line_offset(0)
if not end.ends_line():
end.forward_to_line_end()
elif input_type == 'word':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment