Class tinplaceedit

Unit

Declaration

type tinplaceedit = class(tobject, iassistiveclientedit)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected fupdating: integer;
Protected fstate: inplaceeditstatesty;
Protected fcaretwidth: integer;
Protected frow: integer;
Protected fbackup: msestring;

Methods

Protected function caretonreadonly(): boolean;
Protected function initactioninfo(aaction: editactionty): editnotificationinfoty;
Protected function updateindex(const avalue: int32): int32;
Protected procedure checkindexvalues;
Protected procedure setcurindex(const avalue: integer);
Protected procedure moveindex1(newindex: integer; shift: boolean = false; donotify: boolean = true);
Protected procedure deletechar; virtual;
Protected procedure deleteback; virtual;
Protected procedure internaldelete(start,len,startindex: integer; selected: boolean); virtual;
Protected function checkaction(const aaction: editactionty): boolean; overload;
Protected function checkaction(var info: editnotificationinfoty): boolean; overload;
Protected procedure enterchars(const chars: msestring); virtual;
Protected function locating: boolean;
Protected procedure onundo(const sender: tobject);
Protected procedure onredo(const sender: tobject);
Protected procedure oncopy(const sender: tobject);
Protected procedure oncut(const sender: tobject);
Protected procedure onpaste(const sender: tobject);
Protected procedure onselectall(const sender: tobject);
Protected procedure redo; virtual;
Protected function canredo: boolean; virtual;
Protected function pastefromclipboard( const buffer: clipboardbufferty): boolean; virtual;
Protected function copytoclipboard(const buffer: clipboardbufferty): boolean;
Protected function cuttoclipboard(const buffer: clipboardbufferty): boolean; virtual;
Protected function getiassistiveclient(): iassistiveclientedit virtual;
Protected function getassistiveparent(): iassistiveclient;
Protected function getinstance: tobject;
Protected function getassistivewidget(): tobject;
Protected function getassistivename(): msestring;
Protected function getassistivecaption(): msestring;
Protected function getassistivetext(): msestring;
Protected function getassistivecaretindex(): int32;
Protected function getassistivehint(): msestring;
Protected function getassistiveflags(): assistiveflagsty;
Protected function getifidatalinkintf(): iifidatalink;
Public constructor create(aowner: twidget; editintf: iedit; istextedit: boolean = false);
Public destructor destroy; override;
Public procedure setup(const text: msestring; cursorindex: integer; shift: boolean; const atextrect,aclientrect: rectty; const format: formatinfoarty = nil; const tabulators: tcustomtabulators = nil; const font: tfont = nil; noinvalidate: boolean = false);
Public procedure updatepos(const atextrect,aclientrect: rectty);
Public procedure movepos(const adist: pointty);
Public procedure setscrollvalue(const avalue: real; const horz: boolean);
Public function getfontcanvas: tcanvas;
Public function beforechange: boolean;
Public procedure begingroup; virtual;
Public procedure endgroup; virtual;
Public procedure scroll(const dist: pointty; const scrollcaret: boolean = true);
Public procedure beginupdate;
Public procedure endupdate;
Public function updating: boolean;
Public procedure updatecaret;
Public procedure dokeydown(var kinfo: keyeventinfoty);
Public procedure mouseevent(var minfo: mouseeventinfoty);
Public procedure updatepopupmenu(var amenu: tpopupmenu; const popupmenu: tpopupmenu; var mouseinfo: mouseeventinfoty; const hasselection: boolean);
Public procedure setfirstclick(var ainfo: mouseeventinfoty);
Public procedure doactivate;
Public procedure dodeactivate;
Public procedure dofocus;
Public procedure dodefocus;
Public procedure dopaint(const canvas: tcanvas);
Public procedure poschanged;
Public procedure dragstarted;
Public procedure clear; virtual;
Public procedure initfocus;
Public procedure moveindex(newindex: integer; shift: boolean = false; donotify: boolean = true); virtual;
Public procedure inserttext(const text: msestring; nooverwrite: boolean = true);
Public function copytoclipboard: boolean;
Public function cuttoclipboard: boolean;
Public function pastefromclipboard: boolean;
Public procedure deleteselection;
Public procedure clearundo;
Public procedure undo; virtual;
Public procedure selectall;
Public procedure clearselection;
Public function optionsedit: optionseditty;
Public function canedit: boolean;
Public function canundo: boolean; virtual;
Public function cancopy: boolean;
Public function canpaste: boolean;
Public function getinsertcaretwidth(const canvas: tcanvas; const afont: tfont): integer;
Public function selectedtext: msestring;
Public function hasselection: boolean;
Public function lasttextclipped: boolean;
Public function lasttextclipped(const acliprect: rectty): boolean;
Public function textclipped: boolean;
Public function mousepostotextindex(const apos: pointty): integer;
Public function textindextomousepos(const aindex: integer): pointty;

Properties

