EmEditor (text editor) Forum Index Questions and Answers about EmEditor Core
bookmarks | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| derekcohen | Posted on: 11/23/2010 11:59 pm |
Not too shy to talk ![]() ![]() Joined: 5/22/2010 From: Posts: 38 |
bookmarks I have F2 set to go to the next bookmark.
Is there a way for this to either start at the top of the document or when it gets to the end of the document start again from the top. At present it just goes down the document and so doesn't find bookmarks above the current line thanks Derek |
| Yutaka | Posted on: 11/24/2010 9:49 am |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2397 |
Re: bookmarks Hello Derek,
You might want to assign F2 as "Next Bookmark in This Document" command. You can change keyboard assignments from the Keymap on the Help menu. Thank you,
|
| CrashNBurn | Posted on: 11/25/2010 8:46 am |
Just can't stay away ![]() ![]() Joined: 4/8/2010 From: Posts: 130 |
Re: bookmarks I have F2 set to "Next Bookmark in This Document", but as the OP indicated, he'd like it to wrap to the beginning when it reaches the end -- like the Find option [x] Move to Start/End of Document.
|
| Yutaka | Posted on: 11/25/2010 9:08 am |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2397 |
Re: bookmarks Hello CrashNBurn,
I see. Then you will need to write a macro so that EmEditor will go to the beginning of document when it reaches to the end of document. Thank you!
|
| CrashNBurn | Posted on: 11/25/2010 9:52 am |
Just can't stay away ![]() ![]() Joined: 4/8/2010 From: Posts: 130 |
Re: bookmarks that, I currently don't know how to accomplish.
It looks like it would require the plugin value GET_LINE_INFO to know whether the line has changed since before you pressed "F2". And I don't see how the javascript and plugin structure relate to one another. Nor do I see how one can easily assign a shortcut-key to a macro, so that it will automatically run without user-intervention. Now with Autohotkey, I have an idea how it could be done. Monitor object changed when F2 is pressed. If the object hasn't changed then goto beginning of document (Ctrl+Home) and unhook the RegisterCallBack for object changed. |
| Yutaka | Posted on: 11/26/2010 10:12 am |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2397 |
Re: bookmarks I made a macro for you. NextBookmark() method will return false if EmEditor can't find the next bookmark in the document.
|
| derekcohen | Posted on: 12/6/2010 10:52 pm |
Not too shy to talk ![]() ![]() Joined: 5/22/2010 From: Posts: 38 |
Re: bookmarks brilliant! thanks
|
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |





