Clean up and simplify code to find marks before and after a position, and hence impro...
authorCarl Hetherington <carl@carlh.net>
Fri, 23 Oct 2009 22:28:27 +0000 (22:28 +0000)
committerCarl Hetherington <carl@carlh.net>
Fri, 23 Oct 2009 22:28:27 +0000 (22:28 +0000)
commit1f2a518ee20a9e011f75fa2d961fd14f018445c0
tree2c7eb00fd61312d1159928347c9b69abe723a681
parentd2a11c8c02614c9cd9248fa17945923535110c98
Clean up and simplify code to find marks before and after a position, and hence improve snap to markers so that both start and end positions of a range marker are taken into account.

git-svn-id: svn://localhost/ardour2/branches/3.0@5897 d708f5d6-7413-0410-9779-e7cbd77b26cf
gtk2_ardour/editor.cc
gtk2_ardour/editor_drag.cc
gtk2_ardour/editor_markers.cc
libs/ardour/ardour/location.h
libs/ardour/location.cc