gtk2 intf: custom drawing text cursor - the xor is needed for twilight highlighter settings

git-svn-id: trunk@16180 -
This commit is contained in:
mattias 2008-08-22 07:31:14 +00:00
parent 1f78623bce
commit aac829f16a

View File

@ -44,7 +44,9 @@ uses
Controls, GTKProc, GtkDef;
{ $Define VerboseCaret}
{$IFNDEF GTK1}{$DEFINE Has_gtk_draw_insertion_cursor}{$ENDIF}
// the gtk has a function to draw the cursor, but it does not support xor
// so it does not work with synedit and twilight hightlighter settings
{$IFNDEF GTK1}{off $DEFINE Has_gtk_draw_insertion_cursor}{$ENDIF}
type
PGTKAPIWidget = ^TGTKAPIWidget;