diff options
author | Eike Ziller <[email protected]> | 2025-07-22 11:37:02 +0200 |
---|---|---|
committer | Eike Ziller <[email protected]> | 2025-08-26 08:44:52 +0000 |
commit | 2103659dee243c139b0737eb227d7d0decce5e3f (patch) | |
tree | 10d02d46a12670538dadc835985228f535ef2044 /src/plugins/clangformat/clangformatglobalconfigwidget.cpp | |
parent | 6a3e43e0122425306c4a1c3bf15c219eac475051 (diff) |
Add tests for the specific behavior differences identified in the commit
introducing tabs 05bae4aca15a24ed46acf7928a18f0af953c69ec
- Suspending documents must keep tab open
- Moving an editor from one split to another should not close the
original tab
- Closing the last tab of a split should not open another document in
that split even if there are other documents open
- closing views (splits) should close documents if the only tab for
it is closed, but not if there are other tabs for the documents, even
if they are "suspended"
- If a tab with an editor is closed, we may not close the document
if there is another tab for it, even a "suspended" one
- If a suspended tab for a document is closed that doesn't have any
other tabs, the document must be closed
- when closing a tab and there are no other editors managed by the
view (i.e. only suspended tabs), the view should change to a different
tab, not any arbitrary document
Task-number: QTCREATORBUG-31644
Change-Id: Ib68c2aebff33dab999df3fed0edc1d62aa030139
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/clangformat/clangformatglobalconfigwidget.cpp')
0 files changed, 0 insertions, 0 deletions