Cudatext: "Split tab -> Toggle horizontal/vertical" always resets to "checked"

Created on 3 Feb 2021  路  7Comments  路  Source: Alexey-T/CudaText

I have observed that "Split tab -> Toggle horizontal/vertical" always resets to "checked" (horizontal split) after restart.

I suggest either to preserve the last choice and/or an option to be added through which the default will be set.
I have never needed an horizontal split. Any use in which it could help, and vertical split is not convenient for that use?

Tia

enhancement

Most helpful comment

@Alexey-T

Some more words regarding "too much options". I remember that you tried some days ago to combine various options into grouping options. You cancelled that attempt because loading speed of the options file was nearly the same.

So, what is your problem with the number of options in _CudaText_? One of the amazing aspects of Cud is exactly that, the ability for extensive fine-tuning it by its bunch of options.

All 7 comments

A 3rd option is to make the vertical split default.
A 4th option is to make the menu "View -> Split tab" to remain open after "Toggle split" is marked, so as with another click to change direction. In this way you avoid to do again "View -> Split tab -> Toggle horizontal/vertical". Am I asking too much?

Tia

A 5th option is when split is activated, an icon appears to the tab (before or just after the name of the file) through which one can change the direction of the split!

Why horiz split is not useful, I use it more often. new option for default? we have too much options. If users agree that 'vertical split is needed more often' I will change default to 'vert'.
@kvichans @dinkumoil @jairo-martinez @OlehL

yes maybe I will consider to add tab-icon for split-mode.

@Alexey-T I did not say it is not useful. I said indirectly that it may be less useful than vertical split. Vertical split makes more space available, since the width of the monitor is longer than its height; unless you rotate it 90 degrees. Such a monitor is still expensive! In addition comparison / diff is more easier and practical. Have you seen any diff app to work horizontally? Anyway (personal opinions), maybe the 1st option (CT preserves the last selection/choice) is more suitable for everyone.

Which splitting setup (horizontal or vertical) a user prefers IMO depends on their display.

In these days display manufacturers tend to build displays with a 16:9 or 16:10 ratio, i.e. display width is much more bigger than display height. One might think that a user would prefer vertical tab splitting.

BUT if the user's machine has a 15" display on their notebook with a 16:9 ratio, display's height is rather small so I guess the user would prefer vertical tab splitting to avoid lots of vertical scrolling. On a 30" desktop display with 16:9 ratio the display's height is rather big, so a user might decide to prefer horizontal tab splitting because this can reduce the need for horizontal scrolling.

As a conclusion I would say it's no easy decision to define a reasonable default for splitting setup. At most I like the idea to remember the user's setting across multiple runs of _CudaText_, not as part of the session or the history but in the _user.json_ file.

@Alexey-T

Some more words regarding "too much options". I remember that you tried some days ago to combine various options into grouping options. You cancelled that attempt because loading speed of the options file was nearly the same.

So, what is your problem with the number of options in _CudaText_? One of the amazing aspects of Cud is exactly that, the ability for extensive fine-tuning it by its bunch of options.

closing due to #3133. If I missed some wish, please new topic.

Was this page helpful?
0 / 5 - 0 ratings