#include <MXS_Editor_Interface.h>
|
| Editor_Interface (Editor *instance) |
|
virtual | ~Editor_Interface () |
|
virtual void | DeleteThis () |
|
virtual void | SetTabWidth (int tabWidth) |
|
virtual HWND | GetMainHWND () |
|
virtual HWND | GetEditHWND () |
|
virtual bool | Run (HWND parentHWND) |
|
virtual bool | EditFile (const MCHAR *filename=nullptr, bool useOpenfilenameDialogIfFilenameNull=false, const MCHAR *initialPath=nullptr, int openToPos=-1, Editor_Interface::OpenFlags of=Editor_Interface::ofNone, bool unhide=true, bool setFocus=true) |
|
virtual int | NumberDocuments () |
|
virtual const MCHAR * | GetDocumentFilename (int i) |
|
virtual void | SetDocumentFilename (int i, const MCHAR *file_name) |
|
virtual const MCHAR * | GetDocumentFilename () |
|
virtual void | SetDocumentFilename (const MCHAR *file_name) |
|
virtual bool | IsEditorMessage (MSG &msg) |
|
virtual bool | CloseEditor () |
|
virtual void | DeleteEditor () |
|
virtual void | Show (bool show, bool setFocus=false) |
|
virtual void | SetTitle (const MCHAR *title) |
|
virtual void | SetProperty (const MCHAR *prop_name, const MCHAR *prop_value) |
|
virtual const MCHAR * | GetProperty (const MCHAR *prop_name) |
|
virtual int | GetIntProperty (const MCHAR *prop_name, int defaultValue=0) |
|
virtual void | SetCodePageAndCharacterSet (int code_page, int character_set) |
|
virtual void | GetCodePageAndCharacterSet (int &code_page, int &character_set) |
|
virtual EditorStyleDef | GetEditorStyleDef (const MCHAR *lang, int style) |
|
◆ OpenFlags
Enumerator |
---|
ofNone | |
ofNoSaveIfDirty | |
ofForceLoad | |
ofPreserveUndo | |
ofQuiet | |
40 {
46 };
@ ofForceLoad
Definition: MXS_Editor_Interface.h:43
@ ofNone
Definition: MXS_Editor_Interface.h:41
@ ofNoSaveIfDirty
Definition: MXS_Editor_Interface.h:42
@ ofPreserveUndo
Definition: MXS_Editor_Interface.h:44
@ ofQuiet
Definition: MXS_Editor_Interface.h:45
◆ Editor_Interface()
Editor * Editor_Instance
Definition: MXS_Editor_Interface.h:38
◆ ~Editor_Interface()
◆ DeleteThis()
virtual void DeleteThis |
( |
| ) |
|
|
virtual |
◆ SetTabWidth()
virtual void SetTabWidth |
( |
int |
tabWidth | ) |
|
|
virtual |
◆ GetMainHWND()
virtual HWND GetMainHWND |
( |
| ) |
|
|
virtual |
◆ GetEditHWND()
virtual HWND GetEditHWND |
( |
| ) |
|
|
virtual |
◆ Run()
virtual bool Run |
( |
HWND |
parentHWND | ) |
|
|
virtual |
◆ EditFile()
◆ NumberDocuments()
virtual int NumberDocuments |
( |
| ) |
|
|
virtual |
◆ GetDocumentFilename() [1/2]
virtual const MCHAR * GetDocumentFilename |
( |
int |
i | ) |
|
|
virtual |
◆ SetDocumentFilename() [1/2]
virtual void SetDocumentFilename |
( |
int |
i, |
|
|
const MCHAR * |
file_name |
|
) |
| |
|
virtual |
◆ GetDocumentFilename() [2/2]
virtual const MCHAR * GetDocumentFilename |
( |
| ) |
|
|
virtual |
◆ SetDocumentFilename() [2/2]
virtual void SetDocumentFilename |
( |
const MCHAR * |
file_name | ) |
|
|
virtual |
◆ IsEditorMessage()
virtual bool IsEditorMessage |
( |
MSG & |
msg | ) |
|
|
virtual |
◆ CloseEditor()
virtual bool CloseEditor |
( |
| ) |
|
|
virtual |
◆ DeleteEditor()
virtual void DeleteEditor |
( |
| ) |
|
|
virtual |
◆ Show()
virtual void Show |
( |
bool |
show, |
|
|
bool |
setFocus = false |
|
) |
| |
|
virtual |
◆ SetTitle()
◆ SetProperty()
virtual void SetProperty |
( |
const MCHAR * |
prop_name, |
|
|
const MCHAR * |
prop_value |
|
) |
| |
|
virtual |
◆ GetProperty()
virtual const MCHAR * GetProperty |
( |
const MCHAR * |
prop_name | ) |
|
|
virtual |
◆ GetIntProperty()
virtual int GetIntProperty |
( |
const MCHAR * |
prop_name, |
|
|
int |
defaultValue = 0 |
|
) |
| |
|
virtual |
◆ SetCodePageAndCharacterSet()
virtual void SetCodePageAndCharacterSet |
( |
int |
code_page, |
|
|
int |
character_set |
|
) |
| |
|
virtual |
◆ GetCodePageAndCharacterSet()
virtual void GetCodePageAndCharacterSet |
( |
int & |
code_page, |
|
|
int & |
character_set |
|
) |
| |
|
virtual |
◆ GetEditorStyleDef()
◆ Editor_Instance