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: The wavy line every 4 spaces, indentation, that notepad++ draws to show the scope of all the lines within an if statement #654

Open
ohlogic opened this issue Aug 15, 2024 · 6 comments

Comments

@ohlogic
Copy link

ohlogic commented Aug 15, 2024

 * Xed version:  3.6.6
 * Distribution: LinuxMint 22

Issue
I can almost interchangeably use xed instead of Notepad++. However, this is the last feature that if implemented would be a game changer for me and perhaps may help a lot of people also. The feature I am requesting is a wavy line at every indentation for example, every 4 spaces to indicate scope of an if statment for example. I have attached a image to show this at the bottom.

Steps to reproduce
Wavy line at every 4 lines

Expected behaviour
Wavy line at every 4 spaces to indicate scope of an if statement

Other information, Image
Attached is a image of the feature and I have highlighted the wavy line that indicates scope nicely.
feature_request

If you can implement this wavy line to indicate scope feature, that is a great thank you. Please help.

@ohlogic
Copy link
Author

ohlogic commented Aug 21, 2024

This is done in gtksourceview-4.8.4.tar.xz to the gtksourcespacedrawer.c that xed uses.
leadingSpacesAsLines.diff.tar.gz

@Torrehoradada
Copy link

...and what can I do with your last info? Is this a hint to the request or the solution?
I can´t find neither 'gtksourceview*' nor 'gtksourcespace*'...
On which file leadingSpacesAsLines.diff.tar.gz should be applied to?

@ohlogic
Copy link
Author

ohlogic commented Aug 27, 2024 via email

@Torrehoradada
Copy link

Thanks for the quick response, but...
You leave me a bit clueles... pls. excuse my perhaps silly questions. I just saw you mentioned the versions in the original post.
As I'm still on Mint 21.3 (GTK 3.24.33) with xed v.3.4.5, perhaps this is the reason I cannot find those files nor any packages names... So I will DL Mint 22 and see further...

@ohlogic
Copy link
Author

ohlogic commented Aug 27, 2024 via email

@gbartoli-zcs
Copy link

gbartoli-zcs commented Oct 31, 2024

Shouldn't this option be included in the standard "Xed preferences / Editor" without the need to manually recompile it?

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

3 participants