mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 10:49:16 +02:00
codetools: examples: omit implementation section
git-svn-id: trunk@11026 -
This commit is contained in:
parent
894e5506b8
commit
af43c121dc
@ -51,7 +51,9 @@ begin
|
|||||||
and ((Node.SubDesc and ctnsForwardDeclaration)=0) then begin
|
and ((Node.SubDesc and ctnsForwardDeclaration)=0) then begin
|
||||||
CurClassName:=Tool.ExtractClassName(Node,false);
|
CurClassName:=Tool.ExtractClassName(Node,false);
|
||||||
writeln(CurClassName);
|
writeln(CurClassName);
|
||||||
end;
|
end
|
||||||
|
else if Node.Desc=ctnImplementation then
|
||||||
|
break;
|
||||||
Node:=Node.Next;
|
Node:=Node.Next;
|
||||||
end
|
end
|
||||||
end.
|
end.
|
||||||
|
@ -171,6 +171,7 @@ type
|
|||||||
class function CreateHandle(const AWinControl: TWinControl; const AParams: TCreateParams): TLCLIntfHandle; override;
|
class function CreateHandle(const AWinControl: TWinControl; const AParams: TCreateParams): TLCLIntfHandle; override;
|
||||||
class function GetSelStart(const ACustomEdit: TCustomEdit): integer; override;
|
class function GetSelStart(const ACustomEdit: TCustomEdit): integer; override;
|
||||||
class function GetSelLength(const ACustomEdit: TCustomEdit): integer; override;
|
class function GetSelLength(const ACustomEdit: TCustomEdit): integer; override;
|
||||||
|
class procedure SetEchoMode(const ACustomEdit: TCustomEdit; NewMode: TEchoMode); override;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ TGtk2WSCustomMemo }
|
{ TGtk2WSCustomMemo }
|
||||||
@ -674,6 +675,16 @@ begin
|
|||||||
Result := ABS(Entry^.current_pos - Entry^.selection_bound);
|
Result := ABS(Entry^.current_pos - Entry^.selection_bound);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
class procedure TGtk2WSCustomEdit.SetEchoMode(const ACustomEdit: TCustomEdit;
|
||||||
|
NewMode: TEchoMode);
|
||||||
|
var
|
||||||
|
Entry: PGtkEntry;
|
||||||
|
begin
|
||||||
|
inherited SetEchoMode(ACustomEdit, NewMode);
|
||||||
|
Entry := PGtkEntry(ACustomEdit.Handle);
|
||||||
|
gtk_entry_append_text();
|
||||||
|
end;
|
||||||
|
|
||||||
class procedure TGtk2WSCustomComboBox.ReCreateCombo(
|
class procedure TGtk2WSCustomComboBox.ReCreateCombo(
|
||||||
const ACustomComboBox: TCustomComboBox; const AWithEntry: Boolean;
|
const ACustomComboBox: TCustomComboBox; const AWithEntry: Boolean;
|
||||||
const AWidgetInfo: PWidgetInfo);
|
const AWidgetInfo: PWidgetInfo);
|
||||||
|
Loading…
Reference in New Issue
Block a user