Package RASCAL.ToolboxTextArea

DescriptionToolboxTextArea types and methods.
Authorbbracke
Date2005/11/21 20:14:33
Revision1.1
 

Clauses

Quick access : ClausesGenericsDefinitionsSubprograms


 
Context clauses
System
System.Unsigned_Types
RASCAL.Toolbox
RASCAL.ToolboxWindow
RASCAL.OS
 
Use clauses
System
System.Unsigned_Types
RASCAL.Toolbox
RASCAL.ToolboxWindow
RASCAL.OS
 

Basic Objects

Quick access : ClausesGenericsDefinitionsSubprograms


Basic Objects
Name Type Default
TextArea_Scrollbar_VerticalInteger16#1#constant
Flags
TextArea_Scrollbar_HorizontalInteger16#2#constant
TextArea_WordWrapInteger16#4#constant
TextArea_AllowSelectionInteger16#8#constant
TextArea_AllowSaveInteger16#10#constant
TextArea_AllowLoadInteger16#20#constant
TextArea_ClipboardInteger16#40#constant
TextArea_AutoScrollInteger16#80#constant
TextArea_KeyNotificationInteger16#100#constant
 

Definitions

Quick access : ClausesGenericsDefinitionsSubprograms


Types
Name Declaration
Toolbox_TextArea_DataLoaded_Pointeraccess Toolbox_TextArea_DataLoaded
   
Toolbox_TextArea_DataLoaded record
This toolbox event is raised when the user drags a file into the textarea.
Component Type Default
HeaderToolbox_Event_Header
   
ATEL_Toolbox_TextArea_DataLoaded abstract tagged record
inheritance from Toolbox_EventListener (Toolbox_Event_TextArea_DataLoaded, -1, -1)
Component Type Default
EventToolbox_TextArea_DataLoaded_Pointer
  
Pragmas
Convention(C, Toolbox_TextArea_DataLoaded)
 

Subprograms

Quick access : ClausesGenericsDefinitionsSubprograms


  
Get_State function
Returninteger
Returns the state (flags) of the TextArea.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_State procedure
Sets the state (flags) of the textarea.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
Stateintegerin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Text procedure
Sets the text of the TextArea.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
Textstringin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_Text function
ReturnString
Returns the text of the TextArea.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
  
Insert_Text procedure
Inserts text into TexTArea at specified position.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
Textstringin
Indexintegerin0
FlagsSystem.Unsigned_Types.Unsignedin0
  
Replace_Text procedure
Replaces text at the specified position in TextArea.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
Textstringin
End_Indexintegerin0
Start_Indexintegerin0
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_Selection function
ReturnString
Returns the selected text in the TextArea.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
  
Get_Selection_Index procedure
Returns the index values of the selections start and end in the TextArea.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
Start_Indexintegerout
End_Indexintegerout
  
Set_Selection procedure
Selects text by the TextArea.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
End_Indexintegerin
Start_Indexintegerin0
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Font procedure
Sets the font used in by the TextArea.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
FontStringin
Font_Widthintegerin12
Font_Heightintegerin12
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Colour procedure
Sets the foreground and background colour used by the TextArea.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
ForegroundOS_Colourin
BackgroundOS_Colourin
  
Set_Colour procedure
Sets the foreground and background colour used by the TextArea.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
ForegroundToolbox_Colourin7
BackgroundToolbox_Colourin0
  
Get_Colour procedure
Returns the background and foreground colours of the TextArea.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
ForegroundOS_Colourout
BackgroundOS_Colourout
FlagsSystem.Unsigned_Types.Unsignedin0
  
Get_WindowID function
ReturnObject_ID
Returns the object Id of the nested window used to implement a TextArea gadget.
Requires version 0.77 of the TextGadgets module.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_Background procedure
Sets a sprite as the background image of the textarea.
Requires version 0.77 of the TextGadgets module.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
SpriteStringin
FlagsSystem.Unsigned_Types.Unsignedin0
  
Set_TextBorder procedure
Sets the border width of the TextArea.
Parameter name Type Mode Default
WindowObject_IDin
ComponentComponent_IDin
BorderSizeIntegerin
FlagsSystem.Unsigned_Types.Unsignedin0