do not move the cursor to the end when applying a proposal
This commit is contained in:
@@ -2,7 +2,8 @@ package org.lucares.pdbui.domain;
|
||||
|
||||
public class AutocompleteProposal {
|
||||
private String value;
|
||||
private String proposedQuery;
|
||||
private String newQuery;
|
||||
private int newCaretPosition;
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
@@ -17,11 +18,19 @@ public class AutocompleteProposal {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setProposedQuery(final String proposedQuery) {
|
||||
this.proposedQuery = proposedQuery;
|
||||
public int getNewCaretPosition() {
|
||||
return newCaretPosition;
|
||||
}
|
||||
|
||||
public String getProposedQuery() {
|
||||
return proposedQuery;
|
||||
public void setNewCaretPosition(final int newCaretPosition) {
|
||||
this.newCaretPosition = newCaretPosition;
|
||||
}
|
||||
|
||||
public String getNewQuery() {
|
||||
return newQuery;
|
||||
}
|
||||
|
||||
public void setNewQuery(final String newQuery) {
|
||||
this.newQuery = newQuery;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user