Please find the patch for the above description.
As per Dave's suggestion, I have added format submenu in the edit menu.
Just move the code for the indent/outdent to BlockIndent function & for
commet/uncomment to BlockComment function. And called these function from
the event function for the format menus and from the ctlSQLBox::OnKeyDown
function, from where it has been moved.
EnterpriseDB INDIA: http://www.enterprisedb.com
pgadmin-hackers by date
|Next:||From: Dave Page||Date: 2009-03-19 16:12:10|
|Subject: Re: PATCH: ctlSQLBox format-menu for indent/outdent, change lower/upper case & comment/uncomment for the selected text|
|Previous:||From: Dave Page||Date: 2009-03-19 10:37:14|
|Subject: Re: PATCH: Bug (2009-03:00026) Bug or not? (LIKE <table> INCLUDING DEFAULTS)|