View | Details | Raw Unified | Return to bug 159713 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jface/text/contentassist/IContentAssistantExtension3.java (-1 / +1 lines)
Lines 27-33 Link Here
27
	 * Sets the key sequence to listen for in repeated invocation mode. If the key sequence is
27
	 * Sets the key sequence to listen for in repeated invocation mode. If the key sequence is
28
	 * encountered, a step in the repetition iteration is triggered.
28
	 * encountered, a step in the repetition iteration is triggered.
29
	 * 
29
	 * 
30
	 * @param sequence the key sequence to listen for in repeated invocation mode
30
	 * @param sequence the key sequence used for the repeated invocation mode or <code>null</code> if none
31
	 */
31
	 */
32
	public void setRepeatedInvocationTrigger(KeySequence sequence);
32
	public void setRepeatedInvocationTrigger(KeySequence sequence);
33
}
33
}
(-)src/org/eclipse/jface/text/contentassist/ContentAssistant.java (-1 lines)
Lines 2264-2270 Link Here
2264
	 * @since 3.2
2264
	 * @since 3.2
2265
	 */
2265
	 */
2266
	public void setRepeatedInvocationTrigger(KeySequence sequence) {
2266
	public void setRepeatedInvocationTrigger(KeySequence sequence) {
2267
		Assert.isNotNull(sequence);
2268
		fTriggerSequence= sequence;
2267
		fTriggerSequence= sequence;
2269
	}
2268
	}
2270
2269
(-)src/org/eclipse/jface/text/contentassist/CompletionProposalPopup.java (-1 / +1 lines)
Lines 616-622 Link Here
616
	 */
616
	 */
617
    private void addCommandSupport(final Control control) {
617
    private void addCommandSupport(final Control control) {
618
    	fCommandSequence= fContentAssistant.getTriggerSequence();
618
    	fCommandSequence= fContentAssistant.getTriggerSequence();
619
    	if (!fCommandSequence.isEmpty() && fContentAssistant.isRepeatedInvocationMode()) {
619
    	if (fCommandSequence != null && !fCommandSequence.isEmpty() && fContentAssistant.isRepeatedInvocationMode()) {
620
    		control.addFocusListener(new FocusListener() {
620
    		control.addFocusListener(new FocusListener() {
621
    			private CommandKeyListener fCommandKeyListener;
621
    			private CommandKeyListener fCommandKeyListener;
622
    			public void focusGained(FocusEvent e) {
622
    			public void focusGained(FocusEvent e) {

Return to bug 159713