-
-
Notifications
You must be signed in to change notification settings - Fork 21
Enable filename scrolling by default and fix background color #4685
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
Conversation
Signed-off-by: Yury V. Zaytsev <[email protected]>
23cab17
to
63443f4
Compare
Added commit with small fix. |
/approve |
So I actually thought about adding the exact same "fix" you did, but then I realized that this was probably done on purpose. Apparently, this feature was implemented to be completely hidden: Initially, I think that in FAR Manager this behavior is always unconditionally enabled. What do you think about enabling this feature by setting I think right now the discoverability of this feature is zero. I didn't even know it existed. But I actually like it better than collapsing, and if collapsing stays in all other places, hopefully this would not make people unhappy. |
Ha-ha, there is no end to this. Do you know why this failed now? Because @mc-worker is a private member of the organization, unlike @aborodin (or me). So GitHub cannot really check if you are authorized to post the comment o_O If you set it to public in @mc-worker profile, it should finally work :) |
Done. Please test. |
Signed-off-by: Yury V. Zaytsev <[email protected]>
c3c7ea0
to
6709b43
Compare
@zyv please review |
6709b43
to
f90da2f
Compare
Hm... Scrolling of long filename is not documented at all. There is no any info in the man page. |
/rebase |
Signed-off-by: Yury V. Zaytsev <[email protected]>
f90da2f
to
3aace6a
Compare
I have added the shortcuts to the manual page. Thanks for your help! Is it okay to merge now? |
> Hm... Scrolling of long filename is not documented at all. There is no any info in the man page.
I have added the shortcuts to the manual page.
I think it is not enough. The feature of filename scrolling is not described.
Thanks for your help! Is it okay to merge now?
It would be great to add few words about this feature.
|
So what is there to describe? I checked FAR's help file and this is all they have on the subject:
Can you make a suggestion? I can translate it into English. I really have no idea what to write. I think the real problem was that this feature was not only hidden, but the default shortcuts were not assigned (and of course not described). |
Indeed. Ok. Approved. |
/rebase |
Signed-off-by: Yury V. Zaytsev <[email protected]>
Signed-off-by: Yury V. Zaytsev <[email protected]>
* (format_file): set FILENAME_SCROLL_LEFT flag if filename scroll offset is more than zero. * (repaint_file): display panel_filename_scroll_left_char if FILENAME_SCROLL_LEFT flag is set. Signed-off-by: Andrew Borodin <[email protected]>
Signed-off-by: Andrew Borodin <[email protected]>
Signed-off-by: Andrew Borodin <[email protected]>
* (WPanel): make content_shift and max_shift members unsigned. * (panel_sized_empty_new): init content_shift and max_shift members by zero. * (pamel_clean_dir): likewise. * (paint_dir): init max_shift by zero. * (format_file): simplify tests. Since content_shift and max_shift are unsigned, some conditions are always true. * (panel_content_scroll_left): likewise. * (panel_content_scroll_right): likewise. Signed-off-by: Andrew Borodin <[email protected]>
Signed-off-by: Andrew Borodin <[email protected]>
Signed-off-by: Andrew Borodin <[email protected]>
Signed-off-by: Yury V. Zaytsev <[email protected]>
b7b8ae6
to
29be52e
Compare
Proposed changes
The filename scrolling feature has a background coloring bug:
Refs: #2731