Add lineLength parameter to edit.format request (issue 23519)

R=jwren@google.com

Review URL: https://codereview.chromium.org//1154303005
This commit is contained in:
Brian Wilkerson
2015-06-01 09:39:02 -07:00
parent 9dc5bc79f1
commit 07dd6b7649
8 changed files with 78 additions and 15 deletions
@@ -269,8 +269,9 @@ public interface AnalysisServer {
* @param file The file containing the code to be formatted.
* @param selectionOffset The offset of the current selection in the file.
* @param selectionLength The length of the current selection in the file.
* @param lineLength The line length to be used by the formatter.
*/
public void edit_format(String file, int selectionOffset, int selectionLength, FormatConsumer consumer);
public void edit_format(String file, int selectionOffset, int selectionLength, int lineLength, FormatConsumer consumer);
/**
* {@code edit.getAssists}