Neil Hodgson wrote:
Felix:
if I have a longer comment on the usage of a function to be placed in
the API files: Can I somehow insert a line break command into the
explanatory comment so that when displayed it is spanning across
several lines?
Scintilla breaks at new line characters but SciTE has no way to
specify this in a .api file. If anyone wants to add it, ensure the
line end indicator is a single character (so it can be replaced with
\n easily) and that it can be changed.
Neil
I've already done this in my custom version of SciTE at
http://caladbolg.net/scite.php
In SciTEBase.cxx at the end of SciTEBase::FillFunctionDefinition
} else if (maxCallTips > 1) {
functionDefinition.insert(1, "\002");
}
+functionDefinition.substitute("\\n", "\n");
SendEditorString(SCI_CALLTIPSHOW, lastPosCallTip -
currentCallTipWord.length(), functionDefinition.c_str());
ContinueCallTip();
Then as a calltip for example:
foo()this spans\nmultiple lines
-Mitchell;
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest