#include <MXS_Editor_Interface.h>
Public Member Functions |
|
| MXS_Editor_Interface () | |
| ~MXS_Editor_Interface () | |
| HWND | Editor_GetMainHWND () |
| HWND | Editor_GetEditHWND () |
| bool | Editor_Run (HWND parentHWND) |
| bool | Editor_EditFile (const char *filename=NULL, bool useOpenfilenameDialogIfFilenameNull=false, const char *initialPath=NULL, int openToPos=-1, Editor_Interface::OpenFlags of=Editor_Interface::ofNone, bool unhide=true, bool setFocus=true) |
| int | Editor_NumberDocuments () |
| const char * | Editor_GetDocumentFilename (int i) |
| void | Editor_SetDocumentFilename (int i, const char *file_name) |
| const char * | Editor_GetDocumentFilename () |
| void | Editor_SetDocumentFilename (const char *file_name) |
| bool | Editor_IsEditorMessage (MSG &msg) |
| void | Editor_SetTabWidth (int tabWidth) |
| bool | Editor_CloseEditor () |
| void | Editor_DeleteEditor () |
| void | Editor_Show (bool show, bool setFocus=false) |
| void | Editor_SetTitle (const char *title) |
| void | Editor_SetProperty (const char *prop_name, const char *prop_value) |
| const char * | Editor_GetProperty (const char *prop_name) |
| int | Editor_GetIntProperty (const char *prop_name, int defaultValue=0) |
| void | Editor_SetCodePageAndCharacterSet (int code_page, int character_set) |
| void | Editor_GetCodePageAndCharacterSet (int &code_page, int &character_set) |
| EditorStyleDef | Editor_GetEditorStyleDef (const char *lang, int style) |
| void | MXS_DisableAccelerators () |
| void | MXS_EnableAccelerators () |
| void | MXS_EditorShowStateChanged (bool open) |
| void | MXS_ShowListener () |
| void | MXS_PositionListenerAtEOF () |
| void | MXS_ExecuteString (const wchar_t *executeString, const char *file_name, unsigned int file_offset, unsigned int file_linenum) |
| void | MXS_DoLoadProperties () |
| const char * | MXS_GetLocalUserDataDirectory () |
| void | MXS_DisplayHelp (const char *word) |
| void | MXS_NewRollout (HWND mainHWND, HWND editHWND) |
| void | MXS_EditRollout (HWND mainHWND, HWND editHWND) |
Public Attributes |
|
| Editor_Interface * | Editor_Interface_Instance |
| MXSEditor_Interface * | MXSEditor_Interface_Instance |
| MXS_Editor_Interface | ( | ) | [inline] |
: Editor_Interface_Instance(NULL), MXSEditor_Interface_Instance(NULL) {}
| ~MXS_Editor_Interface | ( | ) | [inline] |
| HWND Editor_GetMainHWND | ( | ) | [inline] |
{ return Editor_Interface_Instance->GetMainHWND(); }
| HWND Editor_GetEditHWND | ( | ) | [inline] |
{ return Editor_Interface_Instance->GetEditHWND(); }
| bool Editor_Run | ( | HWND | parentHWND | ) | [inline] |
{ return Editor_Interface_Instance->Run(parentHWND); }
| bool Editor_EditFile | ( | const char * | filename = NULL, |
| bool | useOpenfilenameDialogIfFilenameNull
= false, |
||
| const char * | initialPath =
NULL, |
||
| int | openToPos = -1, |
||
| Editor_Interface::OpenFlags | of =
Editor_Interface::ofNone, |
||
| bool | unhide = true, |
||
| bool | setFocus =
true |
||
| ) | [inline] |
{ return Editor_Interface_Instance->EditFile(filename, useOpenfilenameDialogIfFilenameNull, initialPath, openToPos, of, unhide, setFocus); }
| int Editor_NumberDocuments | ( | ) | [inline] |
{ return Editor_Interface_Instance->NumberDocuments(); }
| const char* Editor_GetDocumentFilename | ( | int | i | ) | [inline] |
{ return Editor_Interface_Instance->GetDocumentFilename(i); }
| void Editor_SetDocumentFilename | ( | int | i, |
| const char * | file_name | ||
| ) | [inline] |
{ Editor_Interface_Instance->SetDocumentFilename(i, file_name); }
| const char* Editor_GetDocumentFilename | ( | ) | [inline] |
| void Editor_SetDocumentFilename | ( | const char * | file_name | ) | [inline] |
{ Editor_Interface_Instance->SetDocumentFilename(file_name); }
| bool Editor_IsEditorMessage | ( | MSG & | msg | ) | [inline] |
{ return Editor_Interface_Instance->IsEditorMessage(msg); }
| void Editor_SetTabWidth | ( | int | tabWidth | ) | [inline] |
{ Editor_Interface_Instance->SetTabWidth(tabWidth); }
| bool Editor_CloseEditor | ( | ) | [inline] |
{ return Editor_Interface_Instance->CloseEditor(); }
| void Editor_DeleteEditor | ( | ) | [inline] |
| void Editor_Show | ( | bool | show, |
| bool | setFocus =
false |
||
| ) | [inline] |
{ Editor_Interface_Instance->Show(show, setFocus); }
| void Editor_SetTitle | ( | const char * | title | ) | [inline] |
{ Editor_Interface_Instance->SetTitle(title); }
| void Editor_SetProperty | ( | const char * | prop_name, |
| const char * | prop_value | ||
| ) | [inline] |
{ Editor_Interface_Instance->SetProperty(prop_name, prop_value); }
| const char* Editor_GetProperty | ( | const char * | prop_name | ) | [inline] |
{ return Editor_Interface_Instance->GetProperty(prop_name); }
| int Editor_GetIntProperty | ( | const char * | prop_name, |
| int | defaultValue =
0 |
||
| ) | [inline] |
{ return Editor_Interface_Instance->GetIntProperty(prop_name, defaultValue); }
| void Editor_SetCodePageAndCharacterSet | ( | int | code_page, |
| int | character_set | ||
| ) | [inline] |
{ Editor_Interface_Instance->SetCodePageAndCharacterSet(code_page, character_set); }
| void Editor_GetCodePageAndCharacterSet | ( | int & | code_page, |
| int & | character_set | ||
| ) | [inline] |
{ Editor_Interface_Instance->GetCodePageAndCharacterSet(code_page, character_set); }
| EditorStyleDef Editor_GetEditorStyleDef | ( | const char * | lang, |
| int | style | ||
| ) | [inline] |
{ return Editor_Interface_Instance->GetEditorStyleDef(lang, style); }
| void MXS_DisableAccelerators | ( | ) | [inline] |
| void MXS_EnableAccelerators | ( | ) | [inline] |
| void MXS_EditorShowStateChanged | ( | bool | open | ) | [inline] |
| void MXS_ShowListener | ( | ) | [inline] |
| void MXS_PositionListenerAtEOF | ( | ) | [inline] |
| void MXS_ExecuteString | ( | const wchar_t * | executeString, |
| const char * | file_name, | ||
| unsigned int | file_offset, | ||
| unsigned int | file_linenum | ||
| ) | [inline] |
{ MXSEditor_Interface_Instance->ExecuteString(executeString, file_name, file_offset, file_linenum); }
| void MXS_DoLoadProperties | ( | ) | [inline] |
| const char* MXS_GetLocalUserDataDirectory | ( | ) | [inline] |
| void MXS_DisplayHelp | ( | const char * | word | ) | [inline] |
| void MXS_NewRollout | ( | HWND | mainHWND, |
| HWND | editHWND | ||
| ) | [inline] |
{ MXSEditor_Interface_Instance->NewRollout(mainHWND, editHWND); }
| void MXS_EditRollout | ( | HWND | mainHWND, |
| HWND | editHWND | ||
| ) | [inline] |
{ MXSEditor_Interface_Instance->EditRollout(mainHWND, editHWND); }