src/Palete/ValaSource.vala
authorAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 07:47:14 +0000 (15:47 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 May 2015 07:47:14 +0000 (15:47 +0800)
src/Palete/ValaSource.vala

index b90469a..c7b8450 100644 (file)
@@ -248,6 +248,9 @@ namespace Palete {
                        if (bits.length > 0) {
                                offset = bits[0].split("\n").length +1;
                        }
+                       
+                       this.line_offset = offset;
+                       
                        //this.dumpCode(tmpstring);
                        //print("offset %d\n", offset);
                        this.result_callback = result_cb;