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

2 in 1: Move FAR penel heights independently by mouse + a bug #1404

Closed
m0n opened this Issue Jan 15, 2018 · 5 comments

Comments

Projects
2 participants
@m0n

m0n commented Jan 15, 2018

ConEmu build: 180114 x64
OS version: Windows 10 LTSB x64
Far Manager: version 3.0 (build 5095) x64

I like to resize FAR panel heights independently by mouse, so I searched for "CtrlUp" in ConEmu sources. I saw shift key already handled.

Shift is used by text-mark by default, so turn it off

Shift-drag-border now shows this:

shift-drag-far-panel-border

Same message with v.160416

Because Shift (or other modifiers) used for so many things, I recommend a checkbox in the settings "Move penel heights independently"

Other solutions:

  • a selectable modifier key for independent height-resize
  • Shift-resize priority over Shift-selection (I mean when You are on FAR border, then Shift not select text but resize panel)

Or a combination like "Move penel heights independently by default" checkbox and a selectable modifier key.

Choose the option what needs the minimum efforts!

@Maximus5 Maximus5 added this to To Do in Far Jan 15, 2018

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Jan 16, 2018

I think, dragging the panels by the bottom in the center may change size of both panels. So left and right panels may be changed independently without modifiers.

@Maximus5 Maximus5 added the other-far label Jan 16, 2018

@m0n

This comment has been minimized.

m0n commented Jan 17, 2018

Yes, that would be more elegant. I just presumed that user's default needs is to resize both panels by default :) I made vsplit2.cur for resizing at center:

vsplit2.cur.zip

BTW I using right panel full height (as a "main" panel) and I have a few lines for last command's output below the left panel:

setup

Maximus5 added a commit that referenced this issue Jan 18, 2018

gh-1404: Resize Far Manager panels separately.
  If mouse cursor is over panels bottom edge at center - resize panels heights simultaneously,
  otherwise - resize panels separately.

@Maximus5 Maximus5 moved this from To Do to Ready for Testing in Far Jan 18, 2018

@m0n

This comment has been minimized.

m0n commented Jan 30, 2018

I having a LUA macro on 'ShiftCtrlUp'/'ShiftCtrlDown' - so independent height resizing calls that macro :(

If "Resize panels by mouse" is in 3rd state, resizing works 👍 It is possible to make resizing interactive when 'ShiftCtrlUp'/'ShiftCtrlDown' is remapped?


Here is a (hot-spot-)fixed cursor: vsplit2-2018-01-30.cur.zip

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Jan 30, 2018

ConEmu may trigger either macro or sequence of keys.
Macro mode is resource consuming and therefore is not interactive.

@m0n

This comment has been minimized.

m0n commented Mar 12, 2018

Please use fixed .cur I posted on Jan. 30

After that I will close this issue :)

@Maximus5 Maximus5 closed this Apr 8, 2018

Far automation moved this from Ready for Testing to Done Apr 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment