first: upon further review, my usage of the prefix "set" is incorrect. This is a getter function. Sorry about the confusion
second: The usage of SCI_GETTEXT/SCI_GETLINE/etc(int length, char *text) is to get Scintilla to fill the c-style string (char* text) with document text, set/getStringProperty do not do this. setReferenceProperty uses a const void* for value, thus preventing it's usage for GETLINE/GETTEXT. [ScintillaView string] does work for GETTEXT, but not for GETLINE et.al
third: while yes I use char* (because CodeAssistor is xplatform), the issue is that Scintilla internals use char*
fourth: why the SETSAVEPOINT in [ScintillaView string]?
Hi Mike
here is how I use the setCharProperty bazaar. launchpad. net/~masmullin/ codeassistor/ trunk/annotate/ head%3A/ src/ui/ MyEditorCommon. xc
http://
first: upon further review, my usage of the prefix "set" is incorrect. This is a getter function. Sorry about the confusion
second: The usage of SCI_GETTEXT/ SCI_GETLINE/ etc(int length, char *text) is to get Scintilla to fill the c-style string (char* text) with document text, set/getStringPr operty do not do this. setReferencePro perty uses a const void* for value, thus preventing it's usage for GETLINE/GETTEXT. [ScintillaView string] does work for GETTEXT, but not for GETLINE et.al
third: while yes I use char* (because CodeAssistor is xplatform), the issue is that Scintilla internals use char*
fourth: why the SETSAVEPOINT in [ScintillaView string]?