GVL_ErrorCodes
(GVL)
This GVL contains error codes of the text editor. To obtain a description of an error code call function <c>VisuFctTextEditorGetErrorText</c>.
- Attributes:
qualified_only
- InOut:
Scope
Name
Type
Initial
Comment
Constant
NO_ERROR
USINT
0
No error
ACTION_ALLOCATE_MEMORY
USINT
1
Actions identifying steps of method prvSaveIntoTemporaryFile
ACTION_READ_FROM_SOURCE_FILE
USINT
2
ACTION_WRITE_TO_TARGET_FILE
USINT
3
ACTION_WRITE_BUFFER_TO_TARGET_FILE
USINT
4
ACTION_SET_FILE_POSITION
USINT
5
ACTION_DELETE_TEMPORARY_FILE
USINT
6
ACTION_WRITE_UNICODE_HEADER
USINT
7
ACTION_RENAME_ORIGINAL_FILE
USINT
10
Actions identifying steps of method prvSaveFile
ACTION_RENAME_TEMPORARY_FILE
USINT
11
ACTION_DELETE_ORIGINAL_FILE
USINT
12
ACTION_RESTORE_ORIGINAL_FILE
USINT
13
ACTION_CREATE_NEW_FILE
USINT
14
Actions identifying steps of method prvNewFile
ACTION_OPEN_FILE
USINT
15
Actions identifying steps of method VisuFbFileChecker.CheckFile
ACTION_READ_FROM_FILE
USINT
16
Actions identifying steps of method prvReadLines
LINE_FULL
USINT
100
Errors, that can occur during editing the text
TOO_LONG_LINES
USINT
101
TOO_LONG_LINE_AFTER_DELETE_SEL
USINT
102
TOO_LONG_LINE_AFTER_DELETE_CHAR
USINT
103
UNICODE_IN_ASCII_FILE
USINT
104
SEARCH_TEXT_NOT_FOUND
USINT
105
Errors, that can occur during searching
SEARCH_TEXT_EMPTY
USINT
106
LINE_WITHOUT_RANGE
USINT
110
Errors, that can occur during selecting a line
FILE_NOT_FOUND
USINT
111
The file to read does not exist
NEGATIVE_LINE_TO_SET
USINT
120
Errors, that can occur when setting the caret programatically
TOO_LARGE_LINE_TO_SET
USINT
121
NEGATIVE_COLUMN_TO_SET
USINT
122
TOO_LARGE_COLUMN_TO_SET
USINT
123
NO_SELECTION_TO_COPY
USINT
130
Errors, that can occur during copy/paste
INVALID_CLIPBOARD_FORMAT
USINT
131
PASTE_UNICODE_INTO_ASCII
USINT
132
TOO_LONG_LINE_AFTER_PASTE
USINT
133