Class: Text_Window_mixin
Class: Text_Window
SuperClass: EDIT
Description: This class implements a text-editing object suitable for
use with Entry_Form and Table objects, which may be bound to a
sequential ASCII file or a database memo-field
Usage: object tw is a Text_Window FOR file.fieldname
set location to ...
set right_margin to ...
set size to ...
end_object
Class Hierarchy:
cObjectMixinText_Window_mixinMixins:
Action_Bar_Mixin, DEO_Delegate_Mixin, Find_Edit_Mixin, Navigate_Mixin, Nesting_Mixin, Non_Dependent_Item_Mixin, Server_Mixin, Verify_Mixin,
Class Definition
Properties
integerPrivate.Data_Field
integerPrivate.Data_File
Functions and Procedures
Bottom_of_Panel()
created for Navigation support
Child_Wrapping(integer direction integer xorigID)
created for navigation support
Clear()
created for Server support
Clear_All()
created for Server support
Clear_Set()
created for Server support
Construct_Object()
Operation: CONSTRUCT_OBJECT
Assumption(s): none
Goal(s): define an instance with appropriate keys and properties
Algorithm: relies on support module constructors
Usage: used internally
Copy_Marked_Area()
Operation: COPY_MARKED_AREA
Assumption(s): none
Goal(s): copy marked text to ClipBoard
Algorithm: sends CUT
Usage:
Cut_Marked_Area()
Operation: CUT_MARKED_AREA
Assumption(s): none
Goal(s): cut marked text to ClipBoard object
Algorithm: sends CUT
Usage:
integerData_Field(integer item#)
created for EntItem simulation
integerData_File(integer item#)
created for EntItem simulation
Display()
created for Server support
End_Construct_Object()
Entry_Clear(integer ecflag)
created for EntItem simulation: ecflag <> 0 means use Cleared-array
Entry_Clear_All(integer ecaDoneFlag)
created for EntItem simulation:
must clear if ecaDoneFlag = 0 OR if Data_File in DONE-array
Entry_Display(integer file# integer flag)
created for EntItem simulation and Server support:
if file# = 0, display only if Data_File is in Done-array
else display only if file# = Data_File
Entry_Update(integer file# integer flag)
created for EntItem simulation and Server support
if file# = 0, display only if Data_File is in Done-array
else display only if file# = Data_File
integerItem_Count()
created for EntItem simulation
Mark_Block()
Operation: MARK_BLOCK
Assumption(s): none
Goal(s): begin mark of text block in buffer
Algorithm: sets COLUMN_MODE to False and sends MARK_ON
Usage:
Mark_Column()
Operation: MARK_COLUMN
Assumption(s): none
Goal(s): mark columnar area of text in buffer
Algorithm: sets COLUMN_MODE to True and sends MARK_ON
Usage:
Mode_Insert()
Operation: MODE_INSERT
Assumption(s): none
Goal(s): set INSERT_MODE to True
Algorithm: sets INSERT_MODE to True
Usage:
Mode_Overwrite()
Operation: MODE_OVERWRITE
Assumption(s): none
Goal(s): set INSERT_MODE to False
Algorithm: sets INSERT_MODE to False
Usage:
Paste_Block()
Operation: PASTE_BLOCK
Assumption(s): none
Goal(s): insert text from ClipBoard into buffer at current position
Algorithm: sends PASTE to ClipBoard object
Usage:
Prompt()
Read_File()
msg for action_bar
Refresh(integer notifyMode)
Request_Clear()
created for FindEdit support
Request_Clear_All()
created for FindEdit support
Request_Delete()
created for FindEdit support
Request_Find(integer mode integer entUpdtFlag)
FindEdit support behavior
Request_Save()
created for FindEdit support
Request_Save_No_Clear()
this allows us to save a record without it clearing regardless of
the Auto_Clear_DEO_State value
Request_Superfind(integer mode)
created for FindEdit support
set(integer item# integer newval)
created for EntItem simulation
set(integer item# integer newval)
created for EntItem simulation
Top_of_Panel()
created for Navigation support
Update_Dependent_Items()
Operation: UPDATE_DEPENDENT_ITEMS
Assumption(s): none
Goal(s): do nothing (cancels message sent by Server-mixin)
Algorithm: none
Usage:
IntegerValidate_Items(Boolean bNotFindReq)
created for server and EntItem support
returns non-zero if data invalid, 0 if no error (valid)
no action by default; intended for augmentation/override
NOTE: if this object's validation fails, this object should
take the focus.
Zoom()