[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mylar-dev] bugzilla editor in new dev build
|
The widget used for the description, comments, and new comment extends
SourceViewer. That gives us the ability to do editing, syntax
highlighting, hyperlinking, and (hopefully) spelling error annotations!
:) I plan on looking at Jeff's patch today to see what is required to
get it working with the text viewers...
-Rob
Eugene Kuleshov wrote:
Robert Elves wrote:
If you are are seeing an editable text area in the Existing Bug
Editor (not the new bug editor), this is a bug and should be reported.
I swore I saw it in bugzilla editor opened from query, but can't
reproduce it now.
This is in the dev build Mik published last night.
I tried a number of ways to implement a dynamic resizing of the text
areas in the bug editor. Eventually I had to scrap the idea though
because the form layout just wasn't working well enough and was
leaving lots of wasted space at the bottom of each text area.
By the way, what widget used in description area to show the text?
I wonder if it would be possible to change its text right in-place by
hooking up some keyboard actions. Though it is still unclear if it
wold resize in the layout after that...
One other idea I had was to implement the entire comment area as a
single text viewer and using something similar to code folding
mechanism to separate each comment. I haven't tried this approach yet.
That is probably way to go. Though it is still unclear how can you
edit description in-place leaving comments read-only or add new comments.
Regarding sash with scrollable form, I may have tried that layout for
the Task Activity Report a while back, but I'm not certain. Again the
trick here would likely be the dynamic text area interaction with the
resizing of the sash...but it may be possible.
Perhaps these dynamic text are / scrolled form layout issues are
something that SWT Designer could help with?
SWT designed can help you to sketch out the layout, but as Brock
pointed out at some point you would need to hook up some custom event
handlers to relayout things in the form on resizes.
I am not even sure if form toolkit intended to support this kind of
stuff.
Basically what I am suggesting is to use sash area in the middle of
scrollable composite area to expand size of the entire composite... I
tried to prototype this at some point but gave up.
regards,
Eugene
_______________________________________________
mylar-dev mailing list
mylar-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylar-dev