Hi,
I've been working on a zen coding plugin for gedit which uses zen_editor
interface and stumbled upon a few issues in zen_actions.py:
- in find_abbrevation(), I replaced
return editor.get_content()[start, end];
with
return editor.get_content()[start:end]
to avoid python errors
- in find_new_edit_point(), I wrapped affectations in while loop in
try/except to avoid warnings when the caret is at the last edit point
- if the caret is at the beginning or the end of the document,
prev_edit_point and next_edit_point don't work ; ie the caret doesn't move
(I have no correction for this one)
The modifications are available on github here: http://bit.ly/cxKikl
Best regards
Original issue reported on code.google.com by franck.marcia@gmail.com on 3 May 2010 at 8:10
Original issue reported on code.google.com by
franck.marcia@gmail.com
on 3 May 2010 at 8:10