break;
}
}
}
if(ok || (parts.length == 0 && s.startsWith(":")) ) {
list.add(new PresenterCompletionItem(s, startOffset, startOffset + length));
}
}
} else {
for(String s : EditorUtils.getAllPresenters(fo)) {
if(s.startsWith(link)) {
list.add(new PresenterCompletionItem(s, startOffset, startOffset + length));
}
}
}
return list;
}