In the best tradition of self-answering, it turned out that GetLineVisible doesn't do what I need: it only checks against whether the line is hidden because of folding (not if it's outside of the visible area, which is what I'm looking for). I don't see any other API method that does this, so I calculate it myself using GetFirstVisibleLine, LinesOnScreen, and DocLineFromVisible.
Paul. On Sun, Feb 24, 2013 at 10:10 PM, Paul K <paulclin...@yahoo.com> wrote: > Hi John, > > Thank you for adding wxAuiToolBar to wxlua. One short question on > GetLineVisible. According to the documentation it should return "1 if > the passed in line is visible or 0 if it is not". For some reason, no > matter what I pass, I always get back "true". Is it possible that > there is some bug in the conversion of numbers wxlua gets from > wxwidgets/Scintilla? Thank you. > > Paul. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users