CnPack Forum


 
Subject: Bookmark buttons (and keyboard shotcuts) for code editor
SergeyBodrov
新警察
Rank: 1



UID 45153
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2009-12-23
Status Offline
Post at 2009-12-23 23:57  Profile | Blog | P.M. 
Bookmark buttons (and keyboard shotcuts) for code editor

Standard bookmarks is very unfriendly - you need 3 clicks to set new bookmark or jump to next one. And there no single keyboard shortcut to do it;

Need new buttons:

Set bookmark (set new bookmark at current line)

Delete bookmark (deletes bookmark at current line)

Delete all bookmarks (deletes all bookmarks from current source file)

Next bookmark (jump to next bookmark from current line)

Prev bookmark (jump to pevious bookmark)

And, if it not too hard to implement, highlight bookmarked line by more bright background color.
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2009-12-24 10:37  Profile | Site | Blog | P.M. 
Current exists:

1. Toggle(Set/Delete) bookmark: shortcut Ctrl+Shift+0..9 (by IDE) or click CnWizards Line Number (by CnWizards)

2. Delete all bookmarks: right click CnWizards Line Numer -> Clear All Bookmarks

3. Goto a bookmark: shortcut Ctrl+0..9 (by IDE) or use dockable CnWizards "Bookmark Browser" form

Others:

1. Next/Prev bookmark: the only problem is how to define "Current bookmark" when we want to jump to "Next/Prev"

2. Highlight bookmarked line: we'll consider it, thank you!




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
SergeyBodrov
新警察
Rank: 1



UID 45153
Digest Posts 0
Credits 6
Posts 2
点点分 6
Reading Access 10
Registered 2009-12-23
Status Offline
Post at 2009-12-25 09:35  Profile | Blog | P.M. 


QUOTE:
1. Next/Prev bookmark: the only problem is how to define "Current bookmark" when we want to jump to "Next/Prev"

Just jump to nearest bookmark up or down from current line.

Ctrl+Shift+0..9 need to keep in mind all occupied bookmark's positions, when need just mark current procedure, look they implementation and go back to mark.

Right click CnWizards Line Numer is very handy, thank you very much! Usually, I don't need line numbers and disable they, but it very useful it that case.
Top
 




All times are GMT++8, the time now is 2024-12-31 01:39

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.006440 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP