Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,11 @@ public Position offsetToPosition(int charOffset, Bias bias) {
* *
* ********************************************************************** */

void scrollBy(Point2D deltas) {
/**
* Scroll area horizontally by {@code deltas.getX()} and vertically by {@code deltas.getY()}
* @param deltas negative values scroll left/up, positive scroll right/down
*/
public void scrollBy(Point2D deltas) {
virtualFlow.scrollXBy(deltas.getX());
virtualFlow.scrollYBy(deltas.getY());
}
Expand Down