qt intf: undo 20743

git-svn-id: trunk@30745 -
This commit is contained in:
mattias 2011-05-15 12:16:33 +00:00
parent acb07766c4
commit 937fe55e63
2 changed files with 3 additions and 4 deletions

View File

@ -31,7 +31,7 @@ unit SynEditPointClasses;
{$I synedit.inc} {$I synedit.inc}
{off $DEFINE SynCaretDebug} {$DEFINE SynCaretDebug}
interface interface

View File

@ -28,7 +28,7 @@ unit QtCaret;
interface interface
{off $DEFINE VerboseQtCaret} {$DEFINE VerboseQtCaret}
{$I qtdefines.inc} {$I qtdefines.inc}
@ -427,8 +427,7 @@ begin
' Y=',Value.Y,' OldX=',FPos.X,' OldY=',FPos.Y,' Dirty=',FCaretDirty); ' Y=',Value.Y,' OldX=',FPos.X,' OldY=',FPos.Y,' Dirty=',FCaretDirty);
{$ENDIF} {$ENDIF}
if not QtWidgetSet.IsValidHandle(HWND(FWidget)) or (FWidget.Widget = nil) if not QtWidgetSet.IsValidHandle(HWND(FWidget)) or (FWidget.Widget = nil) then
or (FWidget.Context=0) then
begin begin
// oops, our caret is dirty here. // oops, our caret is dirty here.
FCaretDirtyPos := FPos; FCaretDirtyPos := FPos;