# Editors

The main editor panel is a tabbed window which displays editors for the various script assets.

* [Code Editor](https://chaoses-ib.gitbook.io/directory-opus/manual/scripting/script_editor/editors/code_editor): Edit script code, with syntax highlighting for VBScript and JScript. You can also configure an external editor for editing script code.
* [Dialog Editor](https://chaoses-ib.gitbook.io/directory-opus/manual/scripting/script_editor/editors/dialog_editor): Edit script dialogs with a full WYSIWYG editor.
* [String Editor](https://chaoses-ib.gitbook.io/directory-opus/manual/scripting/script_editor/editors/string_editor): Edit string translations, which let your script support multiple languages.

The editor panel can also display previews of icons and images.

To edit (or view) a script asset, simply double-click it in the asset panel, or use the **Open** command in the *Assets* menu (or right-click context menu). A new tab will open in the editor panel for each asset. If an asset has been modified since the script was last saved, the tab indicates this with a red dot: ![](https://3597805814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3XSZSwWow0fDf6fQJobd%2Fuploads%2Fgit-blob-a885bb2255d0b5b6df2dbfd571d6af64cfbeea92%2Fscripteditor_tab.png?alt=media)

The corresponding tab in the asset panel also uses a red dot to indicate that something within it has changed. You can close the tab for the modified asset without losing your changes - Opus will alert you if you try to close the whole editor while changes are unsaved.
