On Windows version of Lazarus I added a small part of code in order to
paint selected part of page viewed. it seem it is never called. This
same addition to Linux version of Lazarus does not afect selection is
painted.
Addition made in ipHTML unit about line 8040.
{$IFDEF IP_LAZARUS}
//DebugLn('TIpHtml.PaintSelection PatBlt not implemented');
BitMapToInvert := TBitMap.Create;
BitMapToInvert.Width := R.Right - R.Left;
BitMapToInvert.Height := R.Bottom - R.Top;
BitMapToInvert.Canvas.CopyMode := cmMergePaint;
BitMapToInvert.Canvas.CopyRect( Rect( 0, 0, BitMapToInvert.Width,
BitMapToInvert.Height ), PaintBuffer, R );
PaintBuffer.CopyRect( R, BitMapToInvert.Canvas, Rect( 0, 0,
BitMapToInvert.Width, BitMapToInvert.Height ) );
BitMapToInvert.Free;
{$ELSE}
PatBlt(PaintBuffer.Handle, R.Left, R.Top, R.Right - R.Left, R.Bottom -
R.Top, DSTINVERT);
{$ENDIF}
By default ipHTMLPanel paints selected region (white chars on black
background), but SelectAll methos oes not paint. Project is compiled for
gtk2.
Panagiotis
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives