Image image = null; //may be null (testing)
if (imageCache != null) {
image = imageCache.get(UIConstants.ASSIST_DOCSTRING);
}
l.add(new PyCompletionProposal(comp, offsetPosToAdd, 0, newOffset, image, "Make docstring", null, null,
IPyCompletionProposal.PRIORITY_DEFAULT) {
public void apply(IDocument document) {
//remove the next line if it is a pass...
PySelection ps = new PySelection(document, fReplacementOffset);
int iNextLine = ps.getCursorLine() + 1;