I found a bug, not sure what todo [message #336740] |
Tue, 30 June 2009 08:10 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Alessandro Carraro![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=carraro.alessandro%40gmail.com) Messages: 27 Registered: July 2009 |
Junior Member |
|
|
Hi, I've found a very little bug, but I don't know what to do.
Since I'm new to plugin development, I'm not 100% sure that it is a bug or
I've done an error, and I don't want to mae an Eclipse developer waste his
time because I reported a fake error.
Everithing that is foolowing in this post is in my VERY HUMBLE opinion
The error is in the class
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor and affect the
method gotoMarker(IMarker);
(next to last row of method ):
if (end - 1 < length && start < length)
The error IMHO is that '-1'. I've found that the goto works if start==end
(this means that it is a simple move of the caret, while start!=end means
a goto+text selection
However, the -1 prevents the goto to go to the end of the file (I needed
in my plugin to open an editor at the end of a file so the user can start
appending text without any other keystroke)
Should I post a bug to bugzilla, or even put a patch? Is there any
official reference about eclipse contributing, may you provide link?
thanks
Alex
|
|
|
Re: I found a bug, not sure what todo [message #336741 is a reply to message #336740] |
Tue, 30 June 2009 08:41 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Ed Merks![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ed.merks%40gmail.com) Messages: 33209 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------020807090407030600010107
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Alex,
It sounds like a bug to be able to move anywhere except past the last
character. Your description is simple enough that a bugzilla with this
information should be sufficient. Because the fix is also trivial, a
patch shouldn't make a significant difference. The getting involved
link on this page doesn't provide much help
http://www.eclipse.org/users/
Perhaps there's a better one, but it's not easy to find...
Alessandro Carraro wrote:
> Hi, I've found a very little bug, but I don't know what to do.
> Since I'm new to plugin development, I'm not 100% sure that it is a
> bug or I've done an error, and I don't want to mae an Eclipse
> developer waste his time because I reported a fake error.
> Everithing that is foolowing in this post is in my VERY HUMBLE opinion
>
> The error is in the class
> org.eclipse.ui.texteditor.AbstractDecoratedTextEditor and affect the
> method gotoMarker(IMarker);
>
> (next to last row of method ):
>
> if (end - 1 < length && start < length)
>
> The error IMHO is that '-1'. I've found that the goto works if
> start==end (this means that it is a simple move of the caret, while
> start!=end means a goto+text selection
>
> However, the -1 prevents the goto to go to the end of the file (I
> needed in my plugin to open an editor at the end of a file so the user
> can start appending text without any other keystroke)
>
> Should I post a bug to bugzilla, or even put a patch? Is there any
> official reference about eclipse contributing, may you provide link?
>
> thanks
>
> Alex
>
--------------020807090407030600010107
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Alex,<br>
<br>
It sounds like a bug to be able to move anywhere except past the last
character.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.03900 seconds