ReformatTask Context Return 0 for Caret Offset

"tlf30" <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
Hello,
So I have ran into something interesting. On the ReformatTask, the context always returns 0 for caretOffset, i.e. context.caretOffset();

I have tested this against the IndentTask, which does return the correct value. 
Is there a reason for this? I am using NetBeans 8.2.

Thank you,
Trevor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.