From 55d6b860b8a00380feca1964d9bd39feaeebd8d7 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 3 May 2010 21:52:40 +0000 Subject: [PATCH] 2010-05-03 23:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbide/ideeditor.prg % Replaced code with __PLATFORM__* checks with hb_osNewLine() call. --- harbour/ChangeLog | 6 +++++- harbour/contrib/hbide/ideeditor.prg | 8 +------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 3d05160f4b..f6beeb1dae 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,10 +17,14 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-05-03 23:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbide/ideeditor.prg + % Replaced code with __PLATFORM__* checks with hb_osNewLine() call. + 2010-05-03 18:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbide/idemisc.prg ! Finally added existance check for .uic files to avoid the - unending flow of strange error reports (RTE/GPF) (and subsequente + unending flow of strange error reports (RTE/GPF) (and subsequent random guessing) about problems caused by these missing files. Now HBIDE will show a clear message and quit instantly in this case. diff --git a/harbour/contrib/hbide/ideeditor.prg b/harbour/contrib/hbide/ideeditor.prg index ba8a9878fd..f389ef04f5 100644 --- a/harbour/contrib/hbide/ideeditor.prg +++ b/harbour/contrib/hbide/ideeditor.prg @@ -1971,13 +1971,7 @@ METHOD IdeEdit:copyBlockContents( aCord ) cLine := ::getLine( i + 1 ) cLine := pad( substr( cLine, nL + 1, nW ), nW ) aadd( ::aBlockCopyContents, cLine ) - #if defined( __PLATFORM__WINDOWS ) - cClip += cLine + chr( 13 ) + chr( 10 ) - #elif defined( __PLATFORM__OS2 ) - cClip += cLine + chr( 13 ) + chr( 10 ) - #elif defined( __PLATFORM__UNIX ) - cClip += cLine + chr( 10 ) - #endif + cClip += cLine + hb_osNewLine() NEXT QClipboard():new():setText( cClip )