에디터가 소스코드 보기 모드인지 여부를 반환합니다'It returns whether the editor is in 'Source Code View' mode.
Return:
| Type | Description |
|---|---|
| Boolean 에디터가 소스코드 보기 모드이면 true, 소스코드 보기 모드가 아니면 false | True if the editor is in ‘Source Code View’ mode, false if not in ‘Source Code View’ mode |
Example:
| Code Block | ||||
|---|---|---|---|---|
| ||||
if(editor.isCodeViewMode()) {
editor.setMode('edit');
} |
...