goodwinnk / eclihx

Automatically exported from code.google.com/p/eclihx
0 stars 0 forks source link

Autocompletion does not work if the encoding of a file utf-8 #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello. I have a problem.
Autocompletion does not work if the encoding of a file utf-8, and at a file 
there are characters of Russian.

Example:

package test;
class Main {
    private var z : Int;
    public function new() {
    this.z=1;
    }
    public static function main() {
    //ая
    var a = new Main();
    a. 
    }
}

If the file encoding cp1251, all works.
I assume that the position of the carriage is probably incorrectly defined.

Original issue reported on code.google.com by diablito...@gmail.com on 8 Dec 2011 at 6:31

GoogleCodeExporter commented 9 years ago
Thank you for posting. This is a dublicate of Issue 76. There's an inconsistant 
between haxe --display option taking offset in bytes and eclipse api for 
autocompletion that gives you an offset in chars.

Original comment by goodwi...@gmail.com on 8 Dec 2011 at 6:45