Skip to content
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

Vimode: handle fold and margin click event #1349

Merged
merged 1 commit into from
May 24, 2024

Conversation

scresto09
Copy link
Contributor

Automatically set the cursor position on the visible line on SCN_MARGINCLICK event

Copy link
Member

@techee techee left a comment

Choose a reason for hiding this comment

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

Looks good. There's just the minor formatting issue plus I noticed that right now there's a merge conflict, probably because of the other vimode PR I merged - would you have a look at that?

You can just squash the result into one commit, I don't expect any more problems.

vimode/src/vi.c Outdated
@@ -306,6 +306,14 @@ gboolean vi_notify_sci(SCNotification *nt)
}
}

if (nt->nmhdr.code == SCN_MARGINCLICK) {
Copy link
Member

Choose a reason for hiding this comment

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

Maybe just { on a separate line.

@techee
Copy link
Member

techee commented May 22, 2024

@scresto09 You seem to have accidentally pushed the commit together with the already merged pull request - could you fix that?

@scresto09 scresto09 force-pushed the vimode-handle-fold-marginclick branch from ba05577 to d861058 Compare May 24, 2024 12:16
@scresto09 scresto09 force-pushed the vimode-handle-fold-marginclick branch from d861058 to fade2b7 Compare May 24, 2024 12:24
@scresto09
Copy link
Contributor Author

Is it better now ?

@techee techee merged commit 7da7553 into geany:master May 24, 2024
2 checks passed
@techee
Copy link
Member

techee commented May 24, 2024

Yep, looks good, merged.

@scresto09
Copy link
Contributor Author

Thanks

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

Successfully merging this pull request may close these issues.

2 participants