Java 类org.eclipse.jface.text.link.LinkedModeUI.IExitPolicy 实例源码

项目:n4js    文件:N4JSCompletionProposal.java   
/**
 * Return a default exit policy for the linked mode that exists on a given character.
 */
public IExitPolicy createExitPolicy(char... exitChars) {
    return new ExitPolicy(exitChars);
}
项目:eclipse-wtp-json    文件:JSONCharacterPairInserter.java   
protected IExitPolicy getExitPolicy(char exit, char escape,
        IDocument document) {
    return new ExitPolicy(exit, escape, document);
}