I am trying to implement a solution that contains two TextView side-by-side. The left pane contains a file's content and the left pane is comments and automatically generated text based on the content of the left pane. I am using a GridSplitter between the two panes. This creates two vertical and horizontal scrollbars for the two TextView. Since the content on the right is a response / generated by the content on the left; I need for both views to be in "sync" with each other. Meaning when I scroll down on the left pane, I need the right pane to also scroll down. Anyone ever done this? Does anyone have any idea how to do this?
↧