Public property font: tfont read ffont write setfont;
Public property fontstyle: fontstylesty read ffontstyle write ffontstyle default [];
Public property fontcolor: colorty read ffontcolor write ffontcolor default cl_none;
Public property fontcolorbackground: colorty read ffontcolor write ffontcolorbackground default cl_none;
Public property widget: twidget read fwidget;
Public property forcecaret: boolean read getforcecaret write setforcecaret;
Public property insertstate: boolean read getinsertstate write setinsertstate;
Public property selstart: integer read fselstart write setselstart;
Public property sellength: halfinteger read fsellength write setsellength;
Public property curindex: integer read fcurindex write setcurindex;
Public property caretpos: pointty read getcaretpos;
Public property optionsedit1: optionsedit1ty read foptionsedit1 write foptionsedit1 default defaultoptionsedit1;
Public property textflags: textflagsty read ftextflags write settextflags;
Public property textflagsactive: textflagsty read ftextflagsactive write settextflagsactive;
Public property passwordchar: msechar read fpasswordchar write setpasswordchar default #0;
Public property maxlength: integer read fmaxlength write setmaxlength default -1;
Public property caretwidth: integer read fcaretwidth write setcaretwidth default defaultcaretwidth;
Public property text: msestring read finfo.text.text write settext;
Public property oldtext: msestring read foldtext write foldtext;
Public property richtext: richstringty read finfo.text write setrichtext;
Public property format: formatinfoarty read finfo.text.format write setformat;
Public property destrect: rectty read finfo.dest;
Public property cliprect: rectty read finfo.clip;
Public property textrect: rectty read gettextrect;
Public property filtertext: msestring read ffiltertext write setfiltertext;

Description

Fields

Protected fupdating: integer;

This item has no description.

Protected fstate: inplaceeditstatesty;

This item has no description.

Protected fcaretwidth: integer;

This item has no description.

Protected frow: integer;

This item has no description.

Protected fbackup: msestring;

This item has no description.

Methods

Protected function caretonreadonly(): boolean;

This item has no description.

Protected function initactioninfo(aaction: editactionty): editnotificationinfoty;

This item has no description.

Protected function updateindex(const avalue: int32): int32;

This item has no description.

Protected procedure checkindexvalues;

This item has no description.

Protected procedure setcurindex(const avalue: integer);

This item has no description.

Protected procedure moveindex1(newindex: integer; shift: boolean = false; donotify: boolean = true);

This item has no description.

Protected procedure deletechar; virtual;

This item has no description.

Protected procedure deleteback; virtual;

This item has no description.

Protected procedure internaldelete(start,len,startindex: integer; selected: boolean); virtual;

This item has no description.

Protected function checkaction(const aaction: editactionty): boolean; overload;

This item has no description.

Protected function checkaction(var info: editnotificationinfoty): boolean; overload;

This item has no description.

Protected procedure enterchars(const chars: msestring); virtual;

This item has no description.

Protected function locating: boolean;

This item has no description.

Protected procedure onundo(const sender: tobject);

This item has no description.

Protected procedure onredo(const sender: tobject);

This item has no description.

Protected procedure oncopy(const sender: tobject);

This item has no description.

Protected procedure oncut(const sender: tobject);

This item has no description.

Protected procedure onpaste(const sender: tobject);

This item has no description.

Protected procedure onselectall(const sender: tobject);

This item has no description.

Protected procedure redo; virtual;

This item has no description.

Protected function canredo: boolean; virtual;

This item has no description.

Protected function pastefromclipboard( const buffer: clipboardbufferty): boolean; virtual;

This item has no description.

Protected function copytoclipboard(const buffer: clipboardbufferty): boolean;

This item has no description.

Protected function cuttoclipboard(const buffer: clipboardbufferty): boolean; virtual;

This item has no description.

Protected function getiassistiveclient(): iassistiveclientedit virtual;

This item has no description.

Protected function getassistiveparent(): iassistiveclient;

This item has no description.

Protected function getinstance: tobject;

This item has no description.

Protected function getassistivewidget(): tobject;

This item has no description.

Protected function getassistivename(): msestring;

This item has no description.

Protected function getassistivecaption(): msestring;

This item has no description.

Protected function getassistivetext(): msestring;

This item has no description.

Protected function getassistivecaretindex(): int32;

This item has no description.

Protected function getassistivehint(): msestring;

This item has no description.

Protected function getassistiveflags(): assistiveflagsty;

This item has no description.

Protected function getifidatalinkintf(): iifidatalink;

This item has no description.

Public constructor create(aowner: twidget; editintf: iedit; istextedit: boolean = false);

This item has no description.

Public destructor destroy; override;

This item has no description.

Public procedure setup(const text: msestring; cursorindex: integer; shift: boolean; const atextrect,aclientrect: rectty; const format: formatinfoarty = nil; const tabulators: tcustomtabulators = nil; const font: tfont = nil; noinvalidate: boolean = false);

This item has no description.

Public procedure updatepos(const atextrect,aclientrect: rectty);

This item has no description.

Public procedure movepos(const adist: pointty);

This item has no description.

Public procedure setscrollvalue(const avalue: real; const horz: boolean);

This item has no description.

Public function getfontcanvas: tcanvas;

This item has no description.

Public function beforechange: boolean;

This item has no description.

Public procedure begingroup; virtual;

This item has no description.

Public procedure endgroup; virtual;

This item has no description.

Public procedure scroll(const dist: pointty; const scrollcaret: boolean = true);

This item has no description.

Public procedure beginupdate;

This item has no description.

Public procedure endupdate;

This item has no description.

Public function updating: boolean;

This item has no description.

Public procedure updatecaret;

This item has no description.

Public procedure dokeydown(var kinfo: keyeventinfoty);

This item has no description.

Public procedure mouseevent(var minfo: mouseeventinfoty);

This item has no description.

Public procedure updatepopupmenu(var amenu: tpopupmenu; const popupmenu: tpopupmenu; var mouseinfo: mouseeventinfoty; const hasselection: boolean);

This item has no description.

Public procedure setfirstclick(var ainfo: mouseeventinfoty);

This item has no description.

Public procedure doactivate;

This item has no description.

Public procedure dodeactivate;

This item has no description.

Public procedure dofocus;

This item has no description.

Public procedure dodefocus;

This item has no description.

Public procedure dopaint(const canvas: tcanvas);

This item has no description.

Public procedure poschanged;

This item has no description.

Public procedure dragstarted;

This item has no description.

Public procedure clear; virtual;

This item has no description.

Public procedure initfocus;

This item has no description.

Public procedure moveindex(newindex: integer; shift: boolean = false; donotify: boolean = true); virtual;

This item has no description.

Public procedure inserttext(const text: msestring; nooverwrite: boolean = true);

This item has no description.

Public function copytoclipboard: boolean;

This item has no description.

Public function cuttoclipboard: boolean;

This item has no description.

Public function pastefromclipboard: boolean;

This item has no description.

Public procedure deleteselection;

This item has no description.

Public procedure clearundo;

This item has no description.

Public procedure undo; virtual;

This item has no description.

Public procedure selectall;

This item has no description.

Public procedure clearselection;

This item has no description.

Public function optionsedit: optionseditty;

This item has no description.

Public function canedit: boolean;

This item has no description.

Public function canundo: boolean; virtual;

This item has no description.

Public function cancopy: boolean;

This item has no description.

Public function canpaste: boolean;

This item has no description.

Public function getinsertcaretwidth(const canvas: tcanvas; const afont: tfont): integer;

This item has no description.

Public function selectedtext: msestring;

This item has no description.

Public function hasselection: boolean;

This item has no description.

Public function lasttextclipped: boolean;

This item has no description.

Public function lasttextclipped(const acliprect: rectty): boolean;

This item has no description.

Public function textclipped: boolean;

This item has no description.

Public function mousepostotextindex(const apos: pointty): integer;

This item has no description.

Public function textindextomousepos(const aindex: integer): pointty;

This item has no description.

Properties

Public property font: tfont read ffont write setfont;

This item has no description.

Public property fontstyle: fontstylesty read ffontstyle write ffontstyle default [];

This item has no description.

Public property fontcolor: colorty read ffontcolor write ffontcolor default cl_none;

This item has no description.

Public property fontcolorbackground: colorty read ffontcolor write ffontcolorbackground default cl_none;

This item has no description.

Public property widget: twidget read fwidget;

This item has no description.

Public property forcecaret: boolean read getforcecaret write setforcecaret;

This item has no description.

Public property insertstate: boolean read getinsertstate write setinsertstate;

This item has no description.

Public property selstart: integer read fselstart write setselstart;

This item has no description.

Public property sellength: halfinteger read fsellength write setsellength;

This item has no description.

Public property curindex: integer read fcurindex write setcurindex;

This item has no description.

Public property caretpos: pointty read getcaretpos;

This item has no description.

Public property optionsedit1: optionsedit1ty read foptionsedit1 write foptionsedit1 default defaultoptionsedit1;

This item has no description.

Public property textflags: textflagsty read ftextflags write settextflags;

This item has no description.

Public property textflagsactive: textflagsty read ftextflagsactive write settextflagsactive;

This item has no description.

Public property passwordchar: msechar read fpasswordchar write setpasswordchar default #0;

This item has no description.

Public property maxlength: integer read fmaxlength write setmaxlength default -1;

This item has no description.

Public property caretwidth: integer read fcaretwidth write setcaretwidth default defaultcaretwidth;

This item has no description.

Public property text: msestring read finfo.text.text write settext;

This item has no description.

Public property oldtext: msestring read foldtext write foldtext;

This item has no description.

Public property richtext: richstringty read finfo.text write setrichtext;

This item has no description.

Public property format: formatinfoarty read finfo.text.format write setformat;

This item has no description.

Public property destrect: rectty read finfo.dest;

This item has no description.

Public property cliprect: rectty read finfo.clip;

This item has no description.

Public property textrect: rectty read gettextrect;

This item has no description.

Public property filtertext: msestring read ffiltertext write setfiltertext;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.