Since there is no way of scrolling at the moment (see bug #98), I am using a workaround os selectRange(index,index). However, this is very slow.
In a 4800 lines file with 3 different styles per line, it takes more than 6 seconds to perform the operation on a Intel core i7 machine.
long nanoTime = System.nanoTime();
codeArea.selectRange(codeArea.getText().length(), codeArea.getText().length());
System.out.println(System.nanoTime() - nanoTime);
Since there is no way of scrolling at the moment (see bug #98), I am using a workaround os selectRange(index,index). However, this is very slow.
In a 4800 lines file with 3 different styles per line, it takes more than 6 seconds to perform the operation on a Intel core i7 machine.