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

Feature-request: Highlighting the active fold #2674

Open
Ramzy1990 opened this issue Nov 25, 2020 · 2 comments
Open

Feature-request: Highlighting the active fold #2674

Ramzy1990 opened this issue Nov 25, 2020 · 2 comments

Comments

@Ramzy1990
Copy link

Hi everyone,

In regard to the following [Geany-Users] mail list's email, I think it might be useful for Geany to have an option to highlight the folding region where the caret is in. Something similar to the following image:

Geany

The image seems to be from Geany (might be a version from 2011, I will check). The previous image can be found in the following website, where the author requested the same option to be added to Scintilla (which is weird, since I think Geany uses Scintilla editing library already). He added the patch and it was added to Scintilla under the option:

SCI_MARKERENABLEHIGHLIGHT: Enable/disable highlight for current folding block (smallest one that contains the caret)

Is it possible to invoke this command by some way in Geany's configuration files?

@elextr
Copy link
Member

elextr commented Nov 25, 2020

The example images are likely photoshopped to illustrate it. If somebody made a pull request which added the option to the preferences perhaps in Editor->Features below the checkbox enabling folding it probably would be accepted.

@Ramzy1990
Copy link
Author

Hi Lex,

Oh, that makes sense then! Maybe this is what the example meant with "visual rendering".

Okay, I will check Geany's hacking guide and see if this feature is straightforward to implement (since there is an option for it already in Scintilla) and hopefully me or somebody else can add it.

Thanks again,

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

No branches or pull requests

2 participants