Great turnaround Duane. I am ambivalent with the fact that the selection disappear after the action is performed. Since it only takes Esc to turn it off, I would still keep the old selection active (minus the space). ([ something ]) -> ([something])
There is a little bug in the cursor placement when you do not have a selection. ( | something) -> |(something) it should be (|something) Otherwise it is GREAT Thanks again Jacques "Duane Fields" <[EMAIL PROTECTED]> wrote in message aj11hu$l2t$[EMAIL PROTECTED]">news:aj11hu$l2t$[EMAIL PROTECTED]... > This is done in Text Tool plugin 1.4, it eats all spaces in the selection or > on either side of the cursor if nothing is selected. Not sure how to leave > the document with regard to cursor position, selection, etc. > > http://www.deepmagic.com/software/idea.html > > > -- > Duane Fields > Deep Magic Software and Consulting > [EMAIL PROTECTED] > "Jacques Morel" <[EMAIL PROTECTED]> wrote in message > aiv9i8$qme$[EMAIL PROTECTED]">news:aiv9i8$qme$[EMAIL PROTECTED]... > > Thanks Duane! > > > > "Duane Fields" <[EMAIL PROTECTED]> wrote in message > > news:aiua2e$1uk$[EMAIL PROTECTED]... > > > I'll add this to my "text tools" plugin (Remove whitespace from > selection) > > > > > > -- > > > Duane Fields > > > Deep Magic Software and Consulting > > > [EMAIL PROTECTED] > > > "Jacques Morel" <[EMAIL PROTECTED]> wrote in message > > > news:aiq8us$96v$[EMAIL PROTECTED]... > > > > I miss the emacs "kill-spaces" that would remove all space, tab, > > carriage > > > > return around the cursor. > > > > > > > > this.print( > > > > | "text"); > > > > > > > > turns into > > > > > > > > this.print(|"text"); > > > > > > > > Jacques > > > > > > > > > > > > > > > > > > > > _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-features
