Page 1 of 1

GoToBookmark by it's name

Posted: Thu Dec 22, 2016 8:39 am
by Martian
What is the easiest way implement GoToBookmark(Target: String) ?
I mean if I have an URL like "http://www.web.com#anchor4" I would like to use GoToBookmark("anchor4").

Your sample assigns ItemNo when enumerating list of all bookmarks but if I don't want to show a list? I mean local jump.
I cannot leave just "#anchor4" as a link because I have my own internal links like "local://34#anchor4"

Posted: Thu Dec 22, 2016 9:41 am
by Sergey Tkachenko
RichViewActions have

Code: Select all

function GoToCheckpoint(rv: TCustomRichViewEdit; const CPName: String): Boolean;
in RichViewActions.pas