MXS_Editor_Interface Class Reference
         
    
#include <MXS_Editor_Interface.h>
|  | 
|  | MXS_Editor_Interface () | 
|  | 
|  | ~MXS_Editor_Interface () | 
|  | 
| HWND | Editor_GetMainHWND () | 
|  | 
| HWND | Editor_GetEditHWND () | 
|  | 
| bool | Editor_Run (HWND parentHWND) | 
|  | 
| bool | Editor_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) | 
|  | 
| int | Editor_NumberDocuments () | 
|  | 
| const MCHAR * | Editor_GetDocumentFilename (int i) | 
|  | 
| void | Editor_SetDocumentFilename (int i, const MCHAR *file_name) | 
|  | 
| const MCHAR * | Editor_GetDocumentFilename () | 
|  | 
| void | Editor_SetDocumentFilename (const MCHAR *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 MCHAR *title) | 
|  | 
| void | Editor_SetProperty (const MCHAR *prop_name, const MCHAR *prop_value) | 
|  | 
| const MCHAR * | Editor_GetProperty (const MCHAR *prop_name) | 
|  | 
| int | Editor_GetIntProperty (const MCHAR *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 MCHAR *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 MCHAR *file_name, unsigned int file_offset, unsigned int file_linenum) | 
|  | 
| void | MXS_DoLoadProperties () | 
|  | 
| const MCHAR * | MXS_GetLocalUserDataDirectory () | 
|  | 
| void | MXS_DisplayHelp (const MCHAR *word) | 
|  | 
| void | MXS_DisplayHelp (bool displayPythonHelp, const MCHAR *word) | 
|  | 
| void | MXS_NewRollout (HWND mainHWND, HWND editHWND) | 
|  | 
| void | MXS_EditRollout (HWND mainHWND, HWND editHWND) | 
|  | 
| UINT | GetSaveCodePage () | 
|  | 
| UINT | GetLoadCodePage () | 
|  | 
| UINT | GetSaveCodePageEx (bool allow_utf8) | 
|  | 
| UINT | LegacyFilesCanBeStoredUsingUTF8 () | 
|  | 
| void | EditorActivated (bool activatedState) | 
|  | 
#define NULL
Definition: autoptr.h:18
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
virtual void DeleteThis()
virtual void DeleteThis()
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | HWND Editor_GetMainHWND | ( |  | ) |  |  | inline | 
 
virtual HWND GetMainHWND()
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | HWND Editor_GetEditHWND | ( |  | ) |  |  | inline | 
 
virtual HWND GetEditHWND()
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | bool Editor_Run | ( | HWND | parentHWND | ) |  |  | inline | 
 
virtual bool Run(HWND parentHWND)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
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)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | int Editor_NumberDocuments | ( |  | ) |  |  | inline | 
 
virtual int NumberDocuments()
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | const MCHAR* Editor_GetDocumentFilename | ( | int | i | ) |  |  | inline | 
 
virtual const MCHAR * GetDocumentFilename(int i)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | void Editor_SetDocumentFilename | ( | int | i, |  
          |  |  | const MCHAR * | file_name |  
          |  | ) |  |  |  | inline | 
 
virtual void SetDocumentFilename(int i, const MCHAR *file_name)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | const MCHAR* Editor_GetDocumentFilename | ( |  | ) |  |  | inline | 
 
virtual const MCHAR * GetDocumentFilename(int i)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | void Editor_SetDocumentFilename | ( | const MCHAR * | file_name | ) |  |  | inline | 
 
virtual void SetDocumentFilename(int i, const MCHAR *file_name)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | bool Editor_IsEditorMessage | ( | MSG & | msg | ) |  |  | inline | 
 
virtual bool IsEditorMessage(MSG &msg)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | void Editor_SetTabWidth | ( | int | tabWidth | ) |  |  | inline | 
 
virtual void SetTabWidth(int tabWidth)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | bool Editor_CloseEditor | ( |  | ) |  |  | inline | 
 
virtual bool CloseEditor()
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | void Editor_DeleteEditor | ( |  | ) |  |  | inline | 
 
virtual void DeleteEditor()
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | void Editor_Show | ( | bool | show, |  
          |  |  | bool | setFocus = false |  
          |  | ) |  |  |  | inline | 
 
virtual void Show(bool show, bool setFocus=false)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
virtual void SetTitle(const MCHAR *title)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | void Editor_SetProperty | ( | const MCHAR * | prop_name, |  
          |  |  | const MCHAR * | prop_value |  
          |  | ) |  |  |  | inline | 
 
virtual void SetProperty(const MCHAR *prop_name, const MCHAR *prop_value)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | const MCHAR* Editor_GetProperty | ( | const MCHAR * | prop_name | ) |  |  | inline | 
 
virtual const MCHAR * GetProperty(const MCHAR *prop_name)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | int Editor_GetIntProperty | ( | const MCHAR * | prop_name, |  
          |  |  | int | defaultValue = 0 |  
          |  | ) |  |  |  | inline | 
 
virtual int GetIntProperty(const MCHAR *prop_name, int defaultValue=0)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | void Editor_SetCodePageAndCharacterSet | ( | int | code_page, |  
          |  |  | int | character_set |  
          |  | ) |  |  |  | inline | 
 
virtual void SetCodePageAndCharacterSet(int code_page, int character_set)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | void Editor_GetCodePageAndCharacterSet | ( | int & | code_page, |  
          |  |  | int & | character_set |  
          |  | ) |  |  |  | inline | 
 
virtual void GetCodePageAndCharacterSet(int &code_page, int &character_set)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
virtual EditorStyleDef GetEditorStyleDef(const MCHAR *lang, int style)
Editor_Interface * Editor_Interface_Instance
Definition: MXS_Editor_Interface.h:116
 
 
 
  
  | 
        
          | void MXS_DisableAccelerators | ( |  | ) |  |  | inline | 
 
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
virtual void DisableAccelerators()
 
 
 
  
  | 
        
          | void MXS_EnableAccelerators | ( |  | ) |  |  | inline | 
 
virtual void EnableAccelerators()
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
  
  | 
        
          | void MXS_EditorShowStateChanged | ( | bool | open | ) |  |  | inline | 
 
virtual void EditorShowStateChanged(bool open)
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
  
  | 
        
          | void MXS_ShowListener | ( |  | ) |  |  | inline | 
 
virtual void ShowListener()
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
  
  | 
        
          | void MXS_PositionListenerAtEOF | ( |  | ) |  |  | inline | 
 
virtual void PositionListenerAtEOF()
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
  
  | 
        
          | void MXS_ExecuteString | ( | const wchar_t * | executeString, |  
          |  |  | const MCHAR * | file_name, |  
          |  |  | unsigned int | file_offset, |  
          |  |  | unsigned int | file_linenum |  
          |  | ) |  |  |  | inline | 
 
virtual void ExecuteString(const wchar_t *executeString, const MCHAR *file_name, unsigned int file_offset, unsigned int file_linenum)
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
  
  | 
        
          | void MXS_DoLoadProperties | ( |  | ) |  |  | inline | 
 
virtual void DoLoadProperties()
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
  
  | 
        
          | const MCHAR* MXS_GetLocalUserDataDirectory | ( |  | ) |  |  | inline | 
 
virtual const MCHAR * GetLocalUserDataDirectory()
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
Definition: MXS_Editor_Interface.h:79
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
  
  | 
        
          | void MXS_DisplayHelp | ( | bool | displayPythonHelp, |  
          |  |  | const MCHAR * | word |  
          |  | ) |  |  |  | inline | 
 
virtual int DisplayHelp(bool displayPythonHelp, const MCHAR *word)
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
  
  | 
        
          | void MXS_NewRollout | ( | HWND | mainHWND, |  
          |  |  | HWND | editHWND |  
          |  | ) |  |  |  | inline | 
 
virtual void NewRollout(HWND mainHWND, HWND editHWND)
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
  
  | 
        
          | void MXS_EditRollout | ( | HWND | mainHWND, |  
          |  |  | HWND | editHWND |  
          |  | ) |  |  |  | inline | 
 
virtual void EditRollout(HWND mainHWND, HWND editHWND)
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
virtual UINT GetSaveCodePage()
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
virtual UINT GetLoadCodePage()
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
  
  | 
        
          | UINT GetSaveCodePageEx | ( | bool | allow_utf8 | ) |  |  | inline | 
 
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
virtual UINT GetSaveCodePageEx(bool allow_utf8)
 
 
 
  
  | 
        
          | UINT LegacyFilesCanBeStoredUsingUTF8 | ( |  | ) |  |  | inline | 
 
virtual bool LegacyFilesCanBeStoredUsingUTF8()
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117
 
 
 
  
  | 
        
          | void EditorActivated | ( | bool | activatedState | ) |  |  | inline | 
 
virtual void EditorActivated(bool activatedState)
MXSEditor_Interface3 * MXSEditor_Interface_Instance
Definition: MXS_Editor_Interface.h:117