mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-25 19:02:44 +02:00
added history to identifier completion
git-svn-id: trunk@2062 -
This commit is contained in:
parent
ce20604cdd
commit
242b61c96f
@ -3125,6 +3125,27 @@ Assert(False, 'Trace:GetCaretPos');
|
|||||||
Result := True;
|
Result := True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{------------------------------------------------------------------------------
|
||||||
|
function TgtkObject.GetCaretRespondToFocus(handle: HWND;
|
||||||
|
var ShowHideOnFocus: boolean): Boolean;
|
||||||
|
------------------------------------------------------------------------------}
|
||||||
|
function TgtkObject.GetCaretRespondToFocus(handle: HWND;
|
||||||
|
var ShowHideOnFocus: boolean): Boolean;
|
||||||
|
begin
|
||||||
|
if handle<>0 then begin
|
||||||
|
if gtk_type_is_a(gtk_object_type(PGTKObject(handle)), GTKAPIWidget_GetType)
|
||||||
|
then begin
|
||||||
|
GTKAPIWidget_GetCaretRespondToFocus(PGTKAPIWidget(handle),
|
||||||
|
ShowHideOnFocus);
|
||||||
|
Result:=true;
|
||||||
|
end
|
||||||
|
else begin
|
||||||
|
Result := False;
|
||||||
|
end;
|
||||||
|
end else
|
||||||
|
Result:=false;
|
||||||
|
end;
|
||||||
|
|
||||||
{------------------------------------------------------------------------------
|
{------------------------------------------------------------------------------
|
||||||
Function: GetCharABCWidths pbd
|
Function: GetCharABCWidths pbd
|
||||||
Params: Don't care yet
|
Params: Don't care yet
|
||||||
@ -7617,6 +7638,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.202 2002/12/30 17:24:08 mattias
|
||||||
|
added history to identifier completion
|
||||||
|
|
||||||
Revision 1.201 2002/12/28 12:42:38 mattias
|
Revision 1.201 2002/12/28 12:42:38 mattias
|
||||||
focus fixes, reduced lpi size
|
focus fixes, reduced lpi size
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user