-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split every tab in two panes #206
base: master
Are you sure you want to change the base?
Commits on Oct 14, 2021
-
use Ctrl + keypad plus/minus to control font size
on my keyboard, those are much more convenient to press than the regular plus and minus keys. the regular plus key is shift+equals, so increasing the font size requires a ctrl+shift combination while decreasing it only requires ctrl, which is awkward.
Configuration menu - View commit details
-
Copy full SHA for 180472a - Browse repository at this point
Copy the full SHA 180472aView commit details
Commits on Oct 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7080542 - Browse repository at this point
Copy the full SHA 7080542View commit details
Commits on Oct 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 51816b8 - Browse repository at this point
Copy the full SHA 51816b8View commit details -
prototype: put terminals inside a Paned
I eventually want to split terminals by replacing one terminal by two terminals inside a Paned. As a first step towards that, can I put every terminal inside a Paned (with a dummy button on the other side of the pane) without breaking the rest of the code?
Configuration menu - View commit details
-
Copy full SHA for e03bda2 - Browse repository at this point
Copy the full SHA e03bda2View commit details -
rename TabTermContainer to TabScrolledWindow
I want to add a TabPaned, and it seems weird for the ScrolledWindow to be identified more vaguely than the other widgets surrounding the terminal.
Configuration menu - View commit details
-
Copy full SHA for 240f1d8 - Browse repository at this point
Copy the full SHA 240f1d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5226ed - Browse repository at this point
Copy the full SHA e5226edView commit details -
look for the Paned, not the ScrolledWindow
compareScrolledWinAndTab was used to find the FLTab entry corresponding to a given Widget in a Notebook. Now that Notebook entries are Paned widgets containing a ScrolledWindow containing a terminal, and not simply a ScrolledWindow containing a terminal, we need to search for the Paned, not for the ScrolledWindow.
Configuration menu - View commit details
-
Copy full SHA for 43d04e7 - Browse repository at this point
Copy the full SHA 43d04e7View commit details -
include Paned field in Show instance
We can't show a Paned any more that we can show a ScrolledWindow, but at least we can include a dummy entry for it in the Show instance, to match the record's real shape.
Configuration menu - View commit details
-
Copy full SHA for e582ec2 - Browse repository at this point
Copy the full SHA e582ec2View commit details -
detach the Paned on terminal exit
We were previously trying to detach the ScrolledWindow, but since the Notebook now contains Paned widgets, it was not found and the tab was not detached.
Configuration menu - View commit details
-
Copy full SHA for 5a6afe6 - Browse repository at this point
Copy the full SHA 5a6afe6View commit details -
correct TMNotebookTab's comment
so that it also describes the new Paned field.
Configuration menu - View commit details
-
Copy full SHA for b8aa4b0 - Browse repository at this point
Copy the full SHA b8aa4b0View commit details -
Like the last few commits, the relabelling code was looking for a ScrolledWindow but should now be looking for a Paned.
Configuration menu - View commit details
-
Copy full SHA for 484ed1d - Browse repository at this point
Copy the full SHA 484ed1dView commit details -
more straightforward invariant checks
I previously edited the invariant checks so they would drill down the Paned in order to find the ScrolledWindow and compare it with the TMNotebookTab's ScrolledWindow. But directly comparing the Paned with the TMNotebookTab's Paned is much simpler.
Configuration menu - View commit details
-
Copy full SHA for 1cb1bc9 - Browse repository at this point
Copy the full SHA 1cb1bc9View commit details
Commits on Oct 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c1d0834 - Browse repository at this point
Copy the full SHA c1d0834View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4088f70 - Browse repository at this point
Copy the full SHA 4088f70View commit details
Commits on Oct 26, 2021
-
track both terminals in the TMNotebookTab
Since each of the two terminals have a ScrolledWindow associated with them, this required moving the ScrolledWindow field from the TMNotebookTab to the TMTerm. More importantly, this refactoring revealed many places where the two terminals were treated differently, and that code was changed to treat both terminals the same. This was made easier by the addition of a lens pointing to the focused terminal (which is currently always the left terminal), and a traversal pointing at both terminals.
Configuration menu - View commit details
-
Copy full SHA for a0618c0 - Browse repository at this point
Copy the full SHA a0618c0View commit details
Commits on Oct 28, 2021
-
hotkeys to navigate between panes
Also, update the tmNotebookTabFocusIsOnLeft field to reflect the currently-focused pane. The (followUp <- do ...) pattern is needed in order to avoid a deadlock when the onWidgetFocusInEvent callback tries to grab the MVar which is already locked.
Configuration menu - View commit details
-
Copy full SHA for 9c06b97 - Browse repository at this point
Copy the full SHA 9c06b97View commit details
Commits on Jan 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bbcd3fa - Browse repository at this point
Copy the full SHA bbcd3faView commit details
Commits on Jan 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6dd0c15 - Browse repository at this point
Copy the full SHA 6dd0c15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9568b68 - Browse repository at this point
Copy the full SHA 9568b68View commit details
Commits on Jan 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8913213 - Browse repository at this point
Copy the full SHA 8913213View commit details