Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » how to get markers from document
how to get markers from document [message #1053739] Tue, 07 May 2013 12:55 Go to next message
Dana Klein is currently offline Dana KleinFriend
Messages: 63
Registered: October 2012
Member
Hi, I have org.eclipse.jface.text.Document and i want to get from it or from my plugin workspace the markers on the current document.
if possible how can i do that?
Re: how to get markers from document [message #1058138 is a reply to message #1053739] Sun, 12 May 2013 12:36 Go to previous message
Dana Klein is currently offline Dana KleinFriend
Messages: 63
Registered: October 2012
Member
You need to get a resource reference (IResource) and then:

resource.findMarkers(IMarker.PROBLEM, true, IResource.DEPTH_INFINITE);
Previous Topic:ListViewer: List items in horizontal order
Next Topic:Implementing displaying attached javadoc
Goto Forum:
  


Current Time: Mon Sep 23 17:37:03 GMT 2024

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

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

Back to the top