Returns true if selected editor is a text editor. By default the selected editor will be the currently highlighted editor. Alternately argument 1 can be passed a type of editor to test for.
Number | Type | Compulsory | Default | Description |
---|---|---|---|---|
1 |
string |
No |
<<empty>> |
Text editor type |
This can be used to search for a particular text editor type. Possible values are:
Return type: boolean
True or false depending on whether the selected editor is a text editor.
|