2015-10-13 15:08 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/rtl/memoedit.prg
    * always returned reformatted string after CTRL+W even if user has not
      made any modifications in edited data - Cl*pper compatible behavior.
This commit is contained in:
Przemysław Czerpak
2015-10-13 15:08:05 +02:00
parent 62f2ca6ee6
commit d3c36b080c
2 changed files with 6 additions and 1 deletions

View File

@@ -10,6 +10,11 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2015-10-13 15:08 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/memoedit.prg
* always returned reformatted string after CTRL+W even if user has not
made any modifications in edited data - Cl*pper compatible behavior.
2015-10-13 13:16 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbnetio/netiocli.c
* strip connection parameters (server name, port, password,...) from

View File

@@ -361,7 +361,7 @@ FUNCTION MemoEdit( ;
nOldCursor := SetCursor()
oEd:InsertState( Set( _SET_INSERT ) )
oEd:Edit()
IF oEd:Changed() .AND. oEd:Saved()
IF oEd:Saved()
cString := oEd:GetText( .T. )
ENDIF
SetCursor( nOldCursor )