EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     toolbar buttons
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
user
Posted on: 4/23/2012 3:24 am
Home away from home
Joined: 9/29/2006
From:
Posts: 212
toolbar buttons
hello!

I need a button in the toolbar to "delete duplicate lines"
and another one "delete empty lines"

is it possible?

thanks!
Yutaka
Posted on: 4/24/2012 8:45 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2401
Re: toolbar buttons
You can write a macro like this:


#icon = "filename"
editor.ExecuteCommandByID(4564);


and customize the toolbar to include this button. #icon is optional.

Also, "Delete empty lines" can be done by writing a macro.


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

user
Posted on: 4/29/2012 11:19 pm
Home away from home
Joined: 9/29/2006
From:
Posts: 212
Re: toolbar buttons
the code you posted is extremely interesting Yutaka!

is there a list with all commands' IDs???

thanks
Yutaka
Posted on: 4/30/2012 8:46 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2401
Re: toolbar buttons
Please look at the Command Reference in the Help.

http://www.emeditor.com/help/cmd/index.htm


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

user
Posted on: 5/8/2012 1:23 am
Home away from home
Joined: 9/29/2006
From:
Posts: 212
Re: toolbar buttons
can you tell me please the best possible "delete empty lines" macro? that will be the most fast, stable, accurate

thanks!
Threaded | Newest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文