Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 26873 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jface/text/hyperlink/HyperlinkManager.java (-12 / +10 lines)
Lines 364-381 Link Here
364
//			removed for #25871 (hyperlinks could interact with typing)
364
		// Simple fix for bug : 26873
365
//
365
		// Check for available hyperlinks when a registered state mask has been 
366
//			ITextViewer viewer= getSourceViewer();
366
		// and display the results (if any).
367
//			if (viewer == null)
367
		fActiveHyperlinks= findHyperlinks();
368
//				return;
368
		if (fActiveHyperlinks == null || fActiveHyperlinks.length == 0) {
369
//
369
			fHyperlinkPresenter.hideHyperlinks();
370
//			IRegion region= getCurrentTextRegion(viewer);
370
			return;
371
//			if (region == null)
371
		}
372
//				return;
372
373
//
373
		fHyperlinkPresenter.showHyperlinks(fActiveHyperlinks);
374
//			highlightRegion(viewer, region);
375
//			activateCursor(viewer);

Return to bug 26873