Try this:Or this:Instead of 'long', it's better to write 'switch' or 'toggle'.
Also keep in mind that cm_SrcComments (Ctrl+Shift+F2) remembers the position of the separator in the same way as cm_SrcQuickView (Ctrl+Q), i.e. after the first execution of the above command it will have the same effect.
Code:
longComments=if(L_isActive, varset(1, L_viewMode==100?0:1), varset(1, R_viewMode==200?0:1)) tem(`cm_SrcComments `2-varget(1)) tcm(909+varget(1))
Code:
longComments=if(L_isActive, varset(1, L_viewMode==100?1:0), varset(1, R_viewMode==200?1:0)) tem(`cm_SrcComments `1+varget(1)) tcm(910-varget(1))
Also keep in mind that cm_SrcComments (Ctrl+Shift+F2) remembers the position of the separator in the same way as cm_SrcQuickView (Ctrl+Q), i.e. after the first execution of the above command it will have the same effect.
Statistics: Posted by Fla$her — 2024-11-09, 22:11 UTC