2
using System.Collections.Generic;
5
using System.Windows.Forms;
8
namespace TextEditorSWF.ExtensionModel
11
/// Add-ins can create subclasses of EditorExtension to intercept some
12
/// text editor events, such as saving a file, loading, etc.
15
public class EditorExtension
18
/// Called when the text editor is initialized
20
public virtual void Initialize ()
25
/// Called when a file is loaded
27
public virtual void OnLoadFile (string file)
32
/// Called when the current file is saved
34
public virtual void OnSaveFile (string file)
39
/// Called when a new file is created
41
public virtual void OnCreateFile ()