|
From: Harpreet S. <har...@fa...> - 2003-08-06 13:38:12
|
Slava Pestov wrote: > Hi, > > Can you possibly come up with a minimal test case for this, and tell me > how many visible lines there are (textArea.getVisibleLines() in > beanshell), and what folds are collapsed? > > On Tue, Aug 05, 2003 at 07:30:37PM -0400, Harpreet Singh wrote: > >>Slava Pestov wrote: >> >>>Hi, >>> >>>Are you using folding with this file? I think I know what the problem >>>is, look at the BUG line: >>> >>>On Mon, Aug 04, 2003 at 11:52:57AM -0400, Harpreet Singh wrote: >>> >>> >>>>[error] JEditTextArea: BUG: >>>>screenLine=-1,visibleLines=43,physicalLine=183,firstPhysicalLine=116,lastPhysicalLine=181 >>> >>> >>>The text area thinks that line 183 should be visible, but its not, in >>>fact line 181 is the last visible line. So somewhere its not scrolling >>>enough. >> >>Yes, I am using indent folding mode for this file. >> >>-- >>Harpreet Singh >>har...@fa... >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by: Free pre-built ASP.NET sites including >>Data Reports, E-commerce, Portals, and Forums are available now. >>Download today and enter to win an XBOX or Visual Studio .NET. >>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >>-- >>----------------------------------------------- >>jEdit Users' List >>jEd...@li... >>https://lists.sourceforge.net/lists/listinfo/jedit-users > > I tried scrolling with folding disabled and the npe still occurs. Seems to be that if the number of lines in the file is greater than the number of visible lines the error occurs. -- Harpreet Singh har...@fa... |