Quantcast

ReformatTask Context Return 0 for Caret Offset

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

ReformatTask Context Return 0 for Caret Offset

tlf30
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




Loading...