| Recommendations on using custom file stores for eclipse. [message #327456] | 
Mon, 21 April 2008 03:51  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi, 
 
I'm interested in writing a eclipse based rich text editor that's backed  
by a wiki markup. 
 
I'm currently 'hiding' the wiki markup characters when editing the  
document using a glyph hack that makes a zero width glyph out of the  
wiki markup characters, while giving users the feel of a rich text editor. 
 
What we'd really like is being able to strip out the wiki markup when  
the file is loaded, and be able to put the wiki markup back in (by  
looking at the styled range) when the file is saved. 
 
We've looked at FileBuffers#getTextFileBufferManager() and it seems this  
would help us solve this issue, the problem is that most of this  
infrastructure is internal (not to mention static and final), and  
therefore not subclassable for our use case. 
 
Ideally we'd like an extension point at  
FileBuffersPlugin#getFileBufferManager, but again the interface that's  
returned by this method is internal :( 
 
Does anyone have any recommendations on how this could be done better ? 
 
Cheers, 
Ketan Padegaonkar
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.03971 seconds