2011-01-31 08:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbide/ideformat.prg
    % Fix to prev commit.
This commit is contained in:
Pritpal Bedi
2011-01-31 16:25:24 +00:00
parent f3f1d04f80
commit 234d80027d
2 changed files with 6 additions and 0 deletions

View File

@@ -16,6 +16,10 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-01-31 08:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/ideformat.prg
% Fix to prev commit.
2011-01-31 16:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/hbfilehi.prg
% Minor optimization, cleanups.

View File

@@ -184,6 +184,8 @@ METHOD IdeFormat:execEvent( cEvent, p )
METHOD IdeFormat:format( nMode )
LOCAL oEdit, aText, cBuffer
HB_SYMBOL_UNUSED( nMode )
IF !empty( oEdit := ::oEM:getEditObjectCurrent() )
IF ::lSelOnly
cBuffer := oEdit:getSelectedText()