TextEditor.EnterDiffMode (gb.form.editor)

Sub EnterDiffMode ( Added As Integer[], Removed As Collection )

Enter "diff mode".

  • Added is the list of line numbers that are added. These lines are highlighted with the Highlight.Added color.

  • Removed is a collection of string arrays indexed by line number, the string array containing the lines of text that were removed at that line number. The removed lines are highlighted with the Highlight.Removed color.

In "diff mode", the editor becomes read-only.

See also