it seems that you can get the cursor position from current ISelection.if you
does not select anything and the ISelection is instanceof ITextSelection,you
can see ITextSelection.getLength() return 0,and ITextSelection.getOffset()
is the cursor position.
_______________________________________________
pdt-dev mailing list
pdt-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev

Reply via email to