From my last editor, I missed the ability to assign numbers to bookmarks to permit quickly moving around the document. I wrote these small scripts (with help from the Help forum) that provide that functionality. I use a pair of scripts for each numbered book mark. Bookmarks are indicated by setting margin text corresponding to that bookmark. One script sets the bookmark (I have that assigned to alt-1, alt-2, alt-3 etc.) by saving the current line to a uniquely named text file and clearing any previous bookmark margin text.. The other (assigned to ctrl-1, ctrl-2, ctrl-3, etc.) reads the line number from the text file and moves the caret to that line.
From my last editor, I missed the ability to assign numbers to bookmarks to permit quickly moving around the document. I wrote these small scripts (with help from the Help forum) that provide that functionality. I use a pair of scripts for each numbered book mark. Bookmarks are indicated by setting margin text corresponding to that bookmark. One script sets the bookmark (I have that assigned to alt-1, alt-2, alt-3 etc.) by saving the current line to a uniquely named text file and clearing any previous bookmark margin text.. The other (assigned to ctrl-1, ctrl-2, ctrl-3, etc.) reads the line number from the text file and moves the caret to that line.
The script to set: