remobjects / pascalscript

pascalscript
Other
447 stars 178 forks source link

Fix for #220 #221

Closed reyandme closed 3 years ago

reyandme commented 4 years ago

Fix for #220

Problem was in TPSLineInfoList.GetLineInfo method, it does not update Res.Row/Res.Col if Pos is

Item.LineOffset[Item.LineOffsetCount - 1] <= Pos < Item.EndPos

Then just update them after each line in for cycle