From: Dale A. <da...@gr...> - 2008-12-18 19:24:02
|
I really don't know how the fix affects the painting, which is why I'm concerned that it may be hidiing a deeper issue. I'll create a patch file and attach it to the tracker for this. Dale On Thu, Dec 18, 2008 at 10:52 AM, Shlomy Reinstein <sre...@gm...>wrote: > Hi Dale, > > First, thanks for the patch, for me it solves the problem. Can you > provide the patch file with your change? > SideKick is one of the users of the jEdit-customized thread pool, and > is included as part of the change I intended to do in the thread-pool > (which has recently been attempted by Marcelo). > > Having said that, I realize this can cause problems with the SideKick > window, but how can such threading issues affect the painting of the > text area? > > Shlomy > > On Thu, Dec 18, 2008 at 7:24 PM, Dale Anson <da...@gr...> wrote: > > The fix (if it turns out to really be the fix) was to wrap a section that > > populates the tree in a SwingUtilities.invokeLater block. The > intermittent > > nature of this bug points to a threading issue, I think, so using > > invokeLater in the right place seems to fix it. I'm not sure that this > is > > really the right fix, it might just be masking a deeper issue. > > > > Dale > > > > > > On Thu, Dec 18, 2008 at 10:05 AM, Jesse Pavel <jp...@al...> > wrote: > >> > >> I'm trying out the new Sidekick, and haven't seen any problems. > >> It seems to fix a ChuckCache ArrayOutOfBoundsException that I'd been > >> having a lot of trouble with as well. > >> What was the magical change that you made? > >> > >> ~Jesse > >> > >> > >> On Wed, Dec 17, 2008 at 9:04 PM, Dale Anson <da...@gr...> > wrote: > >> > I posted a new version of SideKick here: > >> > > >> > http://jedit.wiki.sourceforge.net/space/showimage/SideKick.jar > >> > > >> > I believe this fixes tracker 1633393, "TextArea painting corruption > when > >> > saving". > >> > > >> > Let me know if you still see text area painting corruption. > >> > > >> > Thanks, > >> > > >> > Dale > >> > >> > >> > ------------------------------------------------------------------------------ > >> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > >> Nevada. > >> The future of the web can't happen without you. Join us at MIX09 to > help > >> pave the way to the Next Web now. Learn more and register at > >> > >> > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > >> -- > >> ----------------------------------------------- > >> jEdit Developers' List > >> jEd...@li... > >> https://lists.sourceforge.net/lists/listinfo/jedit-devel > > > > > > > ------------------------------------------------------------------------------ > > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > Nevada. > > The future of the web can't happen without you. Join us at MIX09 to help > > pave the way to the Next Web now. Learn more and register at > > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > > -- > > ----------------------------------------------- > > jEdit Developers' List > > jEd...@li... > > https://lists.sourceforge.net/lists/listinfo/jedit-devel > > > > > |