I was wondering what steps I should go about showing suggestions based on the last token. At first, I was thinking that I needed to specify the white space but that doesn't seem to be the case (or maybe I have used the incorrect white space).
Example: I have the following words in the oracle: "cos, sin, tan" I type "co" and choose "cos" but I continue typing so that I have "cos (10) + t", I would like to now have it show "tan" as the suggestions. I'm guessing I need to add .getTextBox().addChangeHandler(handler) and extract the last token and then make a call .requestSuggestions (request, callback). The change handler seems relatively straightforward but I'm actually not too sure about the .requestSuggestions(...) part since I'm still relatively new to GWT. Also slightly related: Is it appropriate to think of MultiWordSuggestOracle.add("word") as MultiWordSuggestOracle.createSuggestion("word", "word") ? Thanks! nevets1219 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---