Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Why would a Marker's "Go To" not focus on line # in the editor?
Why would a Marker's "Go To" not focus on line # in the editor? [message #319009] Thu, 09 August 2007 15:12 Go to next message
Eclipse UserFriend
When double-clicking on a Problem Maker, the cursor highlights the
correct CHAR_START and CHAR_END, but not on the correct LINE_NUMBER.
LINE_NUMBER is displayed correctly in the Problem View. The cursor is
always focused on line 1 in the editor.

We store file contents as strings with newlines. Could it be that the
editor input is one string, hence one line number? The content is
correctly displayed with newlines in the editor.

Ideas?

Thanks.
Re: Why would a Marker's "Go To" not focus on line # in the editor? [message #319016 is a reply to message #319009] Thu, 09 August 2007 16:14 Go to previous messageGo to next message
Eclipse UserFriend
For the record, Navigate->Go To properly sets the cursor at the desired
line number in the editor (TextEditor).

Uhmmm....

Trey Anastasio wrote:
> When double-clicking on a Problem Maker, the cursor highlights the
> correct CHAR_START and CHAR_END, but not on the correct LINE_NUMBER.
> LINE_NUMBER is displayed correctly in the Problem View. The cursor is
> always focused on line 1 in the editor.
>
> We store file contents as strings with newlines. Could it be that the
> editor input is one string, hence one line number? The content is
> correctly displayed with newlines in the editor.
>
> Ideas?
>
> Thanks.
Re: Why would a Marker's "Go To" not focus on line # in the editor? [message #319481 is a reply to message #319009] Wed, 22 August 2007 10:48 Go to previous message
Eclipse UserFriend
Trey Anastasio wrote:

> When double-clicking on a Problem Maker, the cursor highlights the
> correct CHAR_START and CHAR_END, but not on the correct LINE_NUMBER.
> LINE_NUMBER is displayed correctly in the Problem View. The cursor is
> always focused on line 1 in the editor.
>
> We store file contents as strings with newlines. Could it be that the
> editor input is one string, hence one line number? The content is
> correctly displayed with newlines in the editor.
>
> Ideas?

Has been answered in another newsgroup. Please don't cross post.

Dani

>
> Thanks.
Previous Topic:Way to right-align StatusLine items?
Next Topic:Opening an Editor on a (non-local) EFS FileStore
Goto Forum:
  


Current Time: Fri Nov 07 20:36:51 EST 2025

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

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

Back to the top