Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Fixed 'Bug 58102 - FocusCurrentDocument command doesn't work if you #2789

Closed
wants to merge 1 commit into from

Conversation

mkrueger
Copy link
Contributor

are currently on a pad that has auto-hide'

This command used to be just to pulse the caret posititon without
focussing. However it's now called focus document - so the purpose
changed.

are currently on a pad that has auto-hide'

This command used to be just to pulse the caret posititon without
focussing. However it's now called focus document - so the purpose
changed.
Copy link
Member

@slluis slluis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIR the Select() call should give the focus to the editor. There may be a regression in that method.

@slluis
Copy link
Member

slluis commented Jul 18, 2017

Actually, Document.Select() should already be grabbing the focus after merging #2746. Can you please verify?

@nosami
Copy link
Member

nosami commented Jul 19, 2017

The bug with auto-hide pads is not fixed after merging #2746 (although that does fix focus from docked pads)

This fix works for me with auto-hide pads.

@slluis
Copy link
Member

slluis commented Aug 16, 2017

@mkrueger ping

@mkrueger
Copy link
Contributor Author

mkrueger commented Sep 15, 2017

@pong - The fix works for me. I'm not sure how 'select' is defined - selection doesn't 100% mean grab focus - it could be just a bring to front. It's the question how to define Document.Select() behavior.

I didn't want to produce side effects with a behavior change of Select ().

@mkrueger mkrueger closed this May 9, 2019
@mkrueger mkrueger deleted the master-fix58102 branch May 9, 2019 04:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants