dabo Commit
Revision 4154
Date: 2008-06-17 18:15:32 -0700 (Tue, 17 Jun 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4154
Changed:
U trunk/ide/Editor.py
Log:
Adjusted the onEditJumpToLine() method to work with the new one-based
LineNumber property of the editor class.
Diff:
Modified: trunk/ide/Editor.py
===================================================================
--- trunk/ide/Editor.py 2008-06-18 01:14:42 UTC (rev 4153)
+++ trunk/ide/Editor.py 2008-06-18 01:15:32 UTC (rev 4154)
@@ -792,14 +792,14 @@
currEditor = self.CurrentEditor
dlg = LineNumberDlg(self)
- dlg.txtLine.Value = currEditor.LineNumber + 1
+ dlg.txtLine.Value = currEditor.LineNumber
dlg.txtLine.Min = 1
dlg.txtLine.Max = currEditor.LineCount
dlg.Centered = dlg.Modal = True
dlg.AutoSize = False
dlg.show()
if dlg.Accepted:
- currEditor.LineNumber = dlg.txtLine.Value - 1
+ currEditor.LineNumber = dlg.txtLine.Value
dlg.release()
_______________________________________________
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]