Editor_Interface Class Reference
#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=NULL, bool useOpenfilenameDialogIfFilenameNull=false, const MCHAR *initialPath=NULL, 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) |
|
Enumerator |
---|
ofNone |
|
ofNoSaveIfDirty |
|
ofForceLoad |
|
ofPreserveUndo |
|
ofQuiet |
|
Definition: MXS_Editor_Interface.h:42
Definition: MXS_Editor_Interface.h:41
Definition: MXS_Editor_Interface.h:43
Definition: MXS_Editor_Interface.h:45
Definition: MXS_Editor_Interface.h:44
Editor * Editor_Instance
Definition: MXS_Editor_Interface.h:38
virtual void DeleteThis |
( |
| ) |
|
|
virtual |
virtual void SetTabWidth |
( |
int |
tabWidth | ) |
|
|
virtual |
virtual HWND GetMainHWND |
( |
| ) |
|
|
virtual |
virtual HWND GetEditHWND |
( |
| ) |
|
|
virtual |
virtual bool Run |
( |
HWND |
parentHWND | ) |
|
|
virtual |
virtual int NumberDocuments |
( |
| ) |
|
|
virtual |
virtual const MCHAR* GetDocumentFilename |
( |
int |
i | ) |
|
|
virtual |
virtual void SetDocumentFilename |
( |
int |
i, |
|
|
const MCHAR * |
file_name |
|
) |
| |
|
virtual |
virtual const MCHAR* GetDocumentFilename |
( |
| ) |
|
|
virtual |
virtual void SetDocumentFilename |
( |
const MCHAR * |
file_name | ) |
|
|
virtual |
virtual bool IsEditorMessage |
( |
MSG & |
msg | ) |
|
|
virtual |
virtual bool CloseEditor |
( |
| ) |
|
|
virtual |
virtual void DeleteEditor |
( |
| ) |
|
|
virtual |
virtual void Show |
( |
bool |
show, |
|
|
bool |
setFocus = false |
|
) |
| |
|
virtual |
virtual void SetProperty |
( |
const MCHAR * |
prop_name, |
|
|
const MCHAR * |
prop_value |
|
) |
| |
|
virtual |
virtual const MCHAR* GetProperty |
( |
const MCHAR * |
prop_name | ) |
|
|
virtual |
virtual int GetIntProperty |
( |
const MCHAR * |
prop_name, |
|
|
int |
defaultValue = 0 |
|
) |
| |
|
virtual |
virtual void SetCodePageAndCharacterSet |
( |
int |
code_page, |
|
|
int |
character_set |
|
) |
| |
|
virtual |
virtual void GetCodePageAndCharacterSet |
( |
int & |
code_page, |
|
|
int & |
character_set |
|
) |
| |
|
virtual |