Bookmark Handling?

General and specific configuration/INI settings

Bookmark Handling?

Postby kenlyle » Tue May 08, 2007 10:19 pm

Hey All! Any non-insulting ideas why I can't seem to find a simple thing like "Delete all bookmarks/lines" in 12.20? Is it fixed in 13.00?

I remembered that this was easy in Textpad, but the regexp was not quite as easy. Anyway, I had to download and install Textpad, and I hate going back, that's why I picked UltraEdit to begin with...

Thanks,
Ken
User avatar
kenlyle
Basic User
Basic User
 
Posts: 11
Joined: Wed Jan 03, 2007 12:00 am

Re: Bookmark Handling?

Postby jorrasdk » Wed May 09, 2007 7:37 am

In Textpad you have both "Clear all bookmarks" (as in UE) but also "Delete bookmarked lines" and I think kenlyle refers to the last one.

As far as I know UE cannot "delete bookmarked lines" but it should be no problem creating a macro looping through all bookmarks and deleting the lines. This might work and for your convenience you could assign a hot key for the macro:
Code: Select all
InsertMode
ColumnModeOff
HexOff
PerlReOn
Top
Loop
GotoBookMarkSelect -1
IfSel
Key HOME
ToggleBookmark
DeleteLine
Key UP ARROW
Else
ExitLoop
EndIf
EndSelect
EndLoop


(Feel free to perfect it as a bookmark in line 1 is not deleted, but all other bookmarked lines are).
User avatar
jorrasdk
Master
Master
 
Posts: 275
Joined: Mon Mar 19, 2007 11:00 pm
Location: Denmark

Re: Bookmark Handling?

Postby kenlyle » Wed May 09, 2007 10:38 am

jorrasdk,

Your analysis and reply were PERFECT, thanks.

Yes, Delete Bookmarked lines was what I was looking for, hopefully without writing a macro. I will save the macro you've provided for future use.

How do I submit Delete All Bookmarks as a feature request? Probably like that other editor, Edit-Delete-Bookmarked Lines...

THANKS,
Ken
User avatar
kenlyle
Basic User
Basic User
 
Posts: 11
Joined: Wed Jan 03, 2007 12:00 am

Re: Bookmark Handling?

Postby jorrasdk » Wed May 09, 2007 11:34 am

Feature requests ? -> read paragraph at the top of this page.

You might want to include
- Delete bookmarked lines
- Copy bookmarked lines
- Cut bookmarked lines

You have my vote.
User avatar
jorrasdk
Master
Master
 
Posts: 275
Joined: Mon Mar 19, 2007 11:00 pm
Location: Denmark

Re: Bookmark Handling?

Postby kenlyle » Wed May 09, 2007 11:38 am

Brilliant!

DONE.

Ken
User avatar
kenlyle
Basic User
Basic User
 
Posts: 11
Joined: Wed Jan 03, 2007 12:00 am

Re: Bookmark Handling?

Postby PaoloFCantoni » Wed May 09, 2007 1:49 pm

My vote also...

Paolo
User avatar
PaoloFCantoni
Power User
Power User
 
Posts: 113
Joined: Sun May 01, 2005 11:00 pm
Location: Perth, Western Australia

Re: Bookmark Handling?

Postby Mofi » Sun May 13, 2007 7:29 am

See also Copy to clipboard bookmarked lines?

Cut or delete bookmarked lines will be very similar. Create the 3 macros maybe with some other in a macro file which is specified to be automatically loaded on startup of UE/UES and use hot keys for the macros or use the macro list view for fast executing.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4042
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Bookmark Handling?

Postby kenlyle » Mon May 14, 2007 1:39 pm

Yeah, that's OK, but I'd rather not have to hack my environment, or record macros to perform a basic function.

I don't live in UltraEdit, I just try to use it to get things done, so it's not like a hobby where I enjoy cobbling together bits of macros.

If you are concerned about menu space, Edit Bookmarks could become a submenu, with Copy, Delete, and whatever else one might want to do.

If 1000 people spend 5 minutes each recording those, the time adds up...that's why we rely on the developers...

Best,
Ken
User avatar
kenlyle
Basic User
Basic User
 
Posts: 11
Joined: Wed Jan 03, 2007 12:00 am


Return to Configuration/INI Settings