string Title { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Title property provides a friendly name for the current code editor being used within the s&box environment. This property is static and can be accessed without instantiating the CodeEditor class.

Usage

To access the Title property, simply use the following syntax:

string editorTitle = Editor.CodeEditor.Title;

This will retrieve the name of the code editor currently in use, which can be useful for display purposes or logging.

Example

// Example of accessing the Title property
string currentEditorTitle = Editor.CodeEditor.Title;
// Use the title for display or logging
Debug.Log($"Current Code Editor: {currentEditorTitle}");