19 #ifndef AGXPYTHON_SCRIPTIDE_H
20 #define AGXPYTHON_SCRIPTIDE_H 1
22 #include <agx/config/AGX_USE_PYTHON.h>
42 friend class ScriptManager;
44 void updateSourceCode(
const agx::String& sourceCode);
45 void queryAutoComplete(
const agx::String& sourceCode,
int caretLine,
int caretColumn,
bool readOnly,
bool scopeChange);
47 void setAutocomplete(ScriptIDEAutocomplete* autocomplete);
49 ScriptIDEAutocomplete* getAutocomplete()
const;
51 void setInterpreter(ScriptIDEInterpreter* interpreter);
53 ScriptIDEInterpreter* getInterpreter()
const;
55 const agx::Name& getIdentifyingName()
const;
59 int getCaretX()
const;
61 int getCaretY()
const;
64 ScriptIDE(
const agx::Name& identifyingName);
74 std::pair<int, int> m_caret;
#define AGX_DECLARE_POINTER_TYPES(type)
Representation of a name string.
Base class providing referencing counted objects.
Smart pointer for handling referenced counted objects.