if (user.isLocal()) {
continue;
}
RemoteEditorState remoteEditorState = remoteEditorManager
.getEditorState(user);
if (!(remoteEditorState.isRemoteOpenEditor(path) && remoteEditorState
.isRemoteActiveEditor(path))) {
continue;
}
RemoteEditor remoteEditor = remoteEditorState.getRemoteEditor(path);
if (user.hasWriteAccess() || user.equals(followedUser)) {
ILineRange viewport = remoteEditor.getViewport();
if (viewport != null) {
editorAPI.setViewportAnnotation(editorPart, viewport, user);