#23 geanylua: document position mismatch

0.18
open
geanylua (8)
5
2010-02-05
2010-02-05
Jon Strait
No

The editor's reference position within a document, geany.caret(), starts at 0, while Lua library string functions start at 1. For instance, taking the document text with geany.text(), then doing string operations such as string.sub on this text using the current position of geany.caret(), will result in a one-off shift unless compensated for.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks