DESCRIPTION

Fix wrong cursor position while editing URIs

When manually editing the URI of a remote, the automatic synchronization
of the URI and the remaining fields of the dialog (host, protocol, repo
etc.) leads to a wrong cursor position after each character being typed
by the user.

We avoid this by checking if the update of the URI is a no-op.

This fix applies for both the remote configuration dialog as well as the
clone wizard since they share the page with the implementation.

Bug: 492374
Change-Id: I7052cc822f22238fb491aa66454ad10cf9986c32
Signed-off-by: Jack Yu xxx@xxx.xxx
Signed-off-by: Douglas Trujillo xxx@xxx.xxx


COMMENTS

author: Douglas Trujillo
date: 2016-05-04 22:14:16.000000000

Uploaded patch set 1.

-------------------------------------
author: Douglas Trujillo
date: 2016-05-04 22:15:16.000000000

Patch Set 1: Code-Review+2

thanks for fixing this nasty bug

-------------------------------------
author: Brenden Conley
date: 2016-05-04 22:18:01.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/egit/job/egit-stable.gerrit/833/

-------------------------------------
author: Brenden Conley
date: 2016-05-04 22:18:42.000000000

Patch Set 1: Verified-1

Build Failed 

https://hudson.eclipse.org/egit/job/egit-stable.gerrit/833/ : FAILURE

-------------------------------------
author: Brenden Conley
date: 2016-05-04 22:26:21.000000000

Patch Set 1: -Verified

Build Started https://hudson.eclipse.org/egit/job/egit-stable.gerrit/834/

-------------------------------------
author: Brenden Conley
date: 2016-05-04 22:53:03.000000000

Patch Set 1: Verified+1

Build Successful 

https://hudson.eclipse.org/egit/job/egit-stable.gerrit/834/ : temporary update site https://hudson.eclipse.org/egit/job/egit-stable.gerrit/${BUILD_NUMBER}/artifact/org.eclipse.egit.repository/target/repository/

-------------------------------------
author: Gerrit Johnathan Pham
date: 2016-05-04 22:55:50.000000000

Change has been successfully merged into the git repository by Douglas Trujillo

-------------------------------------
