21 #include <NCLStructure.h>
22 using namespace composer::language;
24 #include <Qsci/qsciapis.h>
27 #include "QsciLexerNCL.h"
37 SUGGESTING_ELEMENTS = 0,
38 SUGGESTING_ATTRIBUTES,
39 SUGGESTING_ATTRIBUTE_VALUES,
43 QString getRequiredAttributesAsStr (
const QString &selection);
44 bool isElement (
int pos);
45 bool isAttribute (
int pos);
46 bool isAttributeValue (
int pos);
47 QString getCurrentTagName (
int pos);
48 QString getCurrentAttribute (
int pos);
49 int getParentOffset(
int pos);
50 QString getParentTagName (
int pos);
51 void getAttributesTyped(
int pos, QStringList &attrs);
52 QString getAttributeValueFromCurrentElement(
int pos, QString attr);
53 int getStartTagBegin(
int pos);
54 int getStartTagLength(
int pos);
57 QString relativePath( QString absolutePath, QString relativeTo,
58 bool bIsFile =
false);
69 void updateAutoCompletionList(
const QStringList &context,
76 void autoCompletionSelected(
const QString &selection);
87 QStringList callTips(
const QStringList &context,
int commas,
88 QsciScintilla::CallTipsStyle style,
92 bool event(QEvent *e);
100 #endif // QSCINCLAPIS_H