How to set AutoscrollToSource in ProjectViewImpl?


I'm developing idea plugin and want set AutoscrollFromSource & AutoscrollToSource in the project view.

I found the following class com.intellij.ide.projectView.impl.ProjectViewImpl that have the following methods:

  • public void setAutoscrollFromSource(boolean autoscrollMode, String paneId)
  • private void setAutoscrollToSource(boolean autoscrollMode, String paneId)
as you see setAutoscrollFromSource is public but setAutoscrollToSource is private so i can't call it, any one know how to set AutoscrollToSource ?? Thanks

Please sign in to leave a comment.