Bug 27730 Link not recolor on paste
I20021127 - copy some text - position the I beam on a line where you want to paste - position the cursor over a type name - press Ctrl to get the link highlighting - press V to paste the text observe: the link disappears but the type name is still rendered in blue.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
} catch (JavaModelException e) {
				return null;	
			}
		}
		private int getCurrentTextOffset(ISourceViewer viewer) {
			try {					
				StyledText text= viewer.getTextWidget();			
				if (text == null || text.isDisposed())
					return -1;
				Display display= text.getDisplay();				
				Point absolutePosition= display.getCursorLocation();
				Point relativePosition= text.toControl(absolutePosition);
				
				int widgetOffset= text.getOffsetAtLocation(relativePosition);
				if (viewer instanceof ITextViewerExtension3) {
					ITextViewerExtension3 extension= (ITextViewerExtension3) viewer;
					return extension.widgetOffset2ModelOffset(widgetOffset);
				} else {
					return widgetOffset + viewer.getVisibleRegion().getOffset();
				}
				
			} catch (IllegalArgumentException e) {
				return -1;
			}			
		}
		private void highlightRegion(ISourceViewer viewer, IRegion region) {
			if (region.equals(fActiveRegion))
				return;
			repairRepresentation();
			StyledText text= viewer.getTextWidget();