applied minor suggestion suggested by @damianb in issue #24

closed #88 (regression due to text selection enhancement)