TokenizedStatement.get_object_at_location(include_adjacent=True)
commite0760efd7218f2d990436ec75de973aa6062ee27
authorOwen W. Taylor <otaylor@fishsoup.net>
Sat, 8 Dec 2007 23:09:47 +0000 (8 18:09 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Sat, 8 Dec 2007 23:09:47 +0000 (8 18:09 -0500)
tree6a6696fdd5a093b566d57954dd6fbf6d59c95eae
parent75f13ab3a70eaaed62b835ed3c06ecd1c1e2ddd7
TokenizedStatement.get_object_at_location(include_adjacent=True)

Add an include_adjacent parameter to get_object_at_location() so that
we can find the object by the insertion caret as well as the object
under the mouse pointer.
lib/reinteract/shell_buffer.py
lib/reinteract/tokenized_statement.py