Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Getting Line Number from IResource?
Getting Line Number from IResource? [message #303856] Wed, 24 May 2006 16:52 Go to next message
Eclipse UserFriend
Is it possible to get the line number from an IResource?

M
Re: Getting Line Number from IResource? [message #303887 is a reply to message #303856] Thu, 25 May 2006 12:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

0 is the first line number in an IResource.

Or did you have a specific line in mind?

Alex.
Re: Getting Line Number from IResource? [message #304131 is a reply to message #303856] Wed, 31 May 2006 10:15 Go to previous message
Eclipse UserFriend
Originally posted by: john.eclipsefaq.org

Did you mean to say get the number of lines of an IResource? There is
no API to do this, but you can open a java.io.LineNumberReader on an
IFile's input stream.
--

Mark wrote:
> Is it possible to get the line number from an IResource?
>
> M
Previous Topic:Help importing code in eclipse
Next Topic:Text Editor wizard plugin
Goto Forum:
  


Current Time: Sun Aug 31 00:55:32 EDT 2025

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

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

Back to the top