static int FindPrevWordStart (MonoDevelop.Ide.Gui.TextEditor editor, int offset) { while (--offset >= 0 && !Char.IsWhiteSpace (editor.GetCharAt (offset))) ; return ++offset; }
static int FindPrevWordStart (MonoDevelop.Ide.Gui.TextEditor editor, int offset) { while (--offset >= 0 && !Char.IsWhiteSpace (editor.GetCharAt (offset))) ; return ++offset; }