Should there be one? A Checkbutton for "Line breaking" in Preferences/ Editor / Features , besides "Line breaking column" or besides "Line wrapping" ?
It's tedious to remember and toggle that per document every time.
Or maybe there is a way, unknown to me, to modify some start-up file to tell Geany to open with Line breaking on in menu/Document ?
Seems reasonable to be able to set the default value for line breaking for newly opened documents. But most of Geany use-cases are about coding, where line breaking is not wanted, so thats probably why its never been done. A well written pull request would likely be accepted.
@elextr (an offtopic comment, I'll remove it after your reply; I don't know where else I could have asked you this question) I noticed this https://github.com/elextr/julia I wish Geany was written in Julia; I want to learn it , and that way I could contribute to Geany with code (I don't like C/C++).
How realistic would be a text editor like Geany written in Julia? Did you ever think about such a thing? Or does it make little sense, as so much of Geany relies on pre-written C(++) libraries (scintilla,.others?..) , that most of the Julia code would be just interfacing with C(++)? I noticed this https://github.com/JuliaGraphics/Gtk.jl
I wish Geany was written in Julia; I want to learn it , and that way I could contribute to Geany with code (I don't like C/C++).
When Geany was started Julia wasn't even a gleam in Jeffs eye. To contribute to projects you need to learn the languages they use, wishing it was something else won't get you anywhere. And if you don't know C/C++ well, how do you know you don't like them?
How realistic would be a text editor like Geany written in Julia? Did you ever think about such a thing?
I guess its possible, but not the focus of Julia, notice it uses things like Juypter and Atom, not its own editor.
And if you don't know C/C++ well, how do you know you don't like them?
I took an intro- course in university, no doubt about that. Thanks for the answers!
But most of Geany use-cases are about coding, where line breaking is not wanted, so thats probably why its never been done.
I don't buy this argument at all because while coding you usually do not cross the line limit but reformat the code before getting there - and if you don't the autobreaking might be a well-deserved reminder that you actually should do that. The only reason why you would cross it is writing long comments and that's exactly where auto line breaking (with auto-continuing comments) would beneficial to many users.
@stefanct not sure why your comment, if you work on a project that has such strict line length limits then that should encourage you to contribute an option to set breaking on newly opened files.
But most of Geany use-cases are about coding, where line breaking is not wanted, so thats probably why its never been done.
This is not saying it should not be done, but possibly why others who:
1. do not have such strict limits, and/or 2. use languages where random line breaks may be significant, and/or 3. just find it annoying, and/or 4. are happy with the indication from the long line to prompt them to make a line break at an appropriate place in accordance with their projects formatting rules, not randomly
have not done it. And it is still not done two years later.
github-comments@lists.geany.org