|
From: Shlomy R. <sre...@gm...> - 2009-09-30 07:19:32
|
Without knowing the code, just a brief look shows me this is a mode-specific issue that is probably related to delegation of mode attributes. So, in which mode does it happen? Maybe something's wrong with the mode file? Shlomy On Wed, Sep 30, 2009 at 9:03 AM, Matthieu Casanova <cho...@gm...> wrote: > Hi, I don't know exactly, but I suppose those keywords are used in > handleRule, don't you think ? > > 2009/9/29 Dale Anson <da...@gr...> >> >> In TokenMarker.java, there are these lines starting at line 292: >> >> 292: LineContext tempContext = context; >> 293: context = context.parent; >> 294: keywords = context.rules.getKeywords(); >> 295: boolean handled = handleRule(rule,true); >> 296: context = tempContext; >> 297: keywords = context.rules.getKeywords(); >> >> >> Does anyone know why the line at 294 is there at all? The value for >> 'keywords' is replaced in line 297 and it isn't used in between. I'm >> getting null pointer exceptions from line 294 fairly often. Just >> hitting the "Enter" button while typing in the text area causes it, >> then there is a beanshell error dialog and the cursor goes to the >> wrong place, there are painting issues, and so on. I've removed line >> 294 in my local copy, and things seem to be working better so far. >> I'm not familiar with this piece of code at all, so I don't know if >> context.rules on line 294 should ever be null. >> >> Thanks, >> >> Dale >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9-12, 2009. Register >> now! >> http://p.sf.net/sfu/devconf >> -- >> ----------------------------------------------- >> jEdit Developers' List >> jEd...@li... >> https://lists.sourceforge.net/lists/listinfo/jedit-devel > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > -- > ----------------------------------------------- > jEdit Developers' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-devel > > |