title: How to implement Quick Fix / Quick Assist for custom eclipse editor?
body: <p>I have extended <code>org.eclipse.ui.editors.text.TextEditor</code> to implement a custom editor.
  For this editor, I have defined a marker type (<code>org.eclipse.core.resources.markers</code> extension point) and an annotation type (<code>org.eclipse.ui.editors.annotationTypes</code> extension point) to mark specific parts of code in my editor. I use a reconciler to update my annotation model.</p>
  
  <p>Now I want to add a quick fix / quick assist feature. I simply want eclipse, to show a box with proposals, when I hover over an annotated part of the code and replace that part with a given string, when I click on a proposal. Just like the quick fix feature for the java editor.</p>
  
  <p>So, what is the best way to implement this behavior?</p>
  
  <p>I read about marker resolution generators and quick assist processors, but I'm still confused how it all works together...</p>
  
  <p>I would be glad, if someone could point me to the right direction.</p>
  
  <p><strong>EDIT:</strong> From what I've understood so far, a <code>MarkerResolutionGenerator</code> is responsible for showing quick fixes in the problems view. To get quick fixes in the source viewer, I would have to set a <code>QuickAssistAssistant</code> for my <code>SourceViewer</code> and implement a <code>QuickAssistProcessor</code> which returns <code>CompletionProposals</code>.
  Is this the right way to do it?</p>
  
  <p><strong>EDIT2:</strong> I'm wondering if I need <code>Markers</code> at all, or only <code>Annotations</code>, I'm confused...</p>