ZylVscEditor

Unit ZylVscEditor

Description
Uses
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Constants
Variables

Description

Copyright by Zyl Soft 2003 - 2025

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TZylVscEditor TZylVscEditor is a component to integrate Visual Studio Code IDE in your application.

Functions and Procedures

procedure Register;

Types

TEditorMode = (...);
TEditorContentChangeEvent = procedure(Sender: TObject; content: string) of object;
TEditorLanguageChangeEvent = procedure(Sender: TObject; oldLanguage: string) of object;
TEditorMouseEvent = procedure(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer) of object;
TEditorKeyEvent = procedure(Sender: TObject; Key: Word; Shift: TShiftState) of object;

Description

Functions and Procedures

procedure Register;
 

Types

TEditorMode = (...);

Editor mode enum. It can be simple editor or compare editor.

Values
  • emEditor
  • emCompare
TEditorContentChangeEvent = procedure(Sender: TObject; content: string) of object;

Content change event type.

Parameters
content
New content of the editor.
TEditorLanguageChangeEvent = procedure(Sender: TObject; oldLanguage: string) of object;

Language change event type.

Parameters
oldLanguage
Previous language.
TEditorMouseEvent = procedure(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer) of object;

Mouse event type.

Parameters
Button
Pressed mouse button.
Shift
Control keys state.
X
Horizontal position of the cursor.
Y
Vertical position of the cursor.
TEditorKeyEvent = procedure(Sender: TObject; Key: Word; Shift: TShiftState) of object;

Key event type.

Parameters
Key
Pressed key code.
Shift
Control keys state.
Copyright by Zyl Soft 2024
Generated by PasDoc 0.16.0.