I just noticed something: in dEditor, the LineNumber property is zero- 
based, as is all the wxPython code in the underlying styled text  
control. But we visibly number lines using a one-based counting  
system. So if I set the LineNumber property to 1, the cursor moves to  
the second line, which is labeled '2'.

        We could change the code that deals with LineNumber to convert to  
zero-based when dealing with wx, but work in one-based values for the  
programmer. Does this make any sense to do? I realize that this is an  
STC inconsistency; I'm just wondering if we should follow it.

-- Ed Leafe


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to