Line operations based on bookmarks