A hyperlink that opens a file in a text editor and selects a range of text. This hyperlink action will un-zoom the workbench as needed to show the editor for the associated link.
Clients may instantiate this class.
- This class is not intended to be subclassed by clients.
FileLinkConstructs a hyperlink to the specified file.
file- the file to open when activated
editorId- the identifier of the editor to open the file in, or
nullif the default editor should be used
fileOffset- the offset in the file to select when activated, or -1
fileLength- the length of text to select in the file when activated or -1
fileLineNumber- the line number to select in the file when activated, or -1. First line number is 1. Only used if fileOffset is not set.