[wingide-users] deleting spaces; Wing API

Wing IDE Support support at wingware.com
Fri Mar 19 09:38:46 MDT 2010


On 3/19/10 11:28 AM, Mitchell L Model wrote:
> I was looking for, then trying to write a script for, the equivalent of
> Emacs's just-one-space command which deletes all but one space around
> the current position. (a) I'm surprised it isn't there. (b) I can't find
> anything in the API that allows me to get the current position of the
> cursor when there is no selection. What am I missing?

The just-one-space command isn't implemented currently.  In the api, 
cursor position == selection start == selection end when nothing is 
selected.

Cheers,

John


More information about the wingide-users mailing list