caret should also be visible after the root element
https://bugs.eclipse.org/bugs/show_bug.cgi?id=257806

Signed-off-by: Florian Thienel <florian@thienel.org>
diff --git a/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/VexWidgetImpl.java b/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/VexWidgetImpl.java
index 7708f79..941114f 100644
--- a/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/VexWidgetImpl.java
+++ b/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/VexWidgetImpl.java
@@ -1736,7 +1736,7 @@
 			if (rootBox.getHeight() < viewport.getHeight()) {
 				y = 0;
 			} else {
-				y = rootBox.getHeight() - viewport.getHeight();
+				y = rootBox.getHeight() - viewport.getHeight() + caret.getBounds().getHeight();
 			}
 		} else if (caretBounds.getY() < viewport.getY()) {
 			y = caretBounds.getY();