0

Add hotkey Ctrl + G to go to specified line of code in Changes-panel in main window

Alex214 2 years ago updated 2 years ago 1

Do I understand it correctly, that you already have the focus in the left or right side of the changes view? What exactly should happen if you show the file in Unified view? What exactly should happen if this line is hidden?

Thank you for you questions.
Yes, you're right. I have focus in left or right side.
When pressing Ctrl + G a small window is shown with two controls: textbox to enter line of code (which is focuced) and radiobutton with two options: left pane, right pane.
For Unified view: if user wants to go to number of code of a left file than he checks "left pane"-option in the radiobutton .
For "Side by side" mode, "left pane/right pane"-options in radiobutton are automatically set by a current position of a cursor: if left pane has active cursor than "left pane"-option is choosen upon Ctrl + G little window.
If this line is hidden 10 rows should be shown (the same behavior when user clicks Show-button on a hidden text).