Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ty

The type of revision:

  • text: The event refers to a change of the text (revision)
  • flags: The event refers to a change of either the status or bookmark

 

string
current

True if this event refers to the current version. The properties are then those of the current version.

For example, if the text in val is the current actual text of the segment.

False if this is an older version.

bool
locThe locale for which the change was done.string
dt

Date of change.

datetime
uidThe person ID who edited this version. Null if set by machine or connected user has no right to see the user details.int?
tskOptional task code. If the comment was added in the framework of a job, then this includes the task code of the job. Otherwise null.string?
   
 Properties used only with "text" events 
valThe text.string
edLast editor type (none, pretranslation, human edit...). See list of possible values.int?
mk

Null or an array of text ranges that differ from the preceding or succeeding text version (this depends on the algorithm chosen in the method that yields this object).

"mk" is null if there are no differences.

If there is at least one difference, the array contains these objects:

  • p: First position of range (0 or above).
  • l: Length of range (1 or above)
  • mt: Strength of difference:
    • 1 = major difference (use strike-out style)
    • 2 = medium difference (use yellow background color)
    • 3 = small difference (use gray background color)
array?<int>
   
 Properties used only with "flags" events 
stThe status: 0 = none, 1 = OK/green, 2 = error/redint
bkThe bookmark value: 0 = none, 1 = blue, 2 = redint

...