Page 1 of 2
Recent Sessions Issue - Path Hiding Name
Posted: 10.01.2020 15:05
by hamasaki
Hi Alexey,
When I click to view recent sessions, the name of the session is covered by the path so I can't see what it is.
I can't remember if the session manager is a core element of CT or a third party plugin.
Thank you.
Posted: 10.01.2020 21:16
by Alexey
SessionManager is Kvichans' plugin, I will report here
https://github.com/Alexey-T/CudaText/issues/2352
Posted: 11.01.2020 13:48
by hamasaki
Thank you.
Posted: 11.01.2020 16:15
by kvichans
Plugin cannot set width of the list. It's core setting.
@hamasaki Try to increase "ui_listbox_size_x" value (default=450)
Posted: 11.01.2020 18:11
by Alexey
@kvichans, Plugin can limit length of filename to e.g. 30 chars.
Posted: 12.01.2020 12:56
by hamasaki
kvichans wrote:Plugin cannot set width of the list. It's core setting.
@hamasaki Try to increase "ui_listbox_size_x" value (default=450)
Perfect, works great, thank you. But yes, I think restricting the path length might be a good idea?
Posted: 13.01.2020 12:16
by kvichans
@hamasaki
You can also try to split the each list line to two.
1. Open file
py\cuda_sess_manager\cd_sess_manager.py
2. Replace
app.dlg_menu(app.MENU_LIST + opt_n
to
app.dlg_menu(app.MENU_LIST_ALT + opt_n
3. Restart CudaText
Posted: 13.01.2020 12:18
by Alexey
Maybe use MENU_LIST_ALT as plugin code default? it is suitable here IMO.
Posted: 21.01.2020 14:47
by hamasaki
kvichans wrote:@hamasaki
You can also try to split the each list line to two.
1. Open file
py\cuda_sess_manager\cd_sess_manager.py
2. Replace
app.dlg_menu(app.MENU_LIST + opt_n
to
app.dlg_menu(app.MENU_LIST_ALT + opt_n
3. Restart CudaText
app.dlg_menu(app.MENU_LIST + opt_n
This code doesn't exist in that file.
Posted: 21.01.2020 17:04
by hamasaki
Alexey wrote:Maybe use MENU_LIST_ALT as plugin code default? it is suitable here IMO.
I did find MENU_LIST and changed it to MENU_LIST_ALT and that is much better now as the name and path are on separate lines.
Thanks guys.