Fix column count.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -50,7 +50,7 @@ class Buffer:
|
|||||||
editor = self.editor
|
editor = self.editor
|
||||||
pos = editor.GetCurrentPos()
|
pos = editor.GetCurrentPos()
|
||||||
line = editor.LineFromPosition(pos) + 1
|
line = editor.LineFromPosition(pos) + 1
|
||||||
col = editor.GetColumn(pos) + 1
|
col = editor.GetColumn(pos)
|
||||||
status = (self.doc.filepath or self.name, line, col)
|
status = (self.doc.filepath or self.name, line, col)
|
||||||
return status
|
return status
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user