Ok now got it :-)
Now it first checks that start <= end and then ajusts the indices to conform
to the array's size limits

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Pete Hendry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I just meant that if for example the array range is
>
>   min: 0
>   max: 200
>
> to start then for
>
>   length = 500
>
>    min: 200
>    (max: 400)  - automatic and keep the difference from before (200-0)
>
> but for (again starting with 0 - 200)
>
>   length = 250
>
>    min: 200
>    (max: 249)  - does not keep difference because it hit end of array
>
> I'm not sure whether it should automatically always keep the difference
> and then the user can change max. This may be a more common case since
> you will normally either want to change both or don't care that the end
> is a long way away. So starting with the 0 - 200
>
>   min: 50
>   (max: 250)  - automatic
>
> and then the user can change the max if they want to (if they want to
> change it from 250 then chances are they wanted to change it from 200?).
>
> Anyway, only the first behaviour was a problem (not updating max at all)
>   and this probably isn't worth spending much time on.
>
> Thanks
>
> Pete
>
> Eugene Zhuravlev wrote:
>
> > I'm not sure I've understood what you mean Pete. Could you give more
datail?
> >
> > --
> >
> > Best regards,
> > Eugene Zhuravlev
> > JetBrains, Inc, http://www.intellij.com
> > "Develop with pleasure!"
> >
> > "Pete Hendry" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >
> >>I'll put more of my bug reports as (very minor) in the hope of them
> >>getting fixed :-)
> >>
> >>The text "(to to end of the array)" should of course have been "(or to
> >>end of the array)" since it makes a difference if misunderstood.
> >>
> >>Pete
> >>
> >>Eugene Zhuravlev wrote:
> >>
> >>
> >>>This is corrected in #635,
> >>>Thanks, Pete!
> >>>
> >>>--
> >>>
> >>>Best regards,
> >>>Eugene Zhuravlev
> >>>JetBrains, Inc, http://www.intellij.com
> >>>"Develop with pleasure!"
> >>>
> >>>"Pete Hendry" <[EMAIL PROTECTED]> wrote in message
> >>>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >>>
> >>>
> >>>>When in the debugger and viewing an array, an option is "Adjust
Range".
> >>>>When setting the minimum as >= maximum, the maximum should
automatically
> >>>>increment to keep the old difference (to to the end of the array).
> >>>>Redundant having to also type the maximum in this case.
> >>>>
> >>>>Very minor.
> >>>>
> >>>>Pete
> >>>>
> >>>>
> >>>>
> >>>
> >
> >
>


_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to