Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Color syntax and folding? Reconciler?
Color syntax and folding? Reconciler? [message #497787] Fri, 13 November 2009 07:29 Go to previous message
Andreas Winkler is currently offline Andreas Winkler
Messages: 14
Registered: July 2009
Junior Member
Hi

on my way to my own editor I stumbled over a problem.
Following two tutorials I came to two different reconciler, each one seems to solve its own problem:

PresentationReconciler is obviously used for syntax coloring adding Damager and Repairer

MonoReconciler( ReconcilingStrategy ) is used for folding, where I wrote my own strategy( a parser which returns positions for folding )

Both reconciler should be used through SourceViewerConfiguration.getReconiler().
So far I know the MonoReconciler seems to be used as the standard for the ProjectionViewer which supports folding, this Viewer will be created in the overridden createSourceViewer().

How do I achieve both tasks? Could you please point me to the right direction.

Thanks in advance
Andreas
 
Read Message
Read Message
Previous Topic:toggle buttons
Next Topic:JavaSourceViewerConfiguration (Java Syntax Highlighting) without JDT
Goto Forum:
  


Current Time: Sat May 18 10:45:43 EDT 2013

Powered by FUDForum. Page generated in 0.01640 seconds