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

Folding/unfolding happens wherever the mouse is clicked in the folding column #2266

Open
shetlandbreeder opened this issue Aug 21, 2019 · 5 comments

Comments

@shetlandbreeder
Copy link

At the moment (Geany 1.35 on Arch Linux) clicking anywhere in the fold column folds that section.

This seems like a bug (at least it's really annoying) as the documentation says folding only happens if you click on the fold icon.

If it's not a bug then this behaviour should be documented and ideally be configurable.

@ntrel
Copy link
Member

ntrel commented Aug 21, 2019

It's intentional. I assume it's a problem for you due to accidental clicks?

@shetlandbreeder
Copy link
Author

Yes, it's accidental clicks. I've been using Scite for many years and it doesn't do this, so when selecting a line I'm used to being able to click anywhere in the line number or folds bars.

I switched because lot of the syntax checkers on Scite are very out of date - CSS in particular. Mybe I should just bite the bullet and update them if this behaviour is not configurable .

@elextr
Copy link
Member

elextr commented Aug 21, 2019

Yes its deliberate, and no it has no configuration, see here.

Pull requests are welcome.

@ntrel
Copy link
Member

ntrel commented Aug 22, 2019

It should probably be a Various pref rather than a dialog option IMO.

@surruk51
Copy link

This is really annoying me too. I don't think I have the skill to patch it, so if someone can do this I would be eternally grateful. Not only does it fold, but when you unfold, the previous cursor position seems to be lost.
Suggested configurable behaviour: fold_on = click | dblclick | none

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

No branches or pull requests

4 participants