Skip to main content



      Home
Home » Newcomers » Newcomers » Error Handling for custom editor(Trying to figure out how to customize how the "Problem" tab handles errors inside of custom files.)
Error Handling for custom editor [message #506299] Wed, 06 January 2010 15:53 Go to next message
Eclipse UserFriend
System: Mac OS X running Eclipse 20090920-1017

I'm new to building plug-ins for eclipse but I'm trying to figure out how to customize my editor. I have a custom editor that partitions my document properly according to a set of rules. The problem is that if the text doesn't match any of the rules, I want to be able to flag it as a problem (x on the line, and in the Problem tab, just like java). Can anyone direct me to some tutorials or any kind of documentation. I didn't create the editor and am just modifying it with the permission of the original creator.

Thanks.
Re: Error Handling for custom editor [message #506379 is a reply to message #506299] Thu, 07 January 2010 06:07 Go to previous messageGo to next message
Eclipse UserFriend
You need to google about problem markers...

A few pointers
- http://www.pushing-pixels.org/?p=881
- http://blog.eclipse-tips.com/2008/11/creating-custom-marker- view.html
Re: Error Handling for custom editor [message #506556 is a reply to message #506299] Thu, 07 January 2010 13:43 Go to previous message
Eclipse UserFriend
These documents indicate that explicit action results in the markers. Now I know there is a way to make it syntax based, perhaps using the scanner, but I can't find anything to that effect. If anyone can show me a project with basic syntax error markers, it would be greatly appreciated.
Previous Topic:Eclipse configuration
Next Topic:Automatic update problem
Goto Forum:
  


Current Time: Wed Oct 29 15:57:42 EDT 2025

Powered by FUDForum. Page generated in 0.07582 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top