View Javadoc
1   package org.vaadin.aceeditor.client;
2   
3   
4   import org.vaadin.aceeditor.client.TransportDoc.TransportRange;
5   
6   import com.vaadin.shared.communication.ServerRpc;
7   
8   public interface SuggesterServerRpc extends ServerRpc {
9   	
10  	// TODO: it may not be necessary to send the whole text here
11  	// but I guess it's simplest...
12  	
13  	public void suggest(String text, TransportRange selection);
14  
15  	public void suggestionSelected(int index);
16  	
17  	
18  }