public interface ICompletionProposalExtension7
ICompletionProposal
with the following function:
Note: ICompletionProposal.getDisplayString()
still needs to be correctly
implemented as this method might be ignored in case of uninstalled owner draw support.
Modifier and Type | Method and Description |
---|---|
StyledString |
getStyledDisplayString(IDocument document,
int offset,
BoldStylerProvider boldStylerProvider)
Returns the styled display string for this proposal with emphasized ranges that match the
token at the current caret offset.
|
StyledString getStyledDisplayString(IDocument document, int offset, BoldStylerProvider boldStylerProvider)
document
- the document where content assist is invokedoffset
- the offset in the document at current caret locationboldStylerProvider
- to provide a StyledString.Styler
that applies bold style
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.