Package Win32::GUI::RichEdit
Constructor
Methods
BackColor([COLOR])
Sets the background color of the RichEdit control; if no COLOR is specified, the background color is reset to the default system color.
CharFromPos(X, Y) Returns a two elements array identifying the character nearest to the position specified by X and Y. The array contains the zero-based index of the character and its line index.
FirstVisibleLine() Returns the first visible line in the RichEdit control.
GetCharFormat([FLAG]) [TBD]
LineFromChar(INDEX) Returns the line number where the zero-based INDEX character appears.
Load(FILENAME, [FORMAT]) Loads a file named FILENAME into the RichEdit control. By default the file is a RTF (Rich Text Format) file; if you want to load a plain text file, you can set FORMAT to 1.
PosFromChar(INDEX) Returns a two elements array containing the x and y position of the specified zero-based INDEX character in the RichEdit control.
ReplaceSel(STRING, [FLAG]) Replaces the current selection with the given STRING. The optional FLAG parameter can be set to zero to tell the control that the operation cannot be undone; see also Undo().
Save(FILENAME, [FORMAT]) Saves the content of the RichEdit control in a file named FILENAME. By default the file is a RTF (Rich Text Format) file; if you want to save in a plain text file, you can set FORMAT to 1.
Select(START, END) Selects the characters range from START to END.
Selection() Returns a two elements array containing the current selection start and end.
Events
Change()
Sent when the text in the field is changed by the user.
3 POD Errors
The following errors were encountered while parsing the POD:
- Around line 103:
You can't have =items (as at line 107) unless the first thing after the =over is an =item
- Around line 118:
You can't have =items (as at line 122) unless the first thing after the =over is an =item
- Around line 246:
You can't have =items (as at line 250) unless the first thing after the =over is an =